Skip to content

Commit feea345

Browse files
Rahul MagantiRahulMaganti47
Rahul Maganti
authored andcommitted
evm: revert on specific error
1 parent a1a73e5 commit feea345

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
@@ -213,7 +213,7 @@ contract TestEndToEndRelayer is
213213

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

0 commit comments

Comments
 (0)