diff --git a/Cargo.lock b/Cargo.lock index 427d1f4007ec4..b81b1790b9c75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -79,9 +79,9 @@ dependencies = [ [[package]] name = "alloy-consensus" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad704069c12f68d0c742d0cad7e0a03882b42767350584627fbf8a47b1bf1846" +checksum = "8b6440213a22df93a87ed512d2f668e7dc1d62a05642d107f82d61edc9e12370" dependencies = [ "alloy-eips", "alloy-primitives", @@ -106,9 +106,9 @@ dependencies = [ [[package]] name = "alloy-consensus-any" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc374f640a5062224d7708402728e3d6879a514ba10f377da62e7dfb14c673e6" +checksum = "15d0bea09287942405c4f9d2a4f22d1e07611c2dbd9d5bf94b75366340f9e6e0" dependencies = [ "alloy-consensus", "alloy-eips", @@ -120,9 +120,9 @@ dependencies = [ [[package]] name = "alloy-contract" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c493b2812943f7b58191063a8d13ea97c76099900869c08231e8eba3bf2f92" +checksum = "d69af404f1d00ddb42f2419788fa87746a4cd13bab271916d7726fda6c792d94" dependencies = [ "alloy-consensus", "alloy-dyn-abi", @@ -187,9 +187,9 @@ dependencies = [ [[package]] name = "alloy-eip5792" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37aa145e9d61cda33702d8fbe349f25ba89604c98c4e9c04a3f69a790d92c0fa" +checksum = "b0bf2960c5bca11767dbee89801053e2ceb3bb32162073bd2e69d77760611d9c" dependencies = [ "alloy-primitives", "alloy-serde", @@ -213,9 +213,9 @@ dependencies = [ [[package]] name = "alloy-eips" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e867b5fd52ed0372a95016f3a37cbff95a9d5409230fbaef2d8ea00e8618098" +checksum = "4bd2c7ae05abcab4483ce821f12f285e01c0b33804e6883dd9ca1569a87ee2be" dependencies = [ "alloy-eip2124", "alloy-eip2930", @@ -238,9 +238,9 @@ dependencies = [ [[package]] name = "alloy-ens" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03947c30835388cd0e18d52e5bd1563ac3a2d784bf0801809bf693542ab68479" +checksum = "ff97375b7620ef8880f9db29efe7cd65a975ff8d1d0b8d3d60d35c621fd49558" dependencies = [ "alloy-contract", "alloy-primitives", @@ -274,9 +274,9 @@ dependencies = [ [[package]] name = "alloy-genesis" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b90be17e9760a6ba6d13cebdb049cea405ebc8bf57d90664ed708cc5bc348342" +checksum = "fc47eaae86488b07ea8e20236184944072a78784a1f4993f8ec17b3aa5d08c21" dependencies = [ "alloy-eips", "alloy-primitives", @@ -312,9 +312,9 @@ dependencies = [ [[package]] name = "alloy-json-rpc" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcab4c51fb1273e3b0f59078e0cdf8aa99f697925b09f0d2055c18be46b4d48c" +checksum = "003f46c54f22854a32b9cc7972660a476968008ad505427eabab49225309ec40" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -327,9 +327,9 @@ dependencies = [ [[package]] name = "alloy-network" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "196d7fd3f5d414f7bbd5886a628b7c42bd98d1b126f9a7cff69dbfd72007b39c" +checksum = "4f4029954d9406a40979f3a3b46950928a0fdcfe3ea8a9b0c17490d57e8aa0e3" dependencies = [ "alloy-consensus", "alloy-consensus-any", @@ -353,9 +353,9 @@ dependencies = [ [[package]] name = "alloy-network-primitives" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d3ae2777e900a7a47ad9e3b8ab58eff3d93628265e73bbdee09acf90bf68f75" +checksum = "7805124ad69e57bbae7731c9c344571700b2a18d351bda9e0eba521c991d1bcb" dependencies = [ "alloy-consensus", "alloy-eips", @@ -426,9 +426,9 @@ dependencies = [ [[package]] name = "alloy-provider" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f9bf40c9b2a90c7677f9c39bccd9f06af457f35362439c0497a706f16557703" +checksum = "d369e12c92870d069e0c9dc5350377067af8a056e29e3badf8446099d7e00889" dependencies = [ "alloy-chains", "alloy-consensus", @@ -471,9 +471,9 @@ dependencies = [ [[package]] name = "alloy-pubsub" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acfdbe41e2ef1a7e79b5ea115baa750f9381ac9088fb600f4cedc731cf04a151" +checksum = "f77d20cdbb68a614c7a86b3ffef607b37d087bb47a03c58f4c3f8f99bc3ace3b" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -515,9 +515,9 @@ dependencies = [ [[package]] name = "alloy-rpc-client" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c2630fde9ff6033a780635e1af6ef40e92d74a9cacb8af3defc1b15cfebca5" +checksum = "31c89883fe6b7381744cbe80fef638ac488ead4f1956a4278956a1362c71cd2e" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -541,9 +541,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad098153a12382c22a597e865530033f5e644473742d6c733562d448125e02a2" +checksum = "64e279e6d40ee40fe8f76753b678d8d5d260cb276dc6c8a8026099b16d2b43f4" dependencies = [ "alloy-primitives", "alloy-rpc-types-anvil", @@ -557,9 +557,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-anvil" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "214d9d1033c173ab8fa32edd8a4655cd784447c820b0b66cd0d5167e049567d6" +checksum = "5e176c26fdd87893b6afeb5d92099d8f7e7a1fe11d6f4fe0883d6e33ac5f31ba" dependencies = [ "alloy-primitives", "alloy-rpc-types-eth", @@ -569,9 +569,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-any" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50b8429b5b62d21bf3691eb1ae12aaae9bb496894d5a114e3cc73e27e6800ec8" +checksum = "b43c1622aac2508d528743fd4cfdac1dea92d5a8fa894038488ff7edd0af0b32" dependencies = [ "alloy-consensus-any", "alloy-rpc-types-eth", @@ -580,9 +580,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-beacon" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f67f8269e8b5193a5328dd3ef4d60f93524071e53a993776e290581a59aa15fa" +checksum = "1786681640d4c60f22b6b8376b0f3fa200360bf1c3c2cb913e6c97f51928eb1b" dependencies = [ "alloy-eips", "alloy-primitives", @@ -596,9 +596,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-debug" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01731601ea631bd825c652a225701ab466c09457f446b8d8129368a095389c5d" +checksum = "1b2ca3a434a6d49910a7e8e51797eb25db42ef8a5578c52d877fcb26d0afe7bc" dependencies = [ "alloy-primitives", "derive_more", @@ -608,9 +608,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-engine" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9981491bb98e76099983f516ec7de550db0597031f5828c994961eb4bb993cce" +checksum = "d9c4c53a8b0905d931e7921774a1830609713bd3e8222347963172b03a3ecc68" dependencies = [ "alloy-consensus", "alloy-eips", @@ -628,9 +628,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-eth" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29031a6bf46177d65efce661f7ab37829ca09dd341bc40afb5194e97600655cc" +checksum = "ed5fafb741c19b3cca4cdd04fa215c89413491f9695a3e928dee2ae5657f607e" dependencies = [ "alloy-consensus", "alloy-consensus-any", @@ -649,9 +649,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-trace" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b842f5aac6676ff4b2e328262d03bdf49807eaec3fe3a4735c45c97388518b" +checksum = "c55324323aa634b01bdecb2d47462a8dce05f5505b14a6e5db361eef16eda476" dependencies = [ "alloy-primitives", "alloy-rpc-types-eth", @@ -663,9 +663,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-txpool" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fa12c608873beeb7afa392944dce8829fa8a50c487f266863bb2dd6b743c4a2" +checksum = "96b1aa28effb6854be356ce92ed64cea3b323acd04c3f8bfb5126e2839698043" dependencies = [ "alloy-primitives", "alloy-rpc-types-eth", @@ -675,9 +675,9 @@ dependencies = [ [[package]] name = "alloy-serde" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e856112bfa0d9adc85bd7c13db03fad0e71d1d6fb4c2010e475b6718108236" +checksum = "a6f180c399ca7c1e2fe17ea58343910cad0090878a696ff5a50241aee12fc529" dependencies = [ "alloy-primitives", "serde", @@ -686,9 +686,9 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a4f629da632d5279bbc5731634f0f5c9484ad9c4cad0cd974d9669dc1f46d6" +checksum = "ecc39ad2c0a3d2da8891f4081565780703a593f090f768f884049aa3aa929cbc" dependencies = [ "alloy-dyn-abi", "alloy-primitives", @@ -703,9 +703,9 @@ dependencies = [ [[package]] name = "alloy-signer-aws" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66be762e60db50f81be7744c3a5b3efd4c69203576340df0519dacea09f5f4dd" +checksum = "75411104af460ca0b306ae998f0a00b5159457780487630f4b24722beae6b690" dependencies = [ "alloy-consensus", "alloy-network", @@ -722,9 +722,9 @@ dependencies = [ [[package]] name = "alloy-signer-gcp" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7898c079cb61868a478ac718172a3098754db75b0013db36516b1fb34b1e318" +checksum = "fcd808e99893245e619babcc138af07191ded72dc42877e216006b1ebcae64a7" dependencies = [ "alloy-consensus", "alloy-network", @@ -740,9 +740,9 @@ dependencies = [ [[package]] name = "alloy-signer-ledger" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92490935797fe5625e123fc99ed67e8ba24f27c26d88e337e3fcabec0f350f7d" +checksum = "4c059a3bbab204a06188ab27efad308b3f549c886a7853eaa64a79f76b453cae" dependencies = [ "alloy-consensus", "alloy-dyn-abi", @@ -760,9 +760,9 @@ dependencies = [ [[package]] name = "alloy-signer-local" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76c8950810dc43660c0f22883659c4218e090a5c75dce33fa4ca787715997b7b" +checksum = "930e17cb1e46446a193a593a3bfff8d0ecee4e510b802575ebe300ae2e43ef75" dependencies = [ "alloy-consensus", "alloy-network", @@ -780,9 +780,9 @@ dependencies = [ [[package]] name = "alloy-signer-trezor" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eab6b865f665871ebb8e65f881d50d75d1a5c367d4e376578ff35ccd926b43e" +checksum = "a89d36d206d87568ee9547e9e8c47dbd59f62a899e4dcd151c1b85977b3315f6" dependencies = [ "alloy-consensus", "alloy-network", @@ -797,9 +797,9 @@ dependencies = [ [[package]] name = "alloy-signer-turnkey" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0e2185d95364495878d73b82a18ddc0279d8bbc791cf117ccf1f61b282e5bac" +checksum = "bb2f7c8b58378cede78b4a950a8a372779dfab1b22a2f096f89007616d87ea86" dependencies = [ "alloy-consensus", "alloy-network", @@ -886,9 +886,9 @@ dependencies = [ [[package]] name = "alloy-transport" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe215a2f9b51d5f1aa5c8cf22c8be8cdb354934de09c9a4e37aefb79b77552fd" +checksum = "cae82426d98f8bc18f53c5223862907cac30ab8fc5e4cd2bb50808e6d3ab43d8" dependencies = [ "alloy-json-rpc", "auto_impl", @@ -909,9 +909,9 @@ dependencies = [ [[package]] name = "alloy-transport-http" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1b37b1a30d23deb3a8746e882c70b384c574d355bc2bbea9ea918b0c31366e" +checksum = "90aa6825760905898c106aba9c804b131816a15041523e80b6d4fe7af6380ada" dependencies = [ "alloy-json-rpc", "alloy-transport", @@ -924,9 +924,9 @@ dependencies = [ [[package]] name = "alloy-transport-ipc" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52c81a4deeaa0d4b022095db17b286188d731e29ea141d4ec765e166732972e4" +checksum = "6ace83a4a6bb896e5894c3479042e6ba78aa5271dde599aa8c36a021d49cc8cc" dependencies = [ "alloy-json-rpc", "alloy-pubsub", @@ -944,9 +944,9 @@ dependencies = [ [[package]] name = "alloy-transport-ws" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e9d6f5f304e8943afede2680e5fc7008780d4fc49387eafd53192ad95e20091" +checksum = "86c9ab4c199e3a8f3520b60ba81aa67bb21fed9ed0d8304e0569094d0758a56f" dependencies = [ "alloy-pubsub", "alloy-transport", @@ -978,9 +978,9 @@ dependencies = [ [[package]] name = "alloy-tx-macros" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ccf423f6de62e8ce1d6c7a11fb7508ae3536d02e0d68aaeb05c8669337d0937" +checksum = "ae109e33814b49fc0a62f2528993aa8a2dd346c26959b151f05441dc0b9da292" dependencies = [ "darling 0.21.3", "proc-macro2", @@ -1125,6 +1125,7 @@ dependencies = [ "alloy-rlp", "alloy-rpc-types", "alloy-rpc-types-beacon", + "alloy-rpc-types-eth", "alloy-serde", "alloy-signer", "alloy-signer-local", @@ -3667,7 +3668,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3972,7 +3973,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -5778,7 +5779,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.5.10", + "socket2 0.6.1", "system-configuration", "tokio", "tower-service", @@ -6168,7 +6169,7 @@ checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" dependencies = [ "hermit-abi", "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -6903,7 +6904,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -8068,7 +8069,7 @@ dependencies = [ "quinn-udp", "rustc-hash", "rustls", - "socket2 0.5.10", + "socket2 0.6.1", "thiserror 2.0.17", "tokio", "tracing", @@ -8105,9 +8106,9 @@ dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2 0.5.10", + "socket2 0.6.1", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] @@ -8827,7 +8828,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.11.0", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -10074,7 +10075,7 @@ dependencies = [ "getrandom 0.3.4", "once_cell", "rustix 1.1.2", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -10094,7 +10095,7 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2111ef44dae28680ae9752bb89409e7310ca33a8c621ebe7b106cf5c928b3ac0" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -11392,7 +11393,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index f489441569943..67fad2fdc5558 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -235,31 +235,32 @@ svm = { package = "svm-rs", version = "0.5", default-features = false, features ] } ## alloy -alloy-consensus = { version = "1.1.1", default-features = false } -alloy-contract = { version = "1.1.1", default-features = false } -alloy-eips = { version = "1.1.1", default-features = false } -alloy-eip5792 = { version = "1.1.1", default-features = false } -alloy-ens = { version = "1.1.1", default-features = false } -alloy-genesis = { version = "1.1.1", default-features = false } -alloy-json-rpc = { version = "1.1.1", default-features = false } -alloy-network = { version = "1.1.1", default-features = false } -alloy-provider = { version = "1.1.1", default-features = false } -alloy-pubsub = { version = "1.1.1", default-features = false } -alloy-rpc-client = { version = "1.1.1", default-features = false } -alloy-rpc-types = { version = "1.1.1", default-features = true } -alloy-rpc-types-beacon = { version = "1.1.1", default-features = true } -alloy-serde = { version = "1.1.1", default-features = false } -alloy-signer = { version = "1.1.1", default-features = false } -alloy-signer-aws = { version = "1.1.1", default-features = false } -alloy-signer-gcp = { version = "1.1.1", default-features = false } -alloy-signer-ledger = { version = "1.1.1", default-features = false } -alloy-signer-local = { version = "1.1.1", default-features = false } -alloy-signer-trezor = { version = "1.1.1", default-features = false } -alloy-signer-turnkey = { version = "1.1.1", default-features = false } -alloy-transport = { version = "1.1.1", default-features = false } -alloy-transport-http = { version = "1.1.1", default-features = false } -alloy-transport-ipc = { version = "1.1.1", default-features = false } -alloy-transport-ws = { version = "1.1.1", default-features = false } +alloy-consensus = { version = "1.1.2", default-features = false } +alloy-contract = { version = "1.1.2", default-features = false } +alloy-eips = { version = "1.1.2", default-features = false } +alloy-eip5792 = { version = "1.1.2", default-features = false } +alloy-ens = { version = "1.1.2", default-features = false } +alloy-genesis = { version = "1.1.2", default-features = false } +alloy-json-rpc = { version = "1.1.2", default-features = false } +alloy-network = { version = "1.1.2", default-features = false } +alloy-provider = { version = "1.1.2", default-features = false } +alloy-pubsub = { version = "1.1.2", default-features = false } +alloy-rpc-client = { version = "1.1.2", default-features = false } +alloy-rpc-types = { version = "1.1.2", default-features = true } +alloy-rpc-types-beacon = { version = "1.1.2", default-features = true } +alloy-rpc-types-eth = { version = "1.1.2", default-features = false } +alloy-serde = { version = "1.1.2", default-features = false } +alloy-signer = { version = "1.1.2", default-features = false } +alloy-signer-aws = { version = "1.1.2", default-features = false } +alloy-signer-gcp = { version = "1.1.2", default-features = false } +alloy-signer-ledger = { version = "1.1.2", default-features = false } +alloy-signer-local = { version = "1.1.2", default-features = false } +alloy-signer-trezor = { version = "1.1.2", default-features = false } +alloy-signer-turnkey = { version = "1.1.2", default-features = false } +alloy-transport = { version = "1.1.2", default-features = false } +alloy-transport-http = { version = "1.1.2", default-features = false } +alloy-transport-ipc = { version = "1.1.2", default-features = false } +alloy-transport-ws = { version = "1.1.2", default-features = false } alloy-hardforks = { version = "0.4.0", default-features = false } alloy-op-hardforks = { version = "0.4.0", default-features = false } diff --git a/crates/anvil/Cargo.toml b/crates/anvil/Cargo.toml index 46f2efead395c..8a736eb05b240 100644 --- a/crates/anvil/Cargo.toml +++ b/crates/anvil/Cargo.toml @@ -45,6 +45,7 @@ alloy-sol-types = { workspace = true, features = ["std"] } alloy-dyn-abi = { workspace = true, features = ["std", "eip712"] } alloy-rpc-types = { workspace = true, features = ["anvil", "trace", "txpool"] } alloy-rpc-types-beacon.workspace = true +alloy-rpc-types-eth.workspace = true alloy-serde.workspace = true alloy-provider = { workspace = true, features = [ "reqwest", diff --git a/crates/anvil/core/src/eth/transaction/mod.rs b/crates/anvil/core/src/eth/transaction/mod.rs index faac492a3afbc..2296bb4f9e6eb 100644 --- a/crates/anvil/core/src/eth/transaction/mod.rs +++ b/crates/anvil/core/src/eth/transaction/mod.rs @@ -1273,18 +1273,6 @@ impl Decodable2718 for TypedReceipt { pub type ReceiptResponse = WithOtherFields>; -/// Response type for `eth_fillTransaction` RPC method. -/// -/// This type represents a transaction that has been "filled" with default values -/// for missing fields like nonce, gas limit, and fee parameters. -#[derive(Debug, Clone, Serialize, Deserialize)] -pub struct FillTransactionResult { - /// RLP-encoded transaction bytes - pub raw: Bytes, - /// Filled transaction request - pub tx: T, -} - pub fn convert_to_anvil_receipt(receipt: AnyTransactionReceipt) -> Option { let WithOtherFields { inner: diff --git a/crates/anvil/src/eth/api.rs b/crates/anvil/src/eth/api.rs index 1e03f0616d3b5..5595f8e58f8db 100644 --- a/crates/anvil/src/eth/api.rs +++ b/crates/anvil/src/eth/api.rs @@ -64,6 +64,7 @@ use alloy_rpc_types::{ }, txpool::{TxpoolContent, TxpoolInspect, TxpoolInspectSummary, TxpoolStatus}, }; +use alloy_rpc_types_eth::FillTransaction; use alloy_serde::WithOtherFields; use alloy_sol_types::{SolCall, SolValue, sol}; use alloy_transport::TransportErrorKind; @@ -72,9 +73,8 @@ use anvil_core::{ EthRequest, block::BlockInfo, transaction::{ - FillTransactionResult, MaybeImpersonatedTransaction, PendingTransaction, - ReceiptResponse, TypedTransaction, TypedTransactionRequest, - transaction_request_to_typed, + MaybeImpersonatedTransaction, PendingTransaction, ReceiptResponse, TypedTransaction, + TypedTransactionRequest, transaction_request_to_typed, }, wallet::WalletCapabilities, }, @@ -1374,7 +1374,7 @@ impl EthApi { pub async fn fill_transaction( &self, mut request: WithOtherFields, - ) -> Result> { + ) -> Result> { node_info!("eth_fillTransaction"); let from = match request.as_ref().from() { @@ -1437,7 +1437,7 @@ impl EthApi { // signature) tx.0.inner.inner = Recovered::new_unchecked(tx.0.inner.inner.into_inner(), from); - Ok(FillTransactionResult { raw, tx }) + Ok(FillTransaction { raw, tx }) } /// Handler for RPC call: `anvil_getBlobByHash`