mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: bump alloy version (#9545)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
297
Cargo.lock
generated
297
Cargo.lock
generated
@ -123,9 +123,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-consensus"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "da374e868f54c7f4ad2ad56829827badca388efd645f8cf5fccc61c2b5343504"
|
||||
checksum = "f58047cc851e58c26224521d1ecda466e3d746ebca0274cd5427aa660a88c353"
|
||||
dependencies = [
|
||||
"alloy-eips",
|
||||
"alloy-primitives",
|
||||
@ -133,8 +133,6 @@ dependencies = [
|
||||
"alloy-serde",
|
||||
"arbitrary",
|
||||
"c-kzg",
|
||||
"proptest",
|
||||
"proptest-derive 0.4.0",
|
||||
"serde",
|
||||
]
|
||||
|
||||
@ -158,9 +156,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-eips"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f76ecab54890cdea1e4808fc0891c7e6cfcf71fe1a9fe26810c7280ef768f4ed"
|
||||
checksum = "d32a3e14fa0d152d00bd8daf605eb74ad397efb0f54bd7155585823dddb4401e"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"alloy-rlp",
|
||||
@ -168,18 +166,17 @@ dependencies = [
|
||||
"arbitrary",
|
||||
"c-kzg",
|
||||
"derive_more",
|
||||
"k256",
|
||||
"once_cell",
|
||||
"proptest",
|
||||
"proptest-derive 0.4.0",
|
||||
"serde",
|
||||
"sha2 0.10.8",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "alloy-genesis"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bca15afde1b6d15e3fc1c97421262b1bbb37aee45752e3c8b6d6f13f776554ff"
|
||||
checksum = "20cb76c8a3913f2466c5488f3a915e3a15d15596bdc935558c1a9be75e9ec508"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"alloy-serde",
|
||||
@ -200,9 +197,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-json-rpc"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6d6f34930b7e3e2744bcc79056c217f00cb2abb33bc5d4ff88da7623c5bb078b"
|
||||
checksum = "0e76a9feec2352c78545d1a37415699817bae8dc41654bd1bfe57d6cdd5433bd"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"serde",
|
||||
@ -213,9 +210,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-network"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "25f6895fc31b48fa12306ef9b4f78b7764f8bd6d7d91cdb0a40e233704a0f23f"
|
||||
checksum = "3223d71dc78f464b2743418d0be8b5c894313e272105a6206ad5e867d67b3ce2"
|
||||
dependencies = [
|
||||
"alloy-consensus",
|
||||
"alloy-eips",
|
||||
@ -233,9 +230,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-node-bindings"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "494b2fb0276a78ec13791446a417c2517eee5c8e8a8c520ae0681975b8056e5c"
|
||||
checksum = "77a2864b3470d3c74bf50a70f4a5f3e87a7359870878a268be829d7caff42f13"
|
||||
dependencies = [
|
||||
"alloy-genesis",
|
||||
"alloy-primitives",
|
||||
@ -276,9 +273,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-provider"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9c538bfa893d07e27cb4f3c1ab5f451592b7c526d511d62b576a2ce59e146e4a"
|
||||
checksum = "f29da7457d853cb8199ec04b227d5d2ef598be3e59fc2bbad70c8be213292f32"
|
||||
dependencies = [
|
||||
"alloy-chains",
|
||||
"alloy-consensus",
|
||||
@ -312,9 +309,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-pubsub"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0a7341322d9bc0e49f6e9fd9f2eb8e30f73806f2dd12cbb3d6bab2694c921f87"
|
||||
checksum = "f64acfec654ade392cecfa9bba0408eb2a337d55f1b857925da79970cb70f3d6"
|
||||
dependencies = [
|
||||
"alloy-json-rpc",
|
||||
"alloy-primitives",
|
||||
@ -353,9 +350,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-client"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5ba31bae67773fd5a60020bea900231f8396202b7feca4d0c70c6b59308ab4a8"
|
||||
checksum = "f8a9e609524fa31c2c70eb24c0da60796809193ad4787a6dfe6d0db0d3ac112d"
|
||||
dependencies = [
|
||||
"alloy-json-rpc",
|
||||
"alloy-primitives",
|
||||
@ -377,21 +374,22 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-types"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "184a7a42c7ba9141cc9e76368356168c282c3bc3d9e5d78f3556bdfe39343447"
|
||||
checksum = "7e5d76f1e8b22f48b7b8f985782b68e7eb3938780e50e8b646a53e41a598cdf5"
|
||||
dependencies = [
|
||||
"alloy-rpc-types-engine",
|
||||
"alloy-rpc-types-eth",
|
||||
"alloy-rpc-types-trace",
|
||||
"alloy-serde",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-types-admin"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7e953064025c49dc9f6a3f3ac07a713487849065692228b33948f2714f2bb60d"
|
||||
checksum = "137f0014c3a61ccc5168289fcc214d7296c389c0bf60425c0f898cff1d7e4bec"
|
||||
dependencies = [
|
||||
"alloy-genesis",
|
||||
"alloy-primitives",
|
||||
@ -401,9 +399,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-types-anvil"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8c7cf4356a9d00df76d6e90d002e2a7b5edc1c8476e90e6f17ab868d99db6435"
|
||||
checksum = "4282c002a4ae9f57887dae57083fcca6dca09cb6685bf98b8582ea93cb3df97d"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"alloy-serde",
|
||||
@ -412,9 +410,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-types-beacon"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a5f2e67d3e2478902b71bbadcd564ee5bbcc71945a0010a1f0e87a2339c6f3f9"
|
||||
checksum = "9b47dcc8e3bebea57b1c9495a7e6f3313e99d355c0f5b80473cfbdfcbdd6ebea"
|
||||
dependencies = [
|
||||
"alloy-eips",
|
||||
"alloy-primitives",
|
||||
@ -426,9 +424,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-types-engine"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6e765962e3b82fd6f276a0873b5bd897e5d75a25f78fa9a6a21bd350d8e98a4e"
|
||||
checksum = "73445fbc5c02258e3d0d977835c92366a4d91545fd456c3fc8601c61810bc9f6"
|
||||
dependencies = [
|
||||
"alloy-consensus",
|
||||
"alloy-eips",
|
||||
@ -445,9 +443,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-types-eth"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ab4123ee21f99ba4bd31bfa36ba89112a18a500f8b452f02b35708b1b951e2b9"
|
||||
checksum = "605fa8462732bb8fd0645a9941e12961e079d45ae6a44634c826f8229c187bdf"
|
||||
dependencies = [
|
||||
"alloy-consensus",
|
||||
"alloy-eips",
|
||||
@ -458,8 +456,6 @@ dependencies = [
|
||||
"arbitrary",
|
||||
"itertools 0.13.0",
|
||||
"jsonrpsee-types",
|
||||
"proptest",
|
||||
"proptest-derive 0.4.0",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"thiserror",
|
||||
@ -467,9 +463,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-types-mev"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5dd8624e01721deacad6bc9af75abdf2e99d248df0e1ad5f3f0bda0b3c1d50fd"
|
||||
checksum = "5ffcb83a5a91d327c40ba2157a19016bb883c1426f1708fea5f9e042032fd73e"
|
||||
dependencies = [
|
||||
"alloy-eips",
|
||||
"alloy-primitives",
|
||||
@ -480,9 +476,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-types-trace"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "567933b1d95fd42cb70b75126e32afec2e5e2c3c16e7100a3f83dc1c80f4dc0e"
|
||||
checksum = "5f561a8cdd377b6ac3beab805b9df5ec2c7d99bb6139aab23c317f26df6fb346"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"alloy-rpc-types-eth",
|
||||
@ -494,9 +490,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-rpc-types-txpool"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3115f4eb1bb9ae9aaa0b24ce875a1d86d6689b16438a12377832def2b09e373c"
|
||||
checksum = "c06a4bd39910631c11148c5b2c55e2c61f8626affd2a612e382c668d5e5971ce"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"alloy-rpc-types-eth",
|
||||
@ -506,23 +502,21 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-serde"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9416c52959e66ead795a11f4a86c248410e9e368a0765710e57055b8a1774dd6"
|
||||
checksum = "15c5b9057acc02aee1b8aac2b5a0729cb0f73d080082c111313e5d1f92a96630"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"arbitrary",
|
||||
"proptest",
|
||||
"proptest-derive 0.4.0",
|
||||
"serde",
|
||||
"serde_json",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "alloy-signer"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b33753c09fa1ad85e5b092b8dc2372f1e337a42e84b9b4cff9fede75ba4adb32"
|
||||
checksum = "37f10592696f4ab8b687d5a8ab55e998a14ea0ca5f8eb20ad74a96ad671bb54a"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"async-trait",
|
||||
@ -534,9 +528,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-signer-local"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6dfc9c26fe6c6f1bad818c9a976de9044dd12e1f75f1f156a801ee3e8148c1b6"
|
||||
checksum = "0b537f3e55f30753578f4623d5f66ddad8fa582af3fa6b15bad23dd1b9775228"
|
||||
dependencies = [
|
||||
"alloy-consensus",
|
||||
"alloy-network",
|
||||
@ -621,9 +615,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-transport"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "01b51a291f949f755e6165c3ed562883175c97423703703355f4faa4b7d0a57c"
|
||||
checksum = "5b44b0f6f4a2593b258fa7b6cae8968e6a4c404d9ef4f5bc74401f2d04fa23fa"
|
||||
dependencies = [
|
||||
"alloy-json-rpc",
|
||||
"base64 0.22.1",
|
||||
@ -640,9 +634,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-transport-http"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "86d65871f9f1cafe1ed25cde2f1303be83e6473e995a2d56c275ae4fcce6119c"
|
||||
checksum = "6d8f1eefa8cb9e7550740ee330feba4fed303a77ad3085707546f9152a88c380"
|
||||
dependencies = [
|
||||
"alloy-json-rpc",
|
||||
"alloy-transport",
|
||||
@ -655,9 +649,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-transport-ipc"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cd7fbc8b6282ce41b01cbddef7bffb133fe6e1bf65dcd39770d45a905c051179"
|
||||
checksum = "31007c56dc65bd81392112dda4a14c20ac7e30bb4cb2e9176192e8d9fab1983f"
|
||||
dependencies = [
|
||||
"alloy-json-rpc",
|
||||
"alloy-pubsub",
|
||||
@ -674,9 +668,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alloy-transport-ws"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "aec83fd052684556c78c54df111433493267234d82321c2236560c752f595f20"
|
||||
checksum = "15ccc1c8f8ae415e93ec0e7851bd4cdf4afdd48793d13a91b860317da1f36104"
|
||||
dependencies = [
|
||||
"alloy-pubsub",
|
||||
"alloy-transport",
|
||||
@ -1274,6 +1268,19 @@ dependencies = [
|
||||
"generic-array",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bls12_381"
|
||||
version = "0.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d7bc6d6292be3a19e6379786dac800f551e5865a5bb51ebbe3064ab80433f403"
|
||||
dependencies = [
|
||||
"ff",
|
||||
"group",
|
||||
"pairing",
|
||||
"rand_core 0.6.4",
|
||||
"subtle",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "blst"
|
||||
version = "0.3.12"
|
||||
@ -1288,23 +1295,23 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "boa_ast"
|
||||
version = "0.18.0"
|
||||
version = "0.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5b6fb81ca0f301f33aff7401e2ffab37dc9e0e4a1cf0ccf6b34f4d9e60aa0682"
|
||||
checksum = "b49637e7ecb7c541c46c3e885d4c49326ad8076dbfb88bef2cf3165d8ea7df2b"
|
||||
dependencies = [
|
||||
"bitflags 2.6.0",
|
||||
"boa_interner",
|
||||
"boa_macros",
|
||||
"indexmap 2.2.6",
|
||||
"num-bigint",
|
||||
"rustc-hash 1.1.0",
|
||||
"rustc-hash 2.0.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "boa_engine"
|
||||
version = "0.18.0"
|
||||
version = "0.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "600e4e4a65b26efcef08a7b1cf2899d3845a32e82e067ee3b75eaf7e413ff31c"
|
||||
checksum = "411558b4cbc7d0303012e26721815e612fed78179313888fd5dd8d6c50d70099"
|
||||
dependencies = [
|
||||
"arrayvec",
|
||||
"bitflags 2.6.0",
|
||||
@ -1314,6 +1321,7 @@ dependencies = [
|
||||
"boa_macros",
|
||||
"boa_parser",
|
||||
"boa_profiler",
|
||||
"boa_string",
|
||||
"bytemuck",
|
||||
"cfg-if",
|
||||
"dashmap",
|
||||
@ -1322,18 +1330,17 @@ dependencies = [
|
||||
"icu_normalizer",
|
||||
"indexmap 2.2.6",
|
||||
"intrusive-collections",
|
||||
"itertools 0.12.1",
|
||||
"itertools 0.13.0",
|
||||
"num-bigint",
|
||||
"num-integer",
|
||||
"num-traits",
|
||||
"num_enum",
|
||||
"once_cell",
|
||||
"paste",
|
||||
"pollster",
|
||||
"portable-atomic",
|
||||
"rand 0.8.5",
|
||||
"regress",
|
||||
"rustc-hash 1.1.0",
|
||||
"rustc-hash 2.0.0",
|
||||
"ryu-js",
|
||||
"serde",
|
||||
"serde_json",
|
||||
@ -1347,21 +1354,22 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "boa_gc"
|
||||
version = "0.18.0"
|
||||
version = "0.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c055ef3cd87ea7db014779195bc90c6adfc35de4902e3b2fe587adecbd384578"
|
||||
checksum = "8eff345a85a39cf9b8ed863198947d61e6df2b1d774002b57341158b0ce2c525"
|
||||
dependencies = [
|
||||
"boa_macros",
|
||||
"boa_profiler",
|
||||
"boa_string",
|
||||
"hashbrown 0.14.5",
|
||||
"thin-vec",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "boa_interner"
|
||||
version = "0.18.0"
|
||||
version = "0.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0cacc9caf022d92195c827a3e5bf83f96089d4bfaff834b359ac7b6be46e9187"
|
||||
checksum = "72b779280420804c70da9043d152c84eb96e2f7c9e7d1ec3262decf59f9349df"
|
||||
dependencies = [
|
||||
"boa_gc",
|
||||
"boa_macros",
|
||||
@ -1369,15 +1377,15 @@ dependencies = [
|
||||
"indexmap 2.2.6",
|
||||
"once_cell",
|
||||
"phf",
|
||||
"rustc-hash 1.1.0",
|
||||
"rustc-hash 2.0.0",
|
||||
"static_assertions",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "boa_macros"
|
||||
version = "0.18.0"
|
||||
version = "0.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6be9c93793b60dac381af475b98634d4b451e28336e72218cad9a20176218dbc"
|
||||
checksum = "25e0097fa69cde4c95f9869654004340fbbe2bcf3ce9189ba2a31a65ac40e0a1"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@ -1387,9 +1395,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "boa_parser"
|
||||
version = "0.18.0"
|
||||
version = "0.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9e8592556849f0619ed142ce2b3a19086769314a8d657f93a5765d06dbce4818"
|
||||
checksum = "dd63fe8faf62561fc8c50f9402687e8cfde720b57d292fb3b4ac17c821878ac1"
|
||||
dependencies = [
|
||||
"bitflags 2.6.0",
|
||||
"boa_ast",
|
||||
@ -1401,14 +1409,27 @@ dependencies = [
|
||||
"num-bigint",
|
||||
"num-traits",
|
||||
"regress",
|
||||
"rustc-hash 1.1.0",
|
||||
"rustc-hash 2.0.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "boa_profiler"
|
||||
version = "0.18.0"
|
||||
version = "0.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e0d8372f2d5cbac600a260de87877141b42da1e18d2c7a08ccb493a49cbd55c0"
|
||||
checksum = "cd9da895f0df9e2a97b36c1f98e0c5d2ab963abc8679d80f2a66f7bcb211ce90"
|
||||
|
||||
[[package]]
|
||||
name = "boa_string"
|
||||
version = "0.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c9ca6668df83fcd3c2903f6f296b7180421908c5b478ebe0d1c468be9fd60e1c"
|
||||
dependencies = [
|
||||
"fast-float",
|
||||
"paste",
|
||||
"rustc-hash 2.0.0",
|
||||
"sptr",
|
||||
"static_assertions",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "boyer-moore-magiclen"
|
||||
@ -3045,6 +3066,7 @@ version = "0.13.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449"
|
||||
dependencies = [
|
||||
"bitvec",
|
||||
"rand_core 0.6.4",
|
||||
"subtle",
|
||||
]
|
||||
@ -3735,9 +3757,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "icu_collections"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "137d96353afc8544d437e8a99eceb10ab291352699573b0de5b08bda38c78c60"
|
||||
checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
|
||||
dependencies = [
|
||||
"displaydoc",
|
||||
"yoke",
|
||||
@ -3747,9 +3769,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "icu_locid"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5c0aa2536adc14c07e2a521e95512b75ed8ef832f0fdf9299d4a0a45d2be2a9d"
|
||||
checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
|
||||
dependencies = [
|
||||
"displaydoc",
|
||||
"litemap",
|
||||
@ -3760,9 +3782,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "icu_locid_transform"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "57c17d8f6524fdca4471101dd71f0a132eb6382b5d6d7f2970441cb25f6f435a"
|
||||
checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
|
||||
dependencies = [
|
||||
"displaydoc",
|
||||
"icu_locid",
|
||||
@ -3774,15 +3796,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "icu_locid_transform_data"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "545c6c3e8bf9580e2dafee8de6f9ec14826aaf359787789c7724f1f85f47d3dc"
|
||||
checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
|
||||
|
||||
[[package]]
|
||||
name = "icu_normalizer"
|
||||
version = "1.4.3"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "accb85c5b2e76f8dade22978b3795ae1e550198c6cfc7e915144e17cd6e2ab56"
|
||||
checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
|
||||
dependencies = [
|
||||
"displaydoc",
|
||||
"icu_collections",
|
||||
@ -3798,15 +3820,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "icu_normalizer_data"
|
||||
version = "1.4.1"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e3744fecc0df9ce19999cdaf1f9f3a48c253431ce1d67ef499128fe9d0b607ab"
|
||||
checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
|
||||
|
||||
[[package]]
|
||||
name = "icu_properties"
|
||||
version = "1.4.3"
|
||||
version = "1.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "db9e559598096627aeca8cdfb98138a70eb4078025f8d1d5f2416a361241f756"
|
||||
checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
|
||||
dependencies = [
|
||||
"displaydoc",
|
||||
"icu_collections",
|
||||
@ -3819,15 +3841,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "icu_properties_data"
|
||||
version = "1.4.1"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e70a8b51ee5dd4ff8f20ee9b1dd1bc07afc110886a3747b1fec04cc6e5a15815"
|
||||
checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
|
||||
|
||||
[[package]]
|
||||
name = "icu_provider"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ba58e782287eb6950247abbf11719f83f5d4e4a5c1f2cd490d30a334bc47c2f4"
|
||||
checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
|
||||
dependencies = [
|
||||
"displaydoc",
|
||||
"icu_locid",
|
||||
@ -3842,9 +3864,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "icu_provider_macros"
|
||||
version = "1.4.0"
|
||||
version = "1.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d2abdd3a62551e8337af119c5899e600ca0c88ec8f23a46c60ba216c803dcf1a"
|
||||
checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@ -4383,6 +4405,21 @@ version = "0.2.19"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a4933f3f57a8e9d9da04db23fb153356ecaf00cbd14aee46279c33dc80925c37"
|
||||
|
||||
[[package]]
|
||||
name = "kzg-rs"
|
||||
version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cd9920cd4460ce3cbca19c62f3bb9a9611562478a4dc9d2c556f4a7d049c5b6b"
|
||||
dependencies = [
|
||||
"bls12_381",
|
||||
"glob",
|
||||
"hex",
|
||||
"once_cell",
|
||||
"serde",
|
||||
"serde_derive",
|
||||
"serde_yaml",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lazy_static"
|
||||
version = "1.5.0"
|
||||
@ -4411,7 +4448,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"windows-targets 0.52.6",
|
||||
"windows-targets 0.48.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -5167,9 +5204,9 @@ checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
|
||||
|
||||
[[package]]
|
||||
name = "op-alloy-consensus"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b48c0a77ef55d1a1bd1742777fba58a3ddd4b25bf49e275b667a522f8583f5b9"
|
||||
checksum = "4d10e10cbbdb3931fed5109bbd570c0a6cf0ce08db1f93401cfb5cefc51998d1"
|
||||
dependencies = [
|
||||
"alloy-consensus",
|
||||
"alloy-eips",
|
||||
@ -5181,9 +5218,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "op-alloy-rpc-types"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bcd62a018e13a05284fa1686b78bd58c469de2e627401ba63c2ca06d7168f7e8"
|
||||
checksum = "9978c3d449abb03526d378988ae6d51b049ef36205cc97bf284574df9f578021"
|
||||
dependencies = [
|
||||
"alloy-network",
|
||||
"alloy-primitives",
|
||||
@ -5249,6 +5286,15 @@ dependencies = [
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pairing"
|
||||
version = "0.23.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "81fec4625e73cf41ef4bb6846cafa6d44736525f442ba45e407c4a000a13996f"
|
||||
dependencies = [
|
||||
"group",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "parity-scale-codec"
|
||||
version = "3.6.12"
|
||||
@ -6081,9 +6127,9 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
|
||||
|
||||
[[package]]
|
||||
name = "regress"
|
||||
version = "0.9.1"
|
||||
version = "0.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0eae2a1ebfecc58aff952ef8ccd364329abe627762f5bf09ff42eb9d98522479"
|
||||
checksum = "16fe0a24af5daaae947294213d2fd2646fbf5e1fbacc1d4ba3e84b2393854842"
|
||||
dependencies = [
|
||||
"hashbrown 0.14.5",
|
||||
"memchr",
|
||||
@ -8382,7 +8428,6 @@ dependencies = [
|
||||
"proptest",
|
||||
"proptest-derive 0.5.0",
|
||||
"rand 0.8.5",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"similar-asserts",
|
||||
]
|
||||
@ -8733,9 +8778,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "revm"
|
||||
version = "11.0.0"
|
||||
version = "12.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "44102920a77b38b0144f4b84dcaa31fe44746e78f53685c2ca0149af5312e048"
|
||||
checksum = "05f930db322034ac6c530d0d5137cd3f562da4bbc74ae533bc255e93f98245c7"
|
||||
dependencies = [
|
||||
"auto_impl",
|
||||
"cfg-if",
|
||||
@ -8748,9 +8793,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "revm-inspectors"
|
||||
version = "0.4.0"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "083fe9c20db39ab4d371e9c4d10367408fa3565ad277a4fa1770f7d9314e1b92"
|
||||
checksum = "1d37905c9d80d261bb24692b3627b00c4827d0aa9fb9e48271aa5d9ffcba06ca"
|
||||
dependencies = [
|
||||
"alloy-primitives",
|
||||
"alloy-rpc-types",
|
||||
@ -8766,9 +8811,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "revm-interpreter"
|
||||
version = "7.0.0"
|
||||
version = "8.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b2b319602039af3d130f792beba76592e7744bb3c4f2db5179758be33985a16b"
|
||||
checksum = "31e80a0eafda56c4e85453c16913d4c2a8e92b3772b75c35e99c516aec84b703"
|
||||
dependencies = [
|
||||
"revm-primitives",
|
||||
"serde",
|
||||
@ -8776,9 +8821,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "revm-precompile"
|
||||
version = "9.0.0"
|
||||
version = "9.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "86b441000a0d30e06269f822f42a13fa6bec922e951a84b643818651472c4fe6"
|
||||
checksum = "51b941a8459a7c883d098bd573d9eebf8d4229a10d91a0feed03b1173933525a"
|
||||
dependencies = [
|
||||
"aurora-engine-modexp",
|
||||
"blst",
|
||||
@ -8796,9 +8841,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "revm-primitives"
|
||||
version = "6.0.0"
|
||||
version = "7.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b518f536bacee396eb28a43f0984b25b2cd80f052ba4f2e794d554d711c13f33"
|
||||
checksum = "390a506e644fc09feeace6fa283b49ca0ea4bc2fe6d48d216baaa3b4332dc1da"
|
||||
dependencies = [
|
||||
"alloy-eips",
|
||||
"alloy-primitives",
|
||||
@ -8812,6 +8857,7 @@ dependencies = [
|
||||
"enumn",
|
||||
"hashbrown 0.14.5",
|
||||
"hex",
|
||||
"kzg-rs",
|
||||
"once_cell",
|
||||
"serde",
|
||||
]
|
||||
@ -9368,6 +9414,19 @@ dependencies = [
|
||||
"syn 2.0.71",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_yaml"
|
||||
version = "0.9.34+deprecated"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
|
||||
dependencies = [
|
||||
"indexmap 2.2.6",
|
||||
"itoa",
|
||||
"ryu",
|
||||
"serde",
|
||||
"unsafe-libyaml",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serial_test"
|
||||
version = "3.1.1"
|
||||
@ -10579,6 +10638,12 @@ dependencies = [
|
||||
"subtle",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unsafe-libyaml"
|
||||
version = "0.2.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
|
||||
|
||||
[[package]]
|
||||
name = "unsigned-varint"
|
||||
version = "0.7.2"
|
||||
|
||||
56
Cargo.toml
56
Cargo.toml
@ -373,15 +373,15 @@ reth-trie-common = { path = "crates/trie/common" }
|
||||
reth-trie-parallel = { path = "crates/trie/parallel" }
|
||||
|
||||
# revm
|
||||
revm = { version = "11.0.0", features = [
|
||||
revm = { version = "12.0.0", features = [
|
||||
"std",
|
||||
"secp256k1",
|
||||
"blst",
|
||||
], default-features = false }
|
||||
revm-primitives = { version = "6.0.0", features = [
|
||||
revm-primitives = { version = "7.0.0", features = [
|
||||
"std",
|
||||
], default-features = false }
|
||||
revm-inspectors = "0.4"
|
||||
revm-inspectors = "0.5"
|
||||
|
||||
# eth
|
||||
alloy-chains = "0.1.18"
|
||||
@ -390,37 +390,37 @@ alloy-dyn-abi = "0.7.2"
|
||||
alloy-sol-types = "0.7.2"
|
||||
alloy-rlp = "0.3.4"
|
||||
alloy-trie = "0.4"
|
||||
alloy-rpc-types = { version = "0.1", default-features = false, features = [
|
||||
alloy-rpc-types = { version = "0.2", default-features = false, features = [
|
||||
"eth",
|
||||
] }
|
||||
alloy-rpc-types-anvil = { version = "0.1", default-features = false }
|
||||
alloy-rpc-types-beacon = { version = "0.1", default-features = false }
|
||||
alloy-rpc-types-admin = { version = "0.1", default-features = false }
|
||||
alloy-rpc-types-txpool = { version = "0.1", default-features = false }
|
||||
alloy-serde = { version = "0.1", default-features = false }
|
||||
alloy-rpc-types-engine = { version = "0.1", default-features = false }
|
||||
alloy-rpc-types-eth = { version = "0.1", default-features = false }
|
||||
alloy-rpc-types-mev = { version = "0.1", default-features = false }
|
||||
alloy-rpc-types-trace = { version = "0.1", default-features = false }
|
||||
alloy-genesis = { version = "0.1", default-features = false }
|
||||
alloy-node-bindings = { version = "0.1", default-features = false }
|
||||
alloy-provider = { version = "0.1", default-features = false, features = [
|
||||
alloy-rpc-types-anvil = { version = "0.2", default-features = false }
|
||||
alloy-rpc-types-beacon = { version = "0.2", default-features = false }
|
||||
alloy-rpc-types-admin = { version = "0.2", default-features = false }
|
||||
alloy-rpc-types-txpool = { version = "0.2", default-features = false }
|
||||
alloy-serde = { version = "0.2", default-features = false }
|
||||
alloy-rpc-types-engine = { version = "0.2", default-features = false }
|
||||
alloy-rpc-types-eth = { version = "0.2", default-features = false }
|
||||
alloy-rpc-types-mev = { version = "0.2", default-features = false }
|
||||
alloy-rpc-types-trace = { version = "0.2", default-features = false }
|
||||
alloy-genesis = { version = "0.2", default-features = false }
|
||||
alloy-node-bindings = { version = "0.2", default-features = false }
|
||||
alloy-provider = { version = "0.2", default-features = false, features = [
|
||||
"reqwest",
|
||||
] }
|
||||
alloy-eips = { version = "0.1", default-features = false }
|
||||
alloy-signer = { version = "0.1", default-features = false }
|
||||
alloy-signer-local = { version = "0.1", default-features = false }
|
||||
alloy-network = { version = "0.1", default-features = false }
|
||||
alloy-consensus = { version = "0.1", default-features = false }
|
||||
alloy-transport = { version = "0.1" }
|
||||
alloy-transport-http = { version = "0.1", features = [
|
||||
alloy-eips = { version = "0.2", default-features = false }
|
||||
alloy-signer = { version = "0.2", default-features = false }
|
||||
alloy-signer-local = { version = "0.2", default-features = false }
|
||||
alloy-network = { version = "0.2", default-features = false }
|
||||
alloy-consensus = { version = "0.2", default-features = false }
|
||||
alloy-transport = { version = "0.2" }
|
||||
alloy-transport-http = { version = "0.2", features = [
|
||||
"reqwest-rustls-tls",
|
||||
], default-features = false }
|
||||
alloy-transport-ws = { version = "0.1", default-features = false }
|
||||
alloy-transport-ipc = { version = "0.1", default-features = false }
|
||||
alloy-pubsub = { version = "0.1", default-features = false }
|
||||
alloy-json-rpc = { version = "0.1", default-features = false }
|
||||
alloy-rpc-client = { version = "0.1", default-features = false }
|
||||
alloy-transport-ws = { version = "0.2", default-features = false }
|
||||
alloy-transport-ipc = { version = "0.2", default-features = false }
|
||||
alloy-pubsub = { version = "0.2", default-features = false }
|
||||
alloy-json-rpc = { version = "0.2", default-features = false }
|
||||
alloy-rpc-client = { version = "0.2", default-features = false }
|
||||
|
||||
# op
|
||||
op-alloy-rpc-types = "0.1"
|
||||
|
||||
@ -48,9 +48,8 @@ pub fn op_receipt_fields(
|
||||
let mut op_fields = OptimismTransactionReceiptFields::default();
|
||||
|
||||
if tx.is_deposit() {
|
||||
op_fields.deposit_nonce = receipt.deposit_nonce.map(reth_primitives::U64::from);
|
||||
op_fields.deposit_receipt_version =
|
||||
receipt.deposit_receipt_version.map(reth_primitives::U64::from);
|
||||
op_fields.deposit_nonce = receipt.deposit_nonce;
|
||||
op_fields.deposit_receipt_version = receipt.deposit_receipt_version;
|
||||
} else if let Some(l1_block_info) = optimism_tx_meta.l1_block_info {
|
||||
op_fields.l1_fee = optimism_tx_meta.l1_fee;
|
||||
op_fields.l1_gas_used = optimism_tx_meta.l1_data_gas.map(|dg| {
|
||||
|
||||
@ -221,7 +221,7 @@ impl TryFrom<alloy_rpc_types::Transaction> for Transaction {
|
||||
.ok_or_else(|| ConversionError::Custom("MissingSourceHash".to_string()))?,
|
||||
from: tx.from,
|
||||
to: TxKind::from(tx.to),
|
||||
mint: fields.mint.map(|n| n.to::<u128>()).filter(|n| *n != 0),
|
||||
mint: fields.mint.filter(|n| *n != 0),
|
||||
value: tx.value,
|
||||
gas_limit: tx
|
||||
.gas
|
||||
|
||||
@ -69,7 +69,7 @@ pub struct TxEip7702 {
|
||||
/// Authorizations are used to temporarily set the code of its signer to
|
||||
/// the code referenced by `address`. These also include a `chain_id` (which
|
||||
/// can be set to zero and not evaluated) as well as an optional `nonce`.
|
||||
pub authorization_list: Vec<SignedAuthorization<alloy_primitives::Signature>>,
|
||||
pub authorization_list: Vec<SignedAuthorization>,
|
||||
/// Input has two uses depending if the transaction `to` field is [`TxKind::Create`] or
|
||||
/// [`TxKind::Call`].
|
||||
///
|
||||
@ -110,7 +110,7 @@ impl TxEip7702 {
|
||||
self.to.size() + // to
|
||||
mem::size_of::<U256>() + // value
|
||||
self.access_list.size() + // access_list
|
||||
mem::size_of::<SignedAuthorization<alloy_primitives::Signature>>()
|
||||
mem::size_of::<SignedAuthorization>()
|
||||
* self.authorization_list.capacity() + // authorization_list
|
||||
self.input.len() // input
|
||||
}
|
||||
|
||||
@ -262,9 +262,7 @@ impl Transaction {
|
||||
/// Returns the [`SignedAuthorization`] list of the transaction.
|
||||
///
|
||||
/// Returns `None` if this transaction is not EIP-7702.
|
||||
pub fn authorization_list(
|
||||
&self,
|
||||
) -> Option<&[SignedAuthorization<alloy_primitives::Signature>]> {
|
||||
pub fn authorization_list(&self) -> Option<&[SignedAuthorization]> {
|
||||
match self {
|
||||
Self::Eip7702(tx) => Some(&tx.authorization_list),
|
||||
_ => None,
|
||||
|
||||
@ -540,7 +540,7 @@ where
|
||||
let local_hash = self
|
||||
.inner
|
||||
.provider
|
||||
.block_hash(terminal_block_number.to())
|
||||
.block_hash(terminal_block_number)
|
||||
.map_err(|err| EngineApiError::Internal(Box::new(err)))?;
|
||||
|
||||
// Transition configuration exchange is successful if block hashes match
|
||||
@ -1154,7 +1154,7 @@ mod tests {
|
||||
.ttd()
|
||||
.unwrap(),
|
||||
terminal_block_hash: consensus_terminal_block.hash(),
|
||||
terminal_block_number: U64::from(terminal_block_number),
|
||||
terminal_block_number,
|
||||
};
|
||||
|
||||
// Unknown block number
|
||||
@ -1196,7 +1196,7 @@ mod tests {
|
||||
.ttd()
|
||||
.unwrap(),
|
||||
terminal_block_hash: terminal_block.hash(),
|
||||
terminal_block_number: U64::from(terminal_block_number),
|
||||
terminal_block_number,
|
||||
};
|
||||
|
||||
handle.provider.add_block(terminal_block.hash(), terminal_block.unseal());
|
||||
|
||||
@ -489,13 +489,16 @@ impl From<revm::primitives::InvalidTransaction> for RpcInvalidTransactionError {
|
||||
Self::AuthorizationListInvalidFields
|
||||
}
|
||||
#[cfg(feature = "optimism")]
|
||||
InvalidTransaction::DepositSystemTxPostRegolith => {
|
||||
Self::other(OptimismInvalidTransactionError::DepositSystemTxPostRegolith)
|
||||
}
|
||||
#[cfg(feature = "optimism")]
|
||||
InvalidTransaction::HaltedDepositPostRegolith => {
|
||||
Self::Other(Box::new(OptimismInvalidTransactionError::HaltedDepositPostRegolith))
|
||||
}
|
||||
InvalidTransaction::OptimismError(err) => match err {
|
||||
revm_primitives::OptimismInvalidTransaction::DepositSystemTxPostRegolith => {
|
||||
Self::other(OptimismInvalidTransactionError::DepositSystemTxPostRegolith)
|
||||
}
|
||||
revm_primitives::OptimismInvalidTransaction::HaltedDepositPostRegolith => {
|
||||
Self::Other(Box::new(
|
||||
OptimismInvalidTransactionError::HaltedDepositPostRegolith,
|
||||
))
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -105,6 +105,7 @@ impl ReceiptBuilder {
|
||||
// EIP-4844 fields
|
||||
blob_gas_price,
|
||||
blob_gas_used: blob_gas_used.map(u128::from),
|
||||
authorization_list: transaction.authorization_list().map(|l| l.to_vec()),
|
||||
};
|
||||
|
||||
Ok(Self { base, other: Default::default() })
|
||||
|
||||
@ -254,7 +254,7 @@ where
|
||||
let mut account_info = DatabaseRef::basic_ref(db, account)?.unwrap_or_default();
|
||||
|
||||
if let Some(nonce) = account_override.nonce {
|
||||
account_info.nonce = nonce.to();
|
||||
account_info.nonce = nonce;
|
||||
}
|
||||
if let Some(code) = account_override.code {
|
||||
account_info.code = Some(Bytecode::new_raw(code));
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
//! Compatibility functions for rpc proof related types.
|
||||
|
||||
use reth_primitives::U64;
|
||||
use reth_rpc_types::{
|
||||
serde_helpers::JsonStorageKey, EIP1186AccountProofResponse, EIP1186StorageProof,
|
||||
};
|
||||
@ -18,7 +17,7 @@ pub fn from_primitive_account_proof(proof: AccountProof) -> EIP1186AccountProofR
|
||||
address: proof.address,
|
||||
balance: info.balance,
|
||||
code_hash: info.get_bytecode_hash(),
|
||||
nonce: U64::from(info.nonce),
|
||||
nonce: info.nonce,
|
||||
storage_hash: proof.storage_root,
|
||||
account_proof: proof.proof,
|
||||
storage_proof: proof.storage_proofs.into_iter().map(from_primitive_storage_proof).collect(),
|
||||
|
||||
@ -73,7 +73,7 @@ fn fill(
|
||||
let chain_id = signed_tx.chain_id();
|
||||
let blob_versioned_hashes = signed_tx.blob_versioned_hashes();
|
||||
let access_list = signed_tx.access_list().cloned();
|
||||
let _authorization_list = signed_tx.authorization_list();
|
||||
let authorization_list = signed_tx.authorization_list().map(|l| l.to_vec());
|
||||
|
||||
let signature =
|
||||
from_primitive_signature(*signed_tx.signature(), signed_tx.tx_type(), signed_tx.chain_id());
|
||||
@ -101,11 +101,12 @@ fn fill(
|
||||
// EIP-4844 fields
|
||||
max_fee_per_blob_gas: signed_tx.max_fee_per_blob_gas(),
|
||||
blob_versioned_hashes,
|
||||
authorization_list,
|
||||
// Optimism fields
|
||||
#[cfg(feature = "optimism")]
|
||||
other: reth_rpc_types::optimism::OptimismTransactionFields {
|
||||
source_hash: signed_tx.source_hash(),
|
||||
mint: signed_tx.mint().map(reth_primitives::U128::from),
|
||||
mint: signed_tx.mint(),
|
||||
is_system_tx: signed_tx.is_deposit().then_some(signed_tx.is_system_transaction()),
|
||||
}
|
||||
.into(),
|
||||
|
||||
@ -26,7 +26,6 @@ alloy-serde.workspace = true
|
||||
alloy-rpc-types-engine = { workspace = true, features = ["jsonrpsee-types"] }
|
||||
|
||||
# misc
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
jsonrpsee-types = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
#[allow(hidden_glob_reexports)]
|
||||
mod eth;
|
||||
mod peer;
|
||||
mod rpc;
|
||||
|
||||
// re-export for convenience
|
||||
pub use alloy_rpc_types::serde_helpers;
|
||||
@ -54,4 +53,3 @@ pub use eth::{
|
||||
};
|
||||
|
||||
pub use peer::*;
|
||||
pub use rpc::*;
|
||||
|
||||
@ -1,42 +0,0 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::collections::HashMap;
|
||||
|
||||
/// Represents the `rpc_modules` response, which returns the
|
||||
/// list of all available modules on that transport and their version
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Default)]
|
||||
#[serde(transparent)]
|
||||
pub struct RpcModules {
|
||||
module_map: HashMap<String, String>,
|
||||
}
|
||||
|
||||
impl RpcModules {
|
||||
/// Create a new instance of `RPCModules`
|
||||
pub const fn new(module_map: HashMap<String, String>) -> Self {
|
||||
Self { module_map }
|
||||
}
|
||||
|
||||
/// Consumes self and returns the inner hashmap mapping module names to their versions
|
||||
pub fn into_modules(self) -> HashMap<String, String> {
|
||||
self.module_map
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn test_parse_module_versions_roundtrip() {
|
||||
let s = r#"{"txpool":"1.0","trace":"1.0","eth":"1.0","web3":"1.0","net":"1.0"}"#;
|
||||
let module_map = HashMap::from([
|
||||
("txpool".to_owned(), "1.0".to_owned()),
|
||||
("trace".to_owned(), "1.0".to_owned()),
|
||||
("eth".to_owned(), "1.0".to_owned()),
|
||||
("web3".to_owned(), "1.0".to_owned()),
|
||||
("net".to_owned(), "1.0".to_owned()),
|
||||
]);
|
||||
let m = RpcModules::new(module_map);
|
||||
let de_serialized: RpcModules = serde_json::from_str(s).unwrap();
|
||||
assert_eq!(de_serialized, m);
|
||||
}
|
||||
}
|
||||
@ -1,7 +1,6 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use alloy_genesis::ChainConfig;
|
||||
use alloy_primitives::B256;
|
||||
use async_trait::async_trait;
|
||||
use jsonrpsee::core::RpcResult;
|
||||
use reth_chainspec::ChainSpec;
|
||||
@ -116,7 +115,7 @@ where
|
||||
};
|
||||
|
||||
let node_info = NodeInfo {
|
||||
id: B256::from_slice(&enode.id.as_slice()[..32]),
|
||||
id: enode.id.to_string(),
|
||||
name: status.client_version,
|
||||
enode: enode.to_string(),
|
||||
enr: self.network.local_enr().to_string(),
|
||||
|
||||
@ -49,11 +49,12 @@ mod tests {
|
||||
use super::*;
|
||||
use alloy_primitives::Bytes;
|
||||
use proptest::proptest;
|
||||
use proptest_arbitrary_interop::arb;
|
||||
use serde::Deserialize;
|
||||
|
||||
proptest! {
|
||||
#[test]
|
||||
fn test_roundtrip_compact_access_list_item(access_list_item: AccessListItem) {
|
||||
fn test_roundtrip_compact_access_list_item(access_list_item in arb::<AccessListItem>()) {
|
||||
let mut compacted_access_list_item = Vec::<u8>::new();
|
||||
let len = access_list_item.clone().to_compact(&mut compacted_access_list_item);
|
||||
|
||||
@ -64,7 +65,7 @@ mod tests {
|
||||
|
||||
proptest! {
|
||||
#[test]
|
||||
fn test_roundtrip_compact_access_list(access_list: AccessList) {
|
||||
fn test_roundtrip_compact_access_list(access_list in arb::<AccessList>()) {
|
||||
let mut compacted_access_list = Vec::<u8>::new();
|
||||
let len = access_list.clone().to_compact(&mut compacted_access_list);
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ impl Compact for AlloyAuthorization {
|
||||
}
|
||||
}
|
||||
|
||||
impl Compact for SignedAuthorization<alloy_primitives::Signature> {
|
||||
impl Compact for SignedAuthorization {
|
||||
fn to_compact<B>(self, buf: &mut B) -> usize
|
||||
where
|
||||
B: bytes::BufMut + AsMut<[u8]>,
|
||||
|
||||
@ -49,10 +49,11 @@ impl Compact for AlloyWithdrawal {
|
||||
mod tests {
|
||||
use super::*;
|
||||
use proptest::proptest;
|
||||
use proptest_arbitrary_interop::arb;
|
||||
|
||||
proptest! {
|
||||
#[test]
|
||||
fn roundtrip(withdrawal: AlloyWithdrawal) {
|
||||
fn roundtrip(withdrawal in arb::<AlloyWithdrawal>()) {
|
||||
let mut compacted_withdrawal = Vec::<u8>::new();
|
||||
let len = withdrawal.to_compact(&mut compacted_withdrawal);
|
||||
let (decoded, _) = AlloyWithdrawal::from_compact(&compacted_withdrawal, len);
|
||||
|
||||
Reference in New Issue
Block a user