From 3ab51b21cff3703b0b2e61670a4028f37d6075ea Mon Sep 17 00:00:00 2001 From: glihm Date: Thu, 9 Jan 2025 01:07:27 -0600 Subject: [PATCH] tests: fix nonce since it starts to 0 now --- tests/test_appchain.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_appchain.cairo b/tests/test_appchain.cairo index 9d86212..a904efc 100644 --- a/tests/test_appchain.cairo +++ b/tests/test_appchain.cairo @@ -180,7 +180,7 @@ fn update_state_ok() { // being sealed, it must be sent first. // The nonce must be adjusted to ensure the correct message to be sent. snf::store( - appchain.contract_address, selector!("sn_to_appc_nonce"), array![1629170 - 1].span() + appchain.contract_address, selector!("sn_to_appc_nonce"), array![1629170].span() ); snf::start_cheat_caller_address(appchain.contract_address, contract_sn);