Skip to content

Commit

Permalink
tests: fix nonce since it starts to 0 now
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Jan 9, 2025
1 parent f8bf5e5 commit 3ab51b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_appchain.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3ab51b2

Please sign in to comment.