Skip to content

Commit

Permalink
refactor nonce test for codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
parodime committed Oct 2, 2024
1 parent 6a913eb commit 15ca0de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/contracts-rfq/test/FastBridgeV2.Src.Base.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ abstract contract FastBridgeV2SrcBaseTest is FastBridgeV2Test {
}

function test_nonce() public view {
uint256 result = fastBridge.nonce();
// deprecated. should always return zero in FbV2.
assertEq(fastBridge.nonce(), 0);
assertEq(result, 0);
}

function assertEq(FastBridgeV2.BridgeStatus a, FastBridgeV2.BridgeStatus b) public pure {
Expand Down

0 comments on commit 15ca0de

Please sign in to comment.