evmcore/chain_makers.go
Function GenerateChain
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func GenerateChain(config *params.ChainConfig, parent *EvmBlock, db ethdb.Database, n int, gen func(int, *BlockGen)) ([]*EvmBlock, []types.Receipts, DummyChain) {