fix broken graphql_sim

This commit is contained in:
jangko 2022-03-08 21:43:20 +07:00
parent a330f0a4ef
commit 25e7debf5e
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 2 additions and 1 deletions

View File

@ -76,9 +76,10 @@ proc main() =
conf.networkId,
conf.networkParams
)
txPool = TxPoolRef.new(chainDB, conf.engineSigner)
initializeEmptyDb(chainDB)
let txPool = TxPoolRef.new(chainDB, conf.engineSigner)
discard importRlpBlock(blocksFile, chainDB)
let ctx = setupGraphqlContext(chainDB, ethNode, txPool)