From 4d1179e377b1d208dbc0a489c2337aebcca3ca2b Mon Sep 17 00:00:00 2001 From: Sebastian Miasojed Date: Tue, 20 Jan 2026 22:18:02 +0100 Subject: [PATCH] Fix polkadotskip test --- testdata/default/revive/PolkadotSkip.t.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testdata/default/revive/PolkadotSkip.t.sol b/testdata/default/revive/PolkadotSkip.t.sol index 9c3be3447c1c4..abd2abb75a551 100644 --- a/testdata/default/revive/PolkadotSkip.t.sol +++ b/testdata/default/revive/PolkadotSkip.t.sol @@ -58,8 +58,7 @@ contract PolkadotSkipTest is DSTest { } function testreviveWhenUseCheatcodeWithoutSkip() external { - uint256 nonceBefore = vm.getNonce(address(helper)); + vm.expectRevert("Cheatcodes are not available in polkadot runtime."); helper.exec(); - assertEq(vm.getNonce(address(helper)), nonceBefore + 1); } }