diff --git a/src/state/Deserialize.sol b/src/state/Deserialize.sol index 71c7e22..04596a4 100644 --- a/src/state/Deserialize.sol +++ b/src/state/Deserialize.sol @@ -232,20 +232,17 @@ library Deserialize { ModuleMemory memory mem; bytes32 tablesMerkleRoot; bytes32 functionsMerkleRoot; - bytes32 wasmHash; uint32 internalsOffset; (globalsMerkleRoot, offset) = b32(proof, offset); (mem, offset) = moduleMemory(proof, offset); (tablesMerkleRoot, offset) = b32(proof, offset); (functionsMerkleRoot, offset) = b32(proof, offset); - (wasmHash, offset) = b32(proof, offset); (internalsOffset, offset) = u32(proof, offset); mod = Module({ globalsMerkleRoot: globalsMerkleRoot, moduleMemory: mem, tablesMerkleRoot: tablesMerkleRoot, functionsMerkleRoot: functionsMerkleRoot, - wasmHash: wasmHash, internalsOffset: internalsOffset }); } diff --git a/src/state/Module.sol b/src/state/Module.sol index 76b382d..dc4776c 100644 --- a/src/state/Module.sol +++ b/src/state/Module.sol @@ -11,7 +11,6 @@ struct Module { ModuleMemory moduleMemory; bytes32 tablesMerkleRoot; bytes32 functionsMerkleRoot; - bytes32 wasmHash; uint32 internalsOffset; } @@ -27,7 +26,6 @@ library ModuleLib { mod.moduleMemory.hash(), mod.tablesMerkleRoot, mod.functionsMerkleRoot, - mod.wasmHash, mod.internalsOffset ) );