diff --git a/Cargo.lock b/Cargo.lock index b25c090ef51c7..6a8103fdeb607 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -67,9 +67,9 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "alloy-chains" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6068f356948cd84b5ad9ac30c50478e433847f14a50714d2b68f15d052724049" +checksum = "bfaa9ea039a6f9304b4a593d780b1f23e1ae183acdee938b11b38795acacc9f1" dependencies = [ "alloy-primitives", "num_enum", diff --git a/crates/cli/src/utils/cmd.rs b/crates/cli/src/utils/cmd.rs index ab61f0f6cc498..6f8be048e6393 100644 --- a/crates/cli/src/utils/cmd.rs +++ b/crates/cli/src/utils/cmd.rs @@ -169,12 +169,13 @@ pub fn has_different_gas_calc(chain_id: u64) -> bool { | NamedChain::KaruraTestnet | NamedChain::Mantle | NamedChain::MantleSepolia + | NamedChain::Metis | NamedChain::MonadTestnet | NamedChain::Moonbase | NamedChain::Moonbeam | NamedChain::MoonbeamDev | NamedChain::Moonriver - | NamedChain::Metis + | NamedChain::PolkadotTestnet ); } false diff --git a/crates/test-utils/src/rpc.rs b/crates/test-utils/src/rpc.rs index 336ea499fff41..9b53f9a4d69f8 100644 --- a/crates/test-utils/src/rpc.rs +++ b/crates/test-utils/src/rpc.rs @@ -108,6 +108,10 @@ pub fn rpc_endpoints() -> RpcEndpoints { ("bsc", RpcEndpointUrl::Url(next_rpc_endpoint(NamedChain::BinanceSmartChain))), ("avaxTestnet", RpcEndpointUrl::Url("https://api.avax-test.network/ext/bc/C/rpc".into())), ("moonbeam", RpcEndpointUrl::Url("https://moonbeam-rpc.publicnode.com".into())), + ( + "polkadotTestnet", + RpcEndpointUrl::Url("https://services.polkadothub-rpc.com/testnet".into()), + ), ("rpcEnvAlias", RpcEndpointUrl::Env("${RPC_ENV_ALIAS}".into())), ]) } diff --git a/testdata/foundry.toml b/testdata/foundry.toml index 0fd8135bbcd22..adb98908a611e 100644 --- a/testdata/foundry.toml +++ b/testdata/foundry.toml @@ -57,4 +57,5 @@ polygon = "${RPC_POLYGON}" bsc = "${RPC_BSC}" avaxTestnet = "https://api.avax-test.network/ext/bc/C/rpc" moonbeam = "https://moonbeam-rpc.publicnode.com" +polkadotTestnet = "https://services.polkadothub-rpc.com/testnet" rpcEnvAlias = "${RPC_ENV_ALIAS}"