Skip to content

Commit

Permalink
fix zkstack
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Dec 20, 2024
1 parent cf3dc83 commit 133709a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,13 @@ pub async fn run(args: MigrateFromGatewayArgs, shell: &Shell) -> anyhow::Result<
.as_mut()
.context("sender")?
.wait_confirmations = Some(0);
// Undoing what was changed during migration to gateway.
// TODO(EVM-925): maybe remove this logic.
eth_config
.sender
.as_mut()
.expect("sender")
.max_aggregated_tx_gas = 15000000;
eth_config
.sender
.as_mut()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,13 @@ pub async fn run(args: MigrateToGatewayArgs, shell: &Shell) -> anyhow::Result<()
.as_mut()
.context("sender")?
.wait_confirmations = Some(0);
// TODO(EVM-925): the number below may not always work, especially for large prices on
// top of Gateway. This field would have to be either not used on GW or transformed into u64.
eth_config
.sender
.as_mut()
.expect("sender")
.max_aggregated_tx_gas = 4294967295;
eth_config
.sender
.as_mut()
Expand Down

0 comments on commit 133709a

Please sign in to comment.