Commit ff64e374 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge branch 'develop' into refcell/updatebase/fixci

parents f2a154ac 21d19673
...@@ -266,7 +266,7 @@ func main() { ...@@ -266,7 +266,7 @@ func main() {
checkErr(err, "Error creating secure trie") checkErr(err, "Error creating secure trie")
// Put a "true" bool in the storage slot // Put a "true" bool in the storage slot
state.Update(hash.Bytes(), []byte{0x01}) state.UpdateStorage(common.Address{}, hash.Bytes(), []byte{0x01})
// Create a secure trie for the world state // Create a secure trie for the world state
world, err := trie.NewStateTrie( world, err := trie.NewStateTrie(
...@@ -283,7 +283,7 @@ func main() { ...@@ -283,7 +283,7 @@ func main() {
} }
writer := new(bytes.Buffer) writer := new(bytes.Buffer)
checkErr(account.EncodeRLP(writer), "Error encoding account") checkErr(account.EncodeRLP(writer), "Error encoding account")
world.Update(predeploys.L2ToL1MessagePasserAddr.Bytes(), writer.Bytes()) world.UpdateStorage(common.Address{}, predeploys.L2ToL1MessagePasserAddr.Bytes(), writer.Bytes())
// Get the proof // Get the proof
var proof proofList var proof proofList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment