diff --git a/Cargo.lock b/Cargo.lock index a8db161acaae..d953f3e8cb7b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1755,7 +1755,7 @@ dependencies = [ [[package]] name = "ethers" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "ethers-addressbook", "ethers-contract", @@ -1770,7 +1770,7 @@ dependencies = [ [[package]] name = "ethers-addressbook" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "ethers-core", "once_cell", @@ -1781,7 +1781,7 @@ dependencies = [ [[package]] name = "ethers-contract" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "ethers-contract-abigen", "ethers-contract-derive", @@ -1800,7 +1800,7 @@ dependencies = [ [[package]] name = "ethers-contract-abigen" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "Inflector", "dunce", @@ -1823,7 +1823,7 @@ dependencies = [ [[package]] name = "ethers-contract-derive" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "Inflector", "ethers-contract-abigen", @@ -1838,7 +1838,7 @@ dependencies = [ [[package]] name = "ethers-core" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "arrayvec", "bytes", @@ -1867,7 +1867,7 @@ dependencies = [ [[package]] name = "ethers-etherscan" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "ethers-core", "ethers-solc", @@ -1882,7 +1882,7 @@ dependencies = [ [[package]] name = "ethers-middleware" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "async-trait", "auto_impl", @@ -1908,8 +1908,9 @@ dependencies = [ [[package]] name = "ethers-providers" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ + "anyhow", "async-trait", "auto_impl", "base64 0.21.2", @@ -1927,6 +1928,8 @@ dependencies = [ "once_cell", "pin-project", "reqwest", + "reqwest-chain", + "reqwest-middleware", "serde", "serde_json", "thiserror", @@ -1945,7 +1948,7 @@ dependencies = [ [[package]] name = "ethers-signers" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "async-trait", "coins-bip32", @@ -1972,7 +1975,7 @@ dependencies = [ [[package]] name = "ethers-solc" version = "2.0.8" -source = "git+https://github.com/polytope-labs/ethers-rs?rev=f8ab49e1ca2d68e8bf1113e705ade38e5f30b850#f8ab49e1ca2d68e8bf1113e705ade38e5f30b850" +source = "git+https://github.com/polytope-labs/ethers-rs?rev=9f77fc1a07ea90059b4d53eeffda569bb126564e#9f77fc1a07ea90059b4d53eeffda569bb126564e" dependencies = [ "cfg-if", "dirs 5.0.1", @@ -5115,6 +5118,7 @@ dependencies = [ "js-sys", "log", "mime", + "mime_guess", "native-tls", "once_cell", "percent-encoding", @@ -5137,6 +5141,34 @@ dependencies = [ "winreg", ] +[[package]] +name = "reqwest-chain" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55a50111a567f815937850003bf942f7f8d44a2a6fe0889f9f94f83f005f4e38" +dependencies = [ + "anyhow", + "async-trait", + "reqwest", + "reqwest-middleware", + "task-local-extensions", +] + +[[package]] +name = "reqwest-middleware" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a735987236a8e238bf0296c7e351b999c188ccc11477f311b82b55c93984216" +dependencies = [ + "anyhow", + "async-trait", + "http", + "reqwest", + "serde", + "task-local-extensions", + "thiserror", +] + [[package]] name = "revm" version = "3.3.0" @@ -6191,6 +6223,15 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" +[[package]] +name = "task-local-extensions" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba323866e5d033818e3240feeb9f7db2c4296674e4d9e16b97b7bf8f490434e8" +dependencies = [ + "pin-utils", +] + [[package]] name = "tempfile" version = "3.6.0" diff --git a/Cargo.toml b/Cargo.toml index 95646f0dfc6f..2e9f9cd9d6b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,16 +61,16 @@ panic = "abort" codegen-units = 1 [workspace.dependencies] -ethers = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } -ethers-addressbook = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } -ethers-core = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } -ethers-contract = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } -ethers-contract-abigen = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } -ethers-providers = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } -ethers-signers = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } -ethers-middleware = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } -ethers-etherscan = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } -ethers-solc = { git = "https://github.com/polytope-labs/ethers-rs", rev = "f8ab49e1ca2d68e8bf1113e705ade38e5f30b850", default-features = false } +ethers = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } +ethers-addressbook = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } +ethers-core = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } +ethers-contract = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } +ethers-contract-abigen = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } +ethers-providers = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } +ethers-signers = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } +ethers-middleware = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } +ethers-etherscan = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } +ethers-solc = { git = "https://github.com/polytope-labs/ethers-rs", rev = "9f77fc1a07ea90059b4d53eeffda569bb126564e", default-features = false } solang-parser = "=0.3.1" revm = { git = "https://github.com/bluealloy/revm/", rev = "88337924f4d16ed1f5e4cde12a03d0cb755cd658" }