Skip to content

Commit

Permalink
fix: add Mandala + Karura + Acala as exceptions for gas calculation d…
Browse files Browse the repository at this point in the history
…uring deployment (foundry-rs#8625)

* add Mandala & Karura & Acala

* update alloy-chains

* fix
  • Loading branch information
zjb0807 authored Aug 8, 2024
1 parent 5a31769 commit 960878a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions crates/cli/src/utils/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,18 @@ pub fn has_different_gas_calc(chain_id: u64) -> bool {
if let Some(chain) = Chain::from(chain_id).named() {
return matches!(
chain,
NamedChain::Arbitrum |
NamedChain::Acala |
NamedChain::AcalaMandalaTestnet |
NamedChain::AcalaTestnet |
NamedChain::Arbitrum |
NamedChain::ArbitrumGoerli |
NamedChain::ArbitrumSepolia |
NamedChain::ArbitrumTestnet |
NamedChain::Karura |
NamedChain::KaruraTestnet |
NamedChain::Mantle |
NamedChain::MantleTestnet |
NamedChain::MantleSepolia |
NamedChain::MantleTestnet |
NamedChain::Moonbase |
NamedChain::Moonbeam |
NamedChain::MoonbeamDev |
Expand Down

0 comments on commit 960878a

Please sign in to comment.