Skip to content

Commit

Permalink
fix: test contract
Browse files Browse the repository at this point in the history
  • Loading branch information
gzeoneth committed Oct 24, 2023
1 parent e9cb9fa commit 0c1b1fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test-helpers/OutboxWithoutOptTester.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ contract OutboxWithoutOptTester is DelegateCallAware, IOutbox {
rollup = address(_bridge.rollup());
}

function postUpgradeInit() external {}

function updateSendRoot(bytes32 root, bytes32 l2BlockHash) external override {
//if (msg.sender != rollup) revert NotRollup(msg.sender, rollup); //test only!!!
roots[root] = l2BlockHash;
Expand Down

0 comments on commit 0c1b1fc

Please sign in to comment.