Skip to content

Commit bd16b1f

Browse files
author
Rahul Maganti
committed
evm: revert on specific error
1 parent 60a25b1 commit bd16b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evm/test/IntegrationRelayer.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ contract TestEndToEndRelayer is
209209

210210
// config not set correctly
211211
vm.startPrank(userA);
212-
vm.expectRevert();
212+
vm.expectRevert(abi.encodeWithSignature("InvalidRelayingConfig(uint16)", chainId2));
213213
nttManagerChain1.transfer{value: priceQuote1}(
214214
sendingAmount, chainId2, bytes32(uint256(uint160(userB))), false, instructions
215215
);

0 commit comments

Comments
 (0)