Skip to content

Commit

Permalink
Fix udeps
Browse files Browse the repository at this point in the history
  • Loading branch information
yaziciahmet committed Aug 13, 2024
1 parent f814e12 commit 91a0355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/evm/src/evm/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ impl<SPEC: Spec, EXT: CitreaExternalExt, DB: Database> CitreaHandler<SPEC, EXT,
.inner
.journaled_state
.load_account(tx_caller, &mut context.evm.inner.db)?;
// Update nonce and mark account touched
caller_account.info.nonce = caller_account.info.nonce.saturating_add(1);
// Updated nonce, must mark touched
caller_account.mark_touch();
}
return Ok(());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ default = ["native"]
native = ["jsonrpsee"]

[package.metadata.cargo-udeps.ignore]
normal = ["borsh"]
normal = ["anyhow", "borsh"]
development = ["clap", "sov-modules-core", "sov-modules-api", "sov-state", "sov-rollup-interface"]

0 comments on commit 91a0355

Please sign in to comment.