Commit 323e688d authored by AgusDuha's avatar AgusDuha Committed by GitHub

test: fix standard bridge interop tests (#11668)

* test: fix L2 standard bridge interop tests

* test: mock factory implementation instead of proxy
parent c7b91ab2
...@@ -29,6 +29,10 @@ contract L2StandardBridgeInterop_Test is Bridge_Initializer { ...@@ -29,6 +29,10 @@ contract L2StandardBridgeInterop_Test is Bridge_Initializer {
function setUp() public virtual override { function setUp() public virtual override {
super.enableInterop(); super.enableInterop();
super.setUp(); super.setUp();
// TODO: Remove it once the `OptimismSuperchainERC20Factory` is added to predeploys.
// Ensure OPTIMISM_SUPERCHAIN_ERC20_FACTORY's code is not empty.
vm.etch(Predeploys.predeployToCodeNamespace(Predeploys.OPTIMISM_SUPERCHAIN_ERC20_FACTORY), address(this).code);
} }
/// @notice Helper function to setup a mock and expect a call to it. /// @notice Helper function to setup a mock and expect a call to it.
......
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