From 47e17d1a61754f94ce9b730b1262f5a25edc9f14 Mon Sep 17 00:00:00 2001 From: Ignacio Hagopian Date: Thu, 24 Oct 2024 12:18:32 -0300 Subject: [PATCH] fix compilation Signed-off-by: Ignacio Hagopian --- core/chain_makers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chain_makers.go b/core/chain_makers.go index 9fe06ed8c994..07a600ef735e 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -432,7 +432,7 @@ func GenerateVerkleChain(config *params.ChainConfig, parent *types.Block, engine proots = append(proots, parent.Root()) // quick check that we are self-consistent - err = trie.DeserializeAndVerifyVerkleProof(block.ExecutionWitness().VerkleProof, block.ExecutionWitness().ParentStateRoot[:], block.Root().Bytes(), block.ExecutionWitness().StateDiff) + err = verkle.Verify(block.ExecutionWitness().VerkleProof, block.ExecutionWitness().ParentStateRoot[:], block.Root().Bytes(), block.ExecutionWitness().StateDiff) if err != nil { panic(err) }