Commit f09b8983 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

contracts-bedrock: fix invariant flakes (#9090)

Replaces https://github.com/ethereum-optimism/optimism/pull/9089

We do not want to call the `FFIInterface` or other test contracts as part of the
invariant tests because it will create malformed inputs and cause
unrelated invariant tests to fail.
parent 61ac9ada
......@@ -26,6 +26,11 @@ contract CommonTest is Test, Setup, Events {
vm.etch(address(ffi), vm.getDeployedCode("FFIInterface.sol:FFIInterface"));
vm.label(address(ffi), "FFIInterface");
// Exclude contracts for the invariant tests
excludeContract(address(ffi));
excludeContract(address(deploy));
excludeContract(address(deploy.cfg()));
// Make sure the base fee is non zero
vm.fee(1 gwei);
......
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