Skip to content

Commit

Permalink
fix(toolbox): Temporary disable fast mode for deploying l1 contracts … (
Browse files Browse the repository at this point in the history
#2011)

…for reth

## What ❔

<!-- What are the changes this PR brings about? -->
<!-- Example: This PR adds a PR template to the repo. -->
<!-- (For bigger PRs adding more context is appreciated) -->

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.
- [ ] Spellcheck has been run via `zk spellcheck`.

Signed-off-by: Danil <[email protected]>
  • Loading branch information
Deniallugo authored May 22, 2024
1 parent b5870a0 commit 2a1d37b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions zk_toolbox/crates/zk_inception/src/commands/ecosystem/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,12 @@ fn deploy_ecosystem_inner(
.script(&DEPLOY_ECOSYSTEM.script(), forge_args.clone())
.with_ffi()
.with_rpc_url(config.l1_rpc_url.clone())
.with_broadcast()
.with_slow();
.with_broadcast();

if config.l1_network == L1Network::Localhost {
// It's a kludge for reth, just because it doesn't behave properly with large amount of txs
forge = forge.with_slow();
}

forge = fill_forge_private_key(forge, wallets_config.deployer_private_key())?;

Expand Down

0 comments on commit 2a1d37b

Please sign in to comment.