chore: bump alloy 064 (#12488)

This commit is contained in:
Matthias Seitz
2024-11-13 01:06:25 +01:00
committed by GitHub
parent ce50370ba5
commit a96dee17f5
6 changed files with 170 additions and 160 deletions

168
Cargo.lock generated
View File

@ -112,9 +112,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-consensus" name = "alloy-consensus"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef11c6b2dfbf77dca7bafc6759860391395f07c04d5486f2a2e2563d2961639b" checksum = "ae09ffd7c29062431dd86061deefe4e3c6f07fa0d674930095f8dcedb0baf02c"
dependencies = [ dependencies = [
"alloy-eips", "alloy-eips",
"alloy-primitives", "alloy-primitives",
@ -131,9 +131,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-contract" name = "alloy-contract"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8faa407ef916bfe0677c52c9b2258ce0698c53e9e15a837d1501e3ae9e57421a" checksum = "66430a72d5bf5edead101c8c2f0a24bada5ec9f3cf9909b3e08b6d6899b4803e"
dependencies = [ dependencies = [
"alloy-dyn-abi", "alloy-dyn-abi",
"alloy-json-abi", "alloy-json-abi",
@ -198,9 +198,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-eips" name = "alloy-eips"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33d6c0c1744a7af7d325dca6b5c5bb431a6307c0961088f7a236ca2694c4a87e" checksum = "5b6aa3961694b30ba53d41006131a2fca3bdab22e4c344e46db2c639e7c2dfdd"
dependencies = [ dependencies = [
"alloy-eip2930", "alloy-eip2930",
"alloy-eip7702", "alloy-eip7702",
@ -219,9 +219,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-genesis" name = "alloy-genesis"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95a5a0a01ef6ec3cd3ebd52a7b3bc7f8a92b23e478e69c07abd94abf05e6b48e" checksum = "e53f7877ded3921d18a0a9556d55bedf84535567198c9edab2aa23106da91855"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-serde", "alloy-serde",
@ -230,9 +230,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-json-abi" name = "alloy-json-abi"
version = "0.8.11" version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ded610181f3dad5810f6ff12d1a99994cf9b42d2fcb7709029352398a5da5ae6" checksum = "b84c506bf264110fa7e90d9924f742f40ef53c6572ea56a0b0bd714a567ed389"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-sol-type-parser", "alloy-sol-type-parser",
@ -242,9 +242,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-json-rpc" name = "alloy-json-rpc"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "65fd0e2cff5ab68defc5050ff9e81cb053c5b52cf4809fc8786664898e29ae75" checksum = "3694b7e480728c0b3e228384f223937f14c10caef5a4c766021190fc8f283d35"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-sol-types", "alloy-sol-types",
@ -256,9 +256,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-network" name = "alloy-network"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96c9eca0c04ca8a663966ce7f5b19c03927f2b4d82910cb76cb4008490cfa838" checksum = "ea94b8ceb5c75d7df0a93ba0acc53b55a22b47b532b600a800a87ef04eb5b0b4"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-eips", "alloy-eips",
@ -279,9 +279,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-network-primitives" name = "alloy-network-primitives"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4c3050f19dc93a7f09fef670c8db04a15e7e2901494ca40decbce323be69643" checksum = "df9f3e281005943944d15ee8491534a1c7b3cbf7a7de26f8c433b842b93eb5f9"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-eips", "alloy-eips",
@ -292,9 +292,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-node-bindings" name = "alloy-node-bindings"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5ebd44d0ab30f1018dc1ff01686ea1a3ae732601841a4fb277c9d0b3a34bf50" checksum = "c9805d126f24be459b958973c0569c73e1aadd27d4535eee82b2b6764aa03616"
dependencies = [ dependencies = [
"alloy-genesis", "alloy-genesis",
"alloy-primitives", "alloy-primitives",
@ -309,9 +309,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-primitives" name = "alloy-primitives"
version = "0.8.11" version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd58d377699e6cfeab52c4a9d28bdc4ef37e2bd235ff2db525071fe37a2e9af5" checksum = "9fce5dbd6a4f118eecc4719eaa9c7ffc31c315e6c5ccde3642db927802312425"
dependencies = [ dependencies = [
"alloy-rlp", "alloy-rlp",
"arbitrary", "arbitrary",
@ -341,9 +341,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-provider" name = "alloy-provider"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df8e5a28e7c4c04afc0f20b2aecf6f9214d6cfd5009187c0b8616a8f8918739c" checksum = "40c1f9eede27bf4c13c099e8e64d54efd7ce80ef6ea47478aa75d5d74e2dba3b"
dependencies = [ dependencies = [
"alloy-chains", "alloy-chains",
"alloy-consensus", "alloy-consensus",
@ -382,9 +382,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-pubsub" name = "alloy-pubsub"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "365dd813ec271a14febc31ea8ed64185856534f5644511f0c7a2961db060d878" checksum = "90f1f34232f77341076541c405482e4ae12f0ee7153d8f9969fc1691201b2247"
dependencies = [ dependencies = [
"alloy-json-rpc", "alloy-json-rpc",
"alloy-primitives", "alloy-primitives",
@ -423,9 +423,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-client" name = "alloy-rpc-client"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0336362936bb9fef88f27d51f2ede8c15cdfdb7f81b042e74257770052547101" checksum = "374dbe0dc3abdc2c964f36b3d3edf9cdb3db29d16bda34aa123f03d810bec1dd"
dependencies = [ dependencies = [
"alloy-json-rpc", "alloy-json-rpc",
"alloy-primitives", "alloy-primitives",
@ -448,9 +448,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types" name = "alloy-rpc-types"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac9a46bc01bc27dbf4dd27d46986eda661ffe99e78aea3078a77b8c064072b01" checksum = "c74832aa474b670309c20fffc2a869fa141edab7c79ff7963fad0a08de60bae1"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rpc-types-engine", "alloy-rpc-types-engine",
@ -461,9 +461,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types-admin" name = "alloy-rpc-types-admin"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82845a6f1ed33ef4edf79aa7cb091df31a532675921fb85041fbd8d6e029093d" checksum = "6bfd9b2cc3a1985f1f6da5afc41120256f9f9316fcd89e054cea99dbb10172f6"
dependencies = [ dependencies = [
"alloy-genesis", "alloy-genesis",
"alloy-primitives", "alloy-primitives",
@ -473,9 +473,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types-anvil" name = "alloy-rpc-types-anvil"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e73c06c3e44866d304fe28e8cebc8354f99fe405cc7c9bd23ed92eaebca3c07" checksum = "5ca97963132f78ddfc60e43a017348e6d52eea983925c23652f5b330e8e02291"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rpc-types-eth", "alloy-rpc-types-eth",
@ -485,9 +485,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types-beacon" name = "alloy-rpc-types-beacon"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f9f6f071674c62424b62e22307aa83a35a0b1b84820649cc82034a50389ddc6" checksum = "922fa76678d2f9f07ea1b19309b5cfbf244c6029dcba3515227b515fdd6ed4a7"
dependencies = [ dependencies = [
"alloy-eips", "alloy-eips",
"alloy-primitives", "alloy-primitives",
@ -499,9 +499,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types-debug" name = "alloy-rpc-types-debug"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63a857818fe47dacaa7cc7a9cdcfee212cf1ebf119ab7bd157065d434671892d" checksum = "ba2253bee958658ebd614c07a61c40580e09dd1fad3f017684314442332ab753"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"serde", "serde",
@ -509,9 +509,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types-engine" name = "alloy-rpc-types-engine"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ee44332315ef1adde384e44db3b5724d74d0cd0e0856a681c4db2b4da3a423e" checksum = "3f56294dce86af23ad6ee8df46cf8b0d292eb5d1ff67dc88a0886051e32b1faf"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-eips", "alloy-eips",
@ -530,9 +530,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types-eth" name = "alloy-rpc-types-eth"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d58fa055e02d04bc70443ecce984951fb5be02d2c843c640ca48237cdec66af1" checksum = "a8a477281940d82d29315846c7216db45b15e90bcd52309da9f54bcf7ad94a11"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-eips", "alloy-eips",
@ -551,9 +551,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types-mev" name = "alloy-rpc-types-mev"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "debf779b847b058b7c9cdef576f5ef539bc3032c5f6e5c1c2f51820b4f74e6d9" checksum = "8647f8135ee3d5de1cf196706c905c05728a4e38bb4a5b61a7214bd1ba8f60a6"
dependencies = [ dependencies = [
"alloy-eips", "alloy-eips",
"alloy-primitives", "alloy-primitives",
@ -564,9 +564,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types-trace" name = "alloy-rpc-types-trace"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1319edeae0e5f453424d658f8f450a5b1090b9ee6c0c014dc216b42f11c9dc57" checksum = "ecd8b4877ef520c138af702097477cdd19504a8e1e4675ba37e92ba40f2d3c6f"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rpc-types-eth", "alloy-rpc-types-eth",
@ -578,9 +578,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-rpc-types-txpool" name = "alloy-rpc-types-txpool"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fcb4b823dcd7228a89be1be85a4fa8008ad6d91b169b61f75f36b6e7386f37b" checksum = "1d4ab49acf90a71f7fb894dc5fd485f1f07a1e348966c714c4d1e0b7478850a8"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"alloy-rpc-types-eth", "alloy-rpc-types-eth",
@ -590,9 +590,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-serde" name = "alloy-serde"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "feafd71e0e252b063fe4b07962beedf0445e66b07b4b44af178863d21e75b0fa" checksum = "4dfa4a7ccf15b2492bb68088692481fd6b2604ccbee1d0d6c44c21427ae4df83"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"arbitrary", "arbitrary",
@ -602,9 +602,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-signer" name = "alloy-signer"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebad84d52550351438ec7f151dbc551f870c31eecf23b473df5b779a91eee8ca" checksum = "2e10aec39d60dc27edcac447302c7803d2371946fb737245320a05b78eb2fafd"
dependencies = [ dependencies = [
"alloy-primitives", "alloy-primitives",
"async-trait", "async-trait",
@ -616,9 +616,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-signer-local" name = "alloy-signer-local"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed742d76943b5ebaabfdf3d0d8b69a4377fc2981c7955a807e33a3469aed0cdc" checksum = "d8396f6dff60700bc1d215ee03d86ff56de268af96e2bf833a14d0bafcab9882"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-network", "alloy-network",
@ -634,9 +634,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-sol-macro" name = "alloy-sol-macro"
version = "0.8.11" version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a1b42ac8f45e2f49f4bcdd72cbfde0bb148f5481d403774ffa546e48b83efc1" checksum = "9343289b4a7461ed8bab8618504c995c049c082b70c7332efd7b32125633dc05"
dependencies = [ dependencies = [
"alloy-sol-macro-expander", "alloy-sol-macro-expander",
"alloy-sol-macro-input", "alloy-sol-macro-input",
@ -648,9 +648,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-sol-macro-expander" name = "alloy-sol-macro-expander"
version = "0.8.11" version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06318f1778e57f36333e850aa71bd1bb5e560c10279e236622faae0470c50412" checksum = "4222d70bec485ceccc5d8fd4f2909edd65b5d5e43d4aca0b5dcee65d519ae98f"
dependencies = [ dependencies = [
"alloy-sol-macro-input", "alloy-sol-macro-input",
"const-hex", "const-hex",
@ -666,9 +666,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-sol-macro-input" name = "alloy-sol-macro-input"
version = "0.8.11" version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eaebb9b0ad61a41345a22c9279975c0cdd231b97947b10d7aad1cf0a7181e4a5" checksum = "2e17f2677369571b976e51ea1430eb41c3690d344fef567b840bfc0b01b6f83a"
dependencies = [ dependencies = [
"const-hex", "const-hex",
"dunce", "dunce",
@ -681,9 +681,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-sol-type-parser" name = "alloy-sol-type-parser"
version = "0.8.11" version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12c71028bfbfec210e24106a542aad3def7caf1a70e2c05710e92a98481980d3" checksum = "aa64d80ae58ffaafdff9d5d84f58d03775f66c84433916dc9a64ed16af5755da"
dependencies = [ dependencies = [
"serde", "serde",
"winnow", "winnow",
@ -691,9 +691,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-sol-types" name = "alloy-sol-types"
version = "0.8.11" version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "374d7fb042d68ddfe79ccb23359de3007f6d4d53c13f703b64fb0db422132111" checksum = "6520d427d4a8eb7aa803d852d7a52ceb0c519e784c292f64bb339e636918cf27"
dependencies = [ dependencies = [
"alloy-json-abi", "alloy-json-abi",
"alloy-primitives", "alloy-primitives",
@ -704,9 +704,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-transport" name = "alloy-transport"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da63700a2b3176b3009a6d3672d0c657280a517dcec7659c991c55e863a83165" checksum = "f99acddb34000d104961897dbb0240298e8b775a7efffb9fda2a1a3efedd65b3"
dependencies = [ dependencies = [
"alloy-json-rpc", "alloy-json-rpc",
"base64 0.22.1", "base64 0.22.1",
@ -724,9 +724,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-transport-http" name = "alloy-transport-http"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6613c3abc567b710217d241650ef73cfb8df9bcdc2ef23fdedabf363637e2a00" checksum = "5dc013132e34eeadaa0add7e74164c1503988bfba8bae885b32e0918ba85a8a6"
dependencies = [ dependencies = [
"alloy-json-rpc", "alloy-json-rpc",
"alloy-transport", "alloy-transport",
@ -739,9 +739,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-transport-ipc" name = "alloy-transport-ipc"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7087a28734aac88a606884cdde8c89ad053bd1c0580c787e31f917a8e4a7cbdd" checksum = "063edc0660e81260653cc6a95777c29d54c2543a668aa5da2359fb450d25a1ba"
dependencies = [ dependencies = [
"alloy-json-rpc", "alloy-json-rpc",
"alloy-pubsub", "alloy-pubsub",
@ -758,9 +758,9 @@ dependencies = [
[[package]] [[package]]
name = "alloy-transport-ws" name = "alloy-transport-ws"
version = "0.6.3" version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "672797b3f7bcbe67f712f9e8e5703b22f24594bd2b248a90916bdb58811b8b6e" checksum = "abd170e600801116d5efe64f74a4fc073dbbb35c807013a7d0a388742aeebba0"
dependencies = [ dependencies = [
"alloy-pubsub", "alloy-pubsub",
"alloy-transport", "alloy-transport",
@ -5297,9 +5297,9 @@ checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
[[package]] [[package]]
name = "op-alloy-consensus" name = "op-alloy-consensus"
version = "0.6.4" version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b5745eca869a0b476fbd34025ac40c06a15c46ffc10d6b1c40d21475b05f835" checksum = "bff54d1d790eca1f3aedbd666162e9c42eceff90b9f9d24b352ed9c2df1e901a"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-eips", "alloy-eips",
@ -5315,9 +5315,9 @@ dependencies = [
[[package]] [[package]]
name = "op-alloy-genesis" name = "op-alloy-genesis"
version = "0.6.4" version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa6b2f26a84984213bc12649dfd8466a46ddeede3b8d2d936583000a8362b117" checksum = "ae84fd64fbc53b3e958ea5a96d7f5633e4a111092e41c51672c2d91835c09efb"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-eips", "alloy-eips",
@ -5329,9 +5329,9 @@ dependencies = [
[[package]] [[package]]
name = "op-alloy-network" name = "op-alloy-network"
version = "0.6.4" version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67085a07a35e71db0a95ac923a2de2c186a37c5f376a1e4dee19b5ef8a6ffcaa" checksum = "d71e777450ee3e9c5177e00865e9b4496472b623c50f146fc907b667c6b4ab37"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-network", "alloy-network",
@ -5344,9 +5344,9 @@ dependencies = [
[[package]] [[package]]
name = "op-alloy-protocol" name = "op-alloy-protocol"
version = "0.6.4" version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "880331b1b7718236a016eb7ac5530abcf7d5ca8b7ad78ac6c3dc8f73826ce9ee" checksum = "1e854d2d4958d0a213731560172e8455536329ee9574473ff79fa953da91eb6a"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-eips", "alloy-eips",
@ -5364,9 +5364,9 @@ dependencies = [
[[package]] [[package]]
name = "op-alloy-rpc-types" name = "op-alloy-rpc-types"
version = "0.6.4" version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69b75a52c8659756cfe1119f7711e94749c8dec6ad82408f3c55641ae413fb83" checksum = "981b7f8ab11fe85ba3c1723702f000429b8d0c16b5883c93d577895f262cbac6"
dependencies = [ dependencies = [
"alloy-consensus", "alloy-consensus",
"alloy-eips", "alloy-eips",
@ -5383,9 +5383,9 @@ dependencies = [
[[package]] [[package]]
name = "op-alloy-rpc-types-engine" name = "op-alloy-rpc-types-engine"
version = "0.6.4" version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "622eabdff1739ef163aeb8e8385d5936fa54c14cfa55b06f72f1c8faa987f715" checksum = "a227b16c9c5df68b112c8db9d268ebf46b3e26c744b4d59d4949575cd603a292"
dependencies = [ dependencies = [
"alloy-eips", "alloy-eips",
"alloy-primitives", "alloy-primitives",
@ -10452,9 +10452,9 @@ dependencies = [
[[package]] [[package]]
name = "syn-solidity" name = "syn-solidity"
version = "0.8.11" version = "0.8.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "edf42e81491fb8871b74df3d222c64ae8cbc1269ea509fa768a3ed3e1b0ac8cb" checksum = "f76fe0a3e1476bdaa0775b9aec5b869ed9520c2b2fedfe9c6df3618f8ea6290b"
dependencies = [ dependencies = [
"paste", "paste",
"proc-macro2", "proc-macro2",

View File

@ -431,46 +431,46 @@ alloy-rlp = "0.3.4"
alloy-sol-types = "0.8.11" alloy-sol-types = "0.8.11"
alloy-trie = { version = "0.7", default-features = false } alloy-trie = { version = "0.7", default-features = false }
alloy-consensus = { version = "0.6.3", default-features = false } alloy-consensus = { version = "0.6.4", default-features = false }
alloy-contract = { version = "0.6.3", default-features = false } alloy-contract = { version = "0.6.4", default-features = false }
alloy-eips = { version = "0.6.3", default-features = false } alloy-eips = { version = "0.6.4", default-features = false }
alloy-genesis = { version = "0.6.3", default-features = false } alloy-genesis = { version = "0.6.4", default-features = false }
alloy-json-rpc = { version = "0.6.3", default-features = false } alloy-json-rpc = { version = "0.6.4", default-features = false }
alloy-network = { version = "0.6.3", default-features = false } alloy-network = { version = "0.6.4", default-features = false }
alloy-network-primitives = { version = "0.6.3", default-features = false } alloy-network-primitives = { version = "0.6.4", default-features = false }
alloy-node-bindings = { version = "0.6.3", default-features = false } alloy-node-bindings = { version = "0.6.4", default-features = false }
alloy-provider = { version = "0.6.3", features = [ alloy-provider = { version = "0.6.4", features = [
"reqwest", "reqwest",
], default-features = false } ], default-features = false }
alloy-pubsub = { version = "0.6.3", default-features = false } alloy-pubsub = { version = "0.6.4", default-features = false }
alloy-rpc-client = { version = "0.6.3", default-features = false } alloy-rpc-client = { version = "0.6.4", default-features = false }
alloy-rpc-types = { version = "0.6.3", features = [ alloy-rpc-types = { version = "0.6.4", features = [
"eth", "eth",
], default-features = false } ], default-features = false }
alloy-rpc-types-admin = { version = "0.6.3", default-features = false } alloy-rpc-types-admin = { version = "0.6.4", default-features = false }
alloy-rpc-types-anvil = { version = "0.6.3", default-features = false } alloy-rpc-types-anvil = { version = "0.6.4", default-features = false }
alloy-rpc-types-beacon = { version = "0.6.3", default-features = false } alloy-rpc-types-beacon = { version = "0.6.4", default-features = false }
alloy-rpc-types-debug = { version = "0.6.3", default-features = false } alloy-rpc-types-debug = { version = "0.6.4", default-features = false }
alloy-rpc-types-engine = { version = "0.6.3", default-features = false } alloy-rpc-types-engine = { version = "0.6.4", default-features = false }
alloy-rpc-types-eth = { version = "0.6.3", default-features = false } alloy-rpc-types-eth = { version = "0.6.4", default-features = false }
alloy-rpc-types-mev = { version = "0.6.3", default-features = false } alloy-rpc-types-mev = { version = "0.6.4", default-features = false }
alloy-rpc-types-trace = { version = "0.6.3", default-features = false } alloy-rpc-types-trace = { version = "0.6.4", default-features = false }
alloy-rpc-types-txpool = { version = "0.6.3", default-features = false } alloy-rpc-types-txpool = { version = "0.6.4", default-features = false }
alloy-serde = { version = "0.6.3", default-features = false } alloy-serde = { version = "0.6.4", default-features = false }
alloy-signer = { version = "0.6.3", default-features = false } alloy-signer = { version = "0.6.4", default-features = false }
alloy-signer-local = { version = "0.6.3", default-features = false } alloy-signer-local = { version = "0.6.4", default-features = false }
alloy-transport = { version = "0.6.3" } alloy-transport = { version = "0.6.4" }
alloy-transport-http = { version = "0.6.3", features = [ alloy-transport-http = { version = "0.6.4", features = [
"reqwest-rustls-tls", "reqwest-rustls-tls",
], default-features = false } ], default-features = false }
alloy-transport-ipc = { version = "0.6.3", default-features = false } alloy-transport-ipc = { version = "0.6.4", default-features = false }
alloy-transport-ws = { version = "0.6.3", default-features = false } alloy-transport-ws = { version = "0.6.4", default-features = false }
# op # op
op-alloy-rpc-types = "0.6.4" op-alloy-rpc-types = "0.6.5"
op-alloy-rpc-types-engine = "0.6.4" op-alloy-rpc-types-engine = "0.6.5"
op-alloy-network = "0.6.4" op-alloy-network = "0.6.5"
op-alloy-consensus = "0.6.4" op-alloy-consensus = "0.6.5"
# misc # misc
aquamarine = "0.6" aquamarine = "0.6"

View File

@ -149,7 +149,7 @@ impl TransactionSigned {
chain_id: None, chain_id: None,
}; };
let v: u64 = Decodable::decode(data)?; let v = Decodable::decode(data)?;
let r: U256 = Decodable::decode(data)?; let r: U256 = Decodable::decode(data)?;
let s: U256 = Decodable::decode(data)?; let s: U256 = Decodable::decode(data)?;

View File

@ -1,7 +1,7 @@
//! Loads and formats OP transaction RPC response. //! Loads and formats OP transaction RPC response.
use alloy_consensus::{Signed, Transaction as _}; use alloy_consensus::{Signed, Transaction as _};
use alloy_primitives::{Bytes, B256}; use alloy_primitives::{Bytes, Sealable, Sealed, B256};
use alloy_rpc_types_eth::TransactionInfo; use alloy_rpc_types_eth::TransactionInfo;
use op_alloy_consensus::OpTxEnvelope; use op_alloy_consensus::OpTxEnvelope;
use op_alloy_rpc_types::Transaction; use op_alloy_rpc_types::Transaction;
@ -86,6 +86,7 @@ where
let from = tx.signer(); let from = tx.signer();
let TransactionSigned { transaction, signature, hash } = tx.into_signed(); let TransactionSigned { transaction, signature, hash } = tx.into_signed();
let mut deposit_receipt_version = None; let mut deposit_receipt_version = None;
let mut deposit_nonce = None;
let inner = match transaction { let inner = match transaction {
reth_primitives::Transaction::Legacy(tx) => { reth_primitives::Transaction::Legacy(tx) => {
@ -102,19 +103,16 @@ where
Signed::new_unchecked(tx, signature, hash).into() Signed::new_unchecked(tx, signature, hash).into()
} }
reth_primitives::Transaction::Deposit(tx) => { reth_primitives::Transaction::Deposit(tx) => {
let deposit_info = self self.inner
.inner
.provider() .provider()
.receipt_by_hash(hash) .receipt_by_hash(hash)
.map_err(Self::Error::from_eth_err)? .map_err(Self::Error::from_eth_err)?
.and_then(|receipt| receipt.deposit_receipt_version.zip(receipt.deposit_nonce)); .inspect(|receipt| {
deposit_receipt_version = receipt.deposit_receipt_version;
deposit_nonce = receipt.deposit_nonce;
});
if let Some((version, _)) = deposit_info { OpTxEnvelope::Deposit(tx.seal_unchecked(hash))
deposit_receipt_version = Some(version);
// TODO: set nonce
}
OpTxEnvelope::Deposit(tx)
} }
}; };
@ -144,6 +142,7 @@ where
from, from,
effective_gas_price: Some(effective_gas_price), effective_gas_price: Some(effective_gas_price),
}, },
deposit_nonce,
deposit_receipt_version, deposit_receipt_version,
}) })
} }
@ -154,7 +153,17 @@ where
OpTxEnvelope::Eip2930(tx) => &mut tx.tx_mut().input, OpTxEnvelope::Eip2930(tx) => &mut tx.tx_mut().input,
OpTxEnvelope::Legacy(tx) => &mut tx.tx_mut().input, OpTxEnvelope::Legacy(tx) => &mut tx.tx_mut().input,
OpTxEnvelope::Eip7702(tx) => &mut tx.tx_mut().input, OpTxEnvelope::Eip7702(tx) => &mut tx.tx_mut().input,
OpTxEnvelope::Deposit(tx) => &mut tx.input, OpTxEnvelope::Deposit(tx) => {
let (mut deposit, hash) = std::mem::replace(
tx,
Sealed::new_unchecked(Default::default(), Default::default()),
)
.split();
deposit.input = deposit.input.slice(..4);
let mut deposit = deposit.seal_unchecked(hash);
std::mem::swap(tx, &mut deposit);
return
}
_ => return, _ => return,
}; };
*input = input.slice(..4); *input = input.slice(..4);

View File

@ -330,21 +330,6 @@ impl Transaction {
self.as_eip4844().map(TxEip4844::blob_gas) self.as_eip4844().map(TxEip4844::blob_gas)
} }
/// Returns the effective gas price for the given base fee.
///
/// If the transaction is a legacy or EIP2930 transaction, the gas price is returned.
pub const fn effective_gas_price(&self, base_fee: Option<u64>) -> u128 {
match self {
Self::Legacy(tx) => tx.gas_price,
Self::Eip2930(tx) => tx.gas_price,
Self::Eip1559(dynamic_tx) => dynamic_tx.effective_gas_price(base_fee),
Self::Eip4844(dynamic_tx) => dynamic_tx.effective_gas_price(base_fee),
Self::Eip7702(dynamic_tx) => dynamic_tx.effective_gas_price(base_fee),
#[cfg(feature = "optimism")]
Self::Deposit(_) => 0,
}
}
/// Returns the effective miner gas tip cap (`gasTipCap`) for the given base fee: /// Returns the effective miner gas tip cap (`gasTipCap`) for the given base fee:
/// `min(maxFeePerGas - baseFee, maxPriorityFeePerGas)` /// `min(maxFeePerGas - baseFee, maxPriorityFeePerGas)`
/// ///
@ -755,6 +740,18 @@ impl alloy_consensus::Transaction for Transaction {
} }
} }
fn effective_gas_price(&self, base_fee: Option<u64>) -> u128 {
match self {
Self::Legacy(tx) => tx.effective_gas_price(base_fee),
Self::Eip2930(tx) => tx.effective_gas_price(base_fee),
Self::Eip1559(tx) => tx.effective_gas_price(base_fee),
Self::Eip4844(tx) => tx.effective_gas_price(base_fee),
Self::Eip7702(tx) => tx.effective_gas_price(base_fee),
#[cfg(feature = "optimism")]
Self::Deposit(tx) => tx.effective_gas_price(base_fee),
}
}
fn is_dynamic_fee(&self) -> bool { fn is_dynamic_fee(&self) -> bool {
match self { match self {
Self::Legacy(_) | Self::Eip2930(_) => false, Self::Legacy(_) | Self::Eip2930(_) => false,
@ -764,6 +761,18 @@ impl alloy_consensus::Transaction for Transaction {
} }
} }
fn kind(&self) -> TxKind {
match self {
Self::Legacy(tx) => tx.kind(),
Self::Eip2930(tx) => tx.kind(),
Self::Eip1559(tx) => tx.kind(),
Self::Eip4844(tx) => tx.kind(),
Self::Eip7702(tx) => tx.kind(),
#[cfg(feature = "optimism")]
Self::Deposit(tx) => tx.kind(),
}
}
fn value(&self) -> U256 { fn value(&self) -> U256 {
match self { match self {
Self::Legacy(tx) => tx.value(), Self::Legacy(tx) => tx.value(),
@ -835,18 +844,6 @@ impl alloy_consensus::Transaction for Transaction {
Self::Deposit(tx) => tx.authorization_list(), Self::Deposit(tx) => tx.authorization_list(),
} }
} }
fn kind(&self) -> TxKind {
match self {
Self::Legacy(tx) => tx.kind(),
Self::Eip2930(tx) => tx.kind(),
Self::Eip1559(tx) => tx.kind(),
Self::Eip4844(tx) => tx.kind(),
Self::Eip7702(tx) => tx.kind(),
#[cfg(feature = "optimism")]
Self::Deposit(tx) => tx.kind(),
}
}
} }
/// Signed transaction without its Hash. Used type for inserting into the DB. /// Signed transaction without its Hash. Used type for inserting into the DB.
@ -1457,10 +1454,18 @@ impl alloy_consensus::Transaction for TransactionSigned {
self.deref().priority_fee_or_price() self.deref().priority_fee_or_price()
} }
fn effective_gas_price(&self, base_fee: Option<u64>) -> u128 {
self.deref().effective_gas_price(base_fee)
}
fn is_dynamic_fee(&self) -> bool { fn is_dynamic_fee(&self) -> bool {
self.deref().is_dynamic_fee() self.deref().is_dynamic_fee()
} }
fn kind(&self) -> TxKind {
self.deref().kind()
}
fn value(&self) -> U256 { fn value(&self) -> U256 {
self.deref().value() self.deref().value()
} }
@ -1484,10 +1489,6 @@ impl alloy_consensus::Transaction for TransactionSigned {
fn authorization_list(&self) -> Option<&[SignedAuthorization]> { fn authorization_list(&self) -> Option<&[SignedAuthorization]> {
self.deref().authorization_list() self.deref().authorization_list()
} }
fn kind(&self) -> TxKind {
self.deref().kind()
}
} }
impl From<TransactionSignedEcRecovered> for TransactionSigned { impl From<TransactionSignedEcRecovered> for TransactionSigned {

View File

@ -15,7 +15,7 @@ const SECP256K1N_HALF: U256 = U256::from_be_bytes([
pub(crate) fn decode_with_eip155_chain_id( pub(crate) fn decode_with_eip155_chain_id(
buf: &mut &[u8], buf: &mut &[u8],
) -> alloy_rlp::Result<(Signature, Option<u64>)> { ) -> alloy_rlp::Result<(Signature, Option<u64>)> {
let v: u64 = Decodable::decode(buf)?; let v = Decodable::decode(buf)?;
let r: U256 = Decodable::decode(buf)?; let r: U256 = Decodable::decode(buf)?;
let s: U256 = Decodable::decode(buf)?; let s: U256 = Decodable::decode(buf)?;