From 2f1a4386276c9a7e1916729cf648134f2b0c1734 Mon Sep 17 00:00:00 2001 From: Gabriel Rocheleau Date: Thu, 7 Nov 2024 12:58:39 -0700 Subject: [PATCH] vm: type issue --- packages/vm/test/api/runBlock.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vm/test/api/runBlock.spec.ts b/packages/vm/test/api/runBlock.spec.ts index e4b285c3ff..d631bc989e 100644 --- a/packages/vm/test/api/runBlock.spec.ts +++ b/packages/vm/test/api/runBlock.spec.ts @@ -698,6 +698,7 @@ describe.skip('run a verkle block', () => { const common = new Common({ chain: Mainnet, + customCrypto: { verkleCrypto }, hardfork: Hardfork.Shanghai, eips: [2935, 3607, 6800], }) @@ -708,7 +709,7 @@ describe.skip('run a verkle block', () => { const blockRlp = hexToBytes(verkleJSON.blocks[0].rlp as PrefixedHexString) const block = createBlockFromRLP(blockRlp, { common }) - const sm = new StatefulVerkleStateManager({ verkleCrypto }) + const sm = new StatefulVerkleStateManager({ common }) await sm['_trie'].createRootNode() const blockchain = await createBlockchain({ common }) const vm = await setupVM({ common, stateManager: sm, blockchain, genesisBlock })