Skip to content

Commit

Permalink
improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrigada committed Nov 20, 2024
1 parent 2ac9f21 commit 0853aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/forge/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl ContractRunner<'_> {

// Test contract has already been deployed so we can migrate the database to zkEVM storage
// in the next runner execution. Additionally we can allow persisting the next nonce update
// to simulate EVM behavior where only the test contract deployment increments the
// to simulate EVM behavior where only the tx that deploys the test contract increments the
// nonce.
if let Some(cheatcodes) = &mut self.executor.inspector.cheatcodes {
if let Some(zk_startup_migration) = &mut cheatcodes.zk_startup_migration {
Expand Down
2 changes: 1 addition & 1 deletion crates/script/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ impl ScriptRunner {

// Script has already been deployed so we can migrate the database to zkEVM storage
// in the next runner execution. Additionally we can allow persisting the next nonce update
// to simulate EVM behavior where only the test contract deployment increments the
// to simulate EVM behavior where only the tx that deploys the test contract increments the
// nonce.
if let Some(cheatcodes) = &mut self.executor.inspector.cheatcodes {
if let Some(zk_startup_migration) = &mut cheatcodes.zk_startup_migration {
Expand Down

0 comments on commit 0853aa0

Please sign in to comment.