Skip to content

Commit be350a6

Browse files
authored
Add polkadot chains (#529)
1 parent 0f96f32 commit be350a6

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

Cargo.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cli/src/utils/cmd.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ pub fn has_different_gas_calc(chain_id: u64) -> bool {
183183
| NamedChain::MoonbeamDev
184184
| NamedChain::Moonriver
185185
| NamedChain::PolkadotTestnet
186+
| NamedChain::Kusama
187+
| NamedChain::Polkadot
186188
);
187189
}
188190
false

crates/forge/tests/it/test_helpers.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,9 @@ pub fn rpc_endpoints() -> RpcEndpoints {
520520
("bsc", RpcEndpointUrl::Url(next_rpc_endpoint(NamedChain::BinanceSmartChain))),
521521
("avaxTestnet", RpcEndpointUrl::Url("https://api.avax-test.network/ext/bc/C/rpc".into())),
522522
("moonbeam", RpcEndpointUrl::Url("https://moonbeam-rpc.publicnode.com".into())),
523+
("polkadotTestnet", RpcEndpointUrl::Url("https://eth-rpc-testnet.polkadot.io".into())),
524+
("kusama", RpcEndpointUrl::Url("https://eth-rpc-kusama.polkadot.io".into())),
525+
("polkadot", RpcEndpointUrl::Url("https://eth-rpc.polkadot.io".into())),
523526
("rpcEnvAlias", RpcEndpointUrl::Env("${RPC_ENV_ALIAS}".into())),
524527
])
525528
}

0 commit comments

Comments
 (0)