Skip to content

This repository implements a simple fork test on Optimism that proves that the EVM behaviour of the forked chain is not identically replicated locally.

License

Notifications You must be signed in to change notification settings

pcaversaccio/fork-testing-evm-compatibility

Repository files navigation

Fork Testing – EVM Compatibility

🕵️‍♂️ Test smart contracts License: WTFPL

This repository implements a simple fork test on Optimism that proves that the EVM behaviour of the forked chain is not identically replicated locally. This can lead to problems due to new opcodes such as PUSH0 which would lead to untested behaviour as the EVM behaviour is not correctly replicated as part of the test suite. The underlying issue is that fork tests are local simulations with accounts, states, and storage slot information fetched from the RPC. This means that one does not get the full behaviour of the chain and therefore cannot identify specific EVM difference problems.

Test

Simply invoke:

forge test

PUSH0-Rollout

image

About

This repository implements a simple fork test on Optimism that proves that the EVM behaviour of the forked chain is not identically replicated locally.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published