ethereum-optimism / optimism

Optimism is Ethereum, scaled.
https://optimism.io
MIT License
5.65k stars 3.28k forks source link

cannon: Consistent state serialization #12151

Closed Inphi closed 1 month ago

Inphi commented 1 month ago

Ensure that a given version of cannon can generate prestates consistently.

Also added a make file target to let us easily assert that the prestate is generated consistently and assert that the cannon behavior doesn't change. After this change, we can utilize the diff-singlethreaded-cannon makefiel target to flag changes to cannon in CI.