diff --git a/core/chain_makers.go b/core/chain_makers.go index f9d37f64da..586979e772 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -540,10 +540,8 @@ func GenerateVerkleChainWithGenesis(genesis *Genesis, engine consensus.Engine, n db := rawdb.NewMemoryDatabase() cacheConfig := DefaultCacheConfigWithScheme(rawdb.PathScheme) cacheConfig.SnapshotLimit = 0 - triedb := triedb.NewDatabase(db, cacheConfig.triedbConfig(true)) defer triedb.Close() - genesisBlock, err := genesis.Commit(db, triedb) if err != nil { panic(err) diff --git a/core/genesis.go b/core/genesis.go index 5cac0289fc..eff92084eb 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -588,7 +588,6 @@ func DeveloperGenesisBlock(gasLimit uint64, faucet *common.Address) *Genesis { common.BytesToAddress([]byte{7}): {Balance: big.NewInt(1)}, // ECScalarMul common.BytesToAddress([]byte{8}): {Balance: big.NewInt(1)}, // ECPairing common.BytesToAddress([]byte{9}): {Balance: big.NewInt(1)}, // BLAKE2b - // Pre-deploy system contracts params.BeaconRootsAddress: {Nonce: 1, Code: params.BeaconRootsCode, Balance: common.Big0}, params.HistoryStorageAddress: {Nonce: 1, Code: params.HistoryStorageCode, Balance: common.Big0},