diff --git a/crates/forge/tests/fixtures/zk/ScriptSetup.s.sol b/crates/forge/tests/fixtures/zk/ScriptSetup.s.sol index c3dec7933..b1b52aee1 100644 --- a/crates/forge/tests/fixtures/zk/ScriptSetup.s.sol +++ b/crates/forge/tests/fixtures/zk/ScriptSetup.s.sol @@ -33,6 +33,8 @@ contract ScriptSetupNonce is Script { // Deploy checker and verify nonce NonceChecker checker = new NonceChecker(); + // We expect the nonce to be incremented by 1 because the check is done in an external + // call checker.assertNonce(vm.getNonce(address(tx.origin)) + 1); vm.stopBroadcast(); }