Skip to content

Commit 2a20afe

Browse files
authored
Fix polkadotskip test (#502)
1 parent 4ad768f commit 2a20afe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

testdata/default/revive/PolkadotSkip.t.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ contract PolkadotSkipTest is DSTest {
5858
}
5959

6060
function testreviveWhenUseCheatcodeWithoutSkip() external {
61-
uint256 nonceBefore = vm.getNonce(address(helper));
61+
vm.expectRevert("Cheatcodes are not available in polkadot runtime.");
6262
helper.exec();
63-
assertEq(vm.getNonce(address(helper)), nonceBefore + 1);
6463
}
6564
}

0 commit comments

Comments
 (0)