From fb22d1880927680f3a36b60601af8af24bef52a3 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:27:40 +0100 Subject: [PATCH] fix: unpatch chains --- Cargo.lock | 5 +++-- Cargo.toml | 4 +--- testdata/repros/Issue4640.t.sol | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a3a5b14d20b1..f28c8e84788a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -78,8 +78,9 @@ checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "alloy-chains" -version = "0.1.1" -source = "git+https://github.com/alloy-rs/chains/?branch=dani/fix-serde#bd022b904897cf71333db9e96e73f6abb363688e" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c18b3ecf1746f0eac255374bdf899dd217dd1b301e4a3f146592234243e1bc66" dependencies = [ "num_enum", "serde", diff --git a/Cargo.toml b/Cargo.toml index 35f4ad47fd30..da9d691c80c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -158,7 +158,7 @@ alloy-json-abi = "0.4.1" alloy-sol-types = "0.4.1" syn-solidity = "0.4.1" -alloy-chains = "0.1.0" +alloy-chains = "0.1.2" alloy-rlp = "0.3.3" solang-parser = "=0.3.3" @@ -201,8 +201,6 @@ ethers-middleware = { git = "https://github.com/gakonst/ethers-rs", rev = "0543e ethers-etherscan = { git = "https://github.com/gakonst/ethers-rs", rev = "0543e1ccbaab70996ab21b5ceeff2fe599728b74" } ethers-solc = { git = "https://github.com/gakonst/ethers-rs", rev = "0543e1ccbaab70996ab21b5ceeff2fe599728b74" } -alloy-chains = { git = "https://github.com/alloy-rs/chains/", branch = "dani/fix-serde" } - alloy-dyn-abi = { git = "https://github.com/alloy-rs/core/" } alloy-primitives = { git = "https://github.com/alloy-rs/core/" } alloy-json-abi = { git = "https://github.com/alloy-rs/core/" } diff --git a/testdata/repros/Issue4640.t.sol b/testdata/repros/Issue4640.t.sol index 00576122281b..e04dd55a34fc 100644 --- a/testdata/repros/Issue4640.t.sol +++ b/testdata/repros/Issue4640.t.sol @@ -10,7 +10,7 @@ contract Issue4640Test is DSTest { function testArbitrumBlockNumber() public { // - vm.createSelectFork("https://rpc.ankr.com/arbitrum", 75219831); + vm.createSelectFork("https://arb-mainnet.alchemyapi.io/v2/Lc7oIGYeL_QvInzI0Wiu_pOZZDEKBrdf", 75219831); // L1 block number assertEq(block.number, 16939475); }