Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Nov 1, 2023
1 parent 83353a6 commit e692dbc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contracts/test/utils/MulticallTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ contract MulticallTest is Multicall {
event Function1Called(uint256 nonce_);
event Function2Called(uint256 nonce_);

error Invalid();

function function1() external returns (uint256) {
uint256 nonce_ = nonce++;
emit Function1Called(nonce_);
Expand All @@ -25,7 +23,8 @@ contract MulticallTest is Multicall {
}

function function3() external pure {
revert Invalid();
// solhint-disable-next-line reason-string,custom-errors
revert();
}

function multicallTest(bytes[] calldata data) external {
Expand Down

0 comments on commit e692dbc

Please sign in to comment.