From 8cbdbab03a8bfd27ff0f305be561c39c8cfecf44 Mon Sep 17 00:00:00 2001 From: ByteYue Date: Tue, 17 Mar 2026 13:59:31 +0800 Subject: [PATCH 1/2] 1st --- Cargo.lock | 598 +++++++++--------- Cargo.toml | 2 +- bin/gravity_node/Cargo.toml | 2 +- .../hardfork_test/cluster.toml | 29 + .../hardfork_test/genesis.toml | 83 +++ .../hardfork_test/hardfork_utils.py | 191 ++++++ .../cluster_test_cases/hardfork_test/hooks.py | 93 +++ .../hardfork_test/test_hardfork.py | 280 ++++++++ 8 files changed, 977 insertions(+), 301 deletions(-) create mode 100644 gravity_e2e/cluster_test_cases/hardfork_test/cluster.toml create mode 100644 gravity_e2e/cluster_test_cases/hardfork_test/genesis.toml create mode 100644 gravity_e2e/cluster_test_cases/hardfork_test/hardfork_utils.py create mode 100644 gravity_e2e/cluster_test_cases/hardfork_test/hooks.py create mode 100644 gravity_e2e/cluster_test_cases/hardfork_test/test_hardfork.py diff --git a/Cargo.lock b/Cargo.lock index 998af101..43388563 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,7 +11,7 @@ checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" [[package]] name = "abstract-domain-derive" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "proc-macro2", "quote", @@ -1073,7 +1073,7 @@ dependencies = [ [[package]] name = "api-types" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "async-trait", @@ -1095,7 +1095,7 @@ dependencies = [ [[package]] name = "aptos-abstract-gas-usage" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-gas-algebra", @@ -1108,7 +1108,7 @@ dependencies = [ [[package]] name = "aptos-accumulator" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-crypto", @@ -1118,7 +1118,7 @@ dependencies = [ [[package]] name = "aptos-aggregator" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-types", "bcs 0.1.4", @@ -1131,7 +1131,7 @@ dependencies = [ [[package]] name = "aptos-api" version = "0.2.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-api-types", @@ -1142,7 +1142,7 @@ dependencies = [ "aptos-gas-schedule", "aptos-global-constants", "aptos-logger", - "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-metrics-core", "aptos-runtimes", "aptos-sdk", @@ -1172,7 +1172,7 @@ dependencies = [ [[package]] name = "aptos-api-types" version = "0.0.1" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-config", @@ -1202,7 +1202,7 @@ dependencies = [ [[package]] name = "aptos-bcs-utils" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "hex", @@ -1211,7 +1211,7 @@ dependencies = [ [[package]] name = "aptos-bitvec" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "proptest", "serde", @@ -1221,7 +1221,7 @@ dependencies = [ [[package]] name = "aptos-block-executor" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "ambassador", "anyhow", @@ -1259,7 +1259,7 @@ dependencies = [ [[package]] name = "aptos-block-partitioner" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-crypto", "aptos-logger", @@ -1282,7 +1282,7 @@ dependencies = [ [[package]] name = "aptos-bounded-executor" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "futures", "rustversion", @@ -1292,7 +1292,7 @@ dependencies = [ [[package]] name = "aptos-build-info" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "shadow-rs", ] @@ -1300,7 +1300,7 @@ dependencies = [ [[package]] name = "aptos-cached-packages" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-framework", @@ -1314,7 +1314,7 @@ dependencies = [ [[package]] name = "aptos-channels" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-infallible", @@ -1325,12 +1325,12 @@ dependencies = [ [[package]] name = "aptos-collections" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" [[package]] name = "aptos-compression" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-logger", "aptos-metrics-core", @@ -1342,7 +1342,7 @@ dependencies = [ [[package]] name = "aptos-config" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-crypto", @@ -1433,7 +1433,7 @@ dependencies = [ [[package]] name = "aptos-consensus" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-bitvec", @@ -1442,25 +1442,25 @@ dependencies = [ "aptos-collections", "aptos-config", "aptos-consensus-notifications", - "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-crypto", "aptos-crypto-derive", "aptos-dkg", "aptos-enum-conversion-derive", "aptos-event-notifications", - "aptos-executor 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", - "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-executor 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", + "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-experimental-runtimes", "aptos-fallible", "aptos-infallible", "aptos-logger", - "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-metrics-core", "aptos-network", "aptos-peer-monitoring-service-types", "aptos-reliable-broadcast", "aptos-runtimes", - "aptos-safety-rules 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-safety-rules 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-schemadb", "aptos-secure-storage", "aptos-short-hex-str", @@ -1511,7 +1511,7 @@ dependencies = [ [[package]] name = "aptos-consensus-notifications" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-crypto", "aptos-runtimes", @@ -1549,13 +1549,13 @@ dependencies = [ [[package]] name = "aptos-consensus-types" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-bitvec", "aptos-crypto", "aptos-crypto-derive", - "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-infallible", "aptos-logger", "aptos-short-hex-str", @@ -1577,7 +1577,7 @@ dependencies = [ [[package]] name = "aptos-crash-handler" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-logger", "backtrace", @@ -1589,7 +1589,7 @@ dependencies = [ [[package]] name = "aptos-crypto" version = "0.0.3" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aes-gcm", "anyhow", @@ -1643,7 +1643,7 @@ dependencies = [ [[package]] name = "aptos-crypto-derive" version = "0.0.3" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "proc-macro2", "quote", @@ -1653,7 +1653,7 @@ dependencies = [ [[package]] name = "aptos-data-client" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-config", "aptos-crypto", @@ -1684,7 +1684,7 @@ dependencies = [ [[package]] name = "aptos-data-streaming-service" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-channels", "aptos-config", @@ -1710,7 +1710,7 @@ dependencies = [ [[package]] name = "aptos-db" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-accumulator", @@ -1718,7 +1718,7 @@ dependencies = [ "aptos-crypto", "aptos-db-indexer", "aptos-db-indexer-schemas", - "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-experimental-runtimes", "aptos-infallible", "aptos-jellyfish-merkle", @@ -1756,7 +1756,7 @@ dependencies = [ [[package]] name = "aptos-db-indexer" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-config", @@ -1778,7 +1778,7 @@ dependencies = [ [[package]] name = "aptos-db-indexer-schemas" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-crypto", @@ -1795,7 +1795,7 @@ dependencies = [ [[package]] name = "aptos-dkg" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-crypto", @@ -1827,13 +1827,13 @@ dependencies = [ [[package]] name = "aptos-dkg-runtime" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-bounded-executor", "aptos-channels", "aptos-config", - "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-crypto", "aptos-crypto-derive", "aptos-enum-conversion-derive", @@ -1844,7 +1844,7 @@ dependencies = [ "aptos-network", "aptos-reliable-broadcast", "aptos-runtimes", - "aptos-safety-rules 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-safety-rules 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-time-service", "aptos-types", "aptos-validator-transaction-pool", @@ -1866,7 +1866,7 @@ dependencies = [ [[package]] name = "aptos-drop-helper" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-infallible", "aptos-metrics-core", @@ -1877,7 +1877,7 @@ dependencies = [ [[package]] name = "aptos-enum-conversion-derive" version = "0.0.3" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "quote", "syn 1.0.109", @@ -1886,7 +1886,7 @@ dependencies = [ [[package]] name = "aptos-event-notifications" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "api-types", @@ -1916,15 +1916,15 @@ dependencies = [ [[package]] name = "aptos-executor" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-block-executor", - "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-crypto", "aptos-drop-helper", "aptos-executor-service", - "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-experimental-runtimes", "aptos-indexer-grpc-table-info", "aptos-infallible", @@ -1947,7 +1947,7 @@ dependencies = [ [[package]] name = "aptos-executor-service" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-block-executor", "aptos-block-partitioner", @@ -1978,16 +1978,16 @@ dependencies = [ [[package]] name = "aptos-executor-test-helpers" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-cached-packages", "aptos-config", - "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-crypto", "aptos-db", - "aptos-executor 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", - "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-executor 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", + "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-sdk", "aptos-storage-interface", "aptos-temppath", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "aptos-executor-types" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-crypto", @@ -2036,7 +2036,7 @@ dependencies = [ [[package]] name = "aptos-experimental-layered-map" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "ahash 0.8.12", "aptos-crypto", @@ -2051,7 +2051,7 @@ dependencies = [ [[package]] name = "aptos-experimental-runtimes" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-runtimes", "core_affinity", @@ -2064,7 +2064,7 @@ dependencies = [ [[package]] name = "aptos-fallible" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "thiserror 1.0.69", ] @@ -2072,7 +2072,7 @@ dependencies = [ [[package]] name = "aptos-framework" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-aggregator", @@ -2143,7 +2143,7 @@ dependencies = [ [[package]] name = "aptos-gas-algebra" version = "0.0.1" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "either", "move-core-types", @@ -2152,7 +2152,7 @@ dependencies = [ [[package]] name = "aptos-gas-meter" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-gas-algebra", "aptos-gas-schedule", @@ -2167,7 +2167,7 @@ dependencies = [ [[package]] name = "aptos-gas-profiling" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-gas-algebra", @@ -2187,7 +2187,7 @@ dependencies = [ [[package]] name = "aptos-gas-schedule" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-gas-algebra", "aptos-global-constants", @@ -2200,17 +2200,17 @@ dependencies = [ [[package]] name = "aptos-global-constants" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" [[package]] name = "aptos-id-generator" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" [[package]] name = "aptos-indexer-grpc-fullnode" version = "1.0.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-api", @@ -2219,7 +2219,7 @@ dependencies = [ "aptos-config", "aptos-indexer-grpc-utils", "aptos-logger", - "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-metrics-core", "aptos-moving-average", "aptos-protos", @@ -2246,7 +2246,7 @@ dependencies = [ [[package]] name = "aptos-indexer-grpc-table-info" version = "1.0.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-api", @@ -2256,7 +2256,7 @@ dependencies = [ "aptos-indexer-grpc-fullnode", "aptos-indexer-grpc-utils", "aptos-logger", - "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-metrics-core", "aptos-runtimes", "aptos-storage-interface", @@ -2278,7 +2278,7 @@ dependencies = [ [[package]] name = "aptos-indexer-grpc-utils" version = "1.0.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-metrics-core", @@ -2314,12 +2314,12 @@ dependencies = [ [[package]] name = "aptos-infallible" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" [[package]] name = "aptos-inspection-service" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-build-info", @@ -2345,7 +2345,7 @@ dependencies = [ [[package]] name = "aptos-jellyfish-merkle" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-crypto", @@ -2373,7 +2373,7 @@ dependencies = [ [[package]] name = "aptos-jwk-consensus" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "api-types", @@ -2381,7 +2381,7 @@ dependencies = [ "aptos-bounded-executor", "aptos-channels", "aptos-config", - "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-crypto", "aptos-enum-conversion-derive", "aptos-event-notifications", @@ -2392,7 +2392,7 @@ dependencies = [ "aptos-network", "aptos-reliable-broadcast", "aptos-runtimes", - "aptos-safety-rules 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-safety-rules 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-time-service", "aptos-types", "aptos-validator-transaction-pool", @@ -2411,7 +2411,7 @@ dependencies = [ [[package]] name = "aptos-jwk-utils" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-types", @@ -2426,7 +2426,7 @@ dependencies = [ [[package]] name = "aptos-keygen" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-crypto", "aptos-types", @@ -2436,7 +2436,7 @@ dependencies = [ [[package]] name = "aptos-language-e2e-tests" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-abstract-gas-usage", @@ -2482,7 +2482,7 @@ dependencies = [ [[package]] name = "aptos-ledger" version = "0.2.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-crypto", "aptos-types", @@ -2495,7 +2495,7 @@ dependencies = [ [[package]] name = "aptos-log-derive" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "proc-macro2", "quote", @@ -2505,7 +2505,7 @@ dependencies = [ [[package]] name = "aptos-logger" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-infallible", @@ -2531,7 +2531,7 @@ dependencies = [ [[package]] name = "aptos-memory-usage-tracker" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-gas-algebra", "aptos-gas-meter", @@ -2572,13 +2572,13 @@ dependencies = [ [[package]] name = "aptos-mempool" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-bounded-executor", "aptos-channels", "aptos-config", - "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-crypto", "aptos-event-notifications", "aptos-infallible", @@ -2613,7 +2613,7 @@ dependencies = [ [[package]] name = "aptos-mempool-notifications" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-types", "async-trait", @@ -2626,7 +2626,7 @@ dependencies = [ [[package]] name = "aptos-memsocket" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-infallible", "bytes", @@ -2637,7 +2637,7 @@ dependencies = [ [[package]] name = "aptos-metrics-core" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "prometheus", @@ -2646,7 +2646,7 @@ dependencies = [ [[package]] name = "aptos-move-stdlib" version = "0.1.1" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-gas-schedule", "aptos-native-interface", @@ -2671,7 +2671,7 @@ dependencies = [ [[package]] name = "aptos-mvhashmap" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-aggregator", @@ -2692,7 +2692,7 @@ dependencies = [ [[package]] name = "aptos-native-interface" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-gas-algebra", "aptos-gas-schedule", @@ -2709,7 +2709,7 @@ dependencies = [ [[package]] name = "aptos-netcore" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-memsocket", "aptos-proxy", @@ -2726,7 +2726,7 @@ dependencies = [ [[package]] name = "aptos-network" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-bitvec", @@ -2775,7 +2775,7 @@ dependencies = [ [[package]] name = "aptos-network-builder" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-channels", "aptos-config", @@ -2798,7 +2798,7 @@ dependencies = [ [[package]] name = "aptos-network-discovery" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-channels", @@ -2823,7 +2823,7 @@ dependencies = [ [[package]] name = "aptos-node-resource-metrics" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-build-info", "aptos-infallible", @@ -2840,7 +2840,7 @@ dependencies = [ [[package]] name = "aptos-num-variants" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "proc-macro2", "quote", @@ -2850,7 +2850,7 @@ dependencies = [ [[package]] name = "aptos-openapi" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "percent-encoding", "poem", @@ -2862,7 +2862,7 @@ dependencies = [ [[package]] name = "aptos-package-builder" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-framework", @@ -2875,7 +2875,7 @@ dependencies = [ [[package]] name = "aptos-peer-monitoring-service-types" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-config", "aptos-types", @@ -2887,7 +2887,7 @@ dependencies = [ [[package]] name = "aptos-proptest-helpers" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "crossbeam", "proptest", @@ -2897,7 +2897,7 @@ dependencies = [ [[package]] name = "aptos-protos" version = "1.3.1" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "pbjson", "prost", @@ -2908,7 +2908,7 @@ dependencies = [ [[package]] name = "aptos-proxy" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "ipnet", ] @@ -2916,7 +2916,7 @@ dependencies = [ [[package]] name = "aptos-push-metrics" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-logger", "aptos-metrics-core", @@ -2928,11 +2928,11 @@ dependencies = [ [[package]] name = "aptos-reliable-broadcast" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-bounded-executor", - "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-enum-conversion-derive", "aptos-infallible", "aptos-logger", @@ -2950,7 +2950,7 @@ dependencies = [ [[package]] name = "aptos-resource-viewer" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-types", @@ -2965,7 +2965,7 @@ dependencies = [ [[package]] name = "aptos-rest-client" version = "0.0.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-api-types", @@ -2988,7 +2988,7 @@ dependencies = [ [[package]] name = "aptos-rocksdb-options" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-config", "rocksdb", @@ -2997,7 +2997,7 @@ dependencies = [ [[package]] name = "aptos-runtimes" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "rayon", "tokio", @@ -3025,10 +3025,10 @@ dependencies = [ [[package]] name = "aptos-safety-rules" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-config", - "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-crypto", "aptos-global-constants", "aptos-infallible", @@ -3049,7 +3049,7 @@ dependencies = [ [[package]] name = "aptos-schemadb" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-drop-helper", @@ -3066,7 +3066,7 @@ dependencies = [ [[package]] name = "aptos-scratchpad" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-crypto", "aptos-drop-helper", @@ -3086,7 +3086,7 @@ dependencies = [ [[package]] name = "aptos-sdk" version = "0.0.3" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-cached-packages", @@ -3112,7 +3112,7 @@ dependencies = [ [[package]] name = "aptos-sdk-builder" version = "0.2.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-types", @@ -3130,7 +3130,7 @@ dependencies = [ [[package]] name = "aptos-secure-net" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-logger", "aptos-metrics-core", @@ -3148,7 +3148,7 @@ dependencies = [ [[package]] name = "aptos-secure-storage" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-crypto", "aptos-infallible", @@ -3169,7 +3169,7 @@ dependencies = [ [[package]] name = "aptos-short-hex-str" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "mirai-annotations", "serde", @@ -3180,7 +3180,7 @@ dependencies = [ [[package]] name = "aptos-speculative-state-helper" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-infallible", @@ -3191,7 +3191,7 @@ dependencies = [ [[package]] name = "aptos-state-sync-driver" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-config", @@ -3200,7 +3200,7 @@ dependencies = [ "aptos-data-client", "aptos-data-streaming-service", "aptos-event-notifications", - "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-infallible", "aptos-logger", "aptos-mempool-notifications", @@ -3224,7 +3224,7 @@ dependencies = [ [[package]] name = "aptos-storage-interface" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-crypto", @@ -3252,7 +3252,7 @@ dependencies = [ [[package]] name = "aptos-storage-service-client" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-config", "aptos-network", @@ -3263,7 +3263,7 @@ dependencies = [ [[package]] name = "aptos-storage-service-notifications" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-channels", "async-trait", @@ -3275,7 +3275,7 @@ dependencies = [ [[package]] name = "aptos-storage-service-types" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-compression", "aptos-config", @@ -3291,7 +3291,7 @@ dependencies = [ [[package]] name = "aptos-table-natives" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-gas-schedule", "aptos-native-interface", @@ -3309,17 +3309,17 @@ dependencies = [ [[package]] name = "aptos-telemetry" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-api", "aptos-config", - "aptos-consensus 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-crypto", "aptos-db", "aptos-infallible", "aptos-logger", - "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-metrics-core", "aptos-network", "aptos-node-resource-metrics", @@ -3348,7 +3348,7 @@ dependencies = [ [[package]] name = "aptos-telemetry-service" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-config", @@ -3388,7 +3388,7 @@ dependencies = [ [[package]] name = "aptos-temppath" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "hex", "rand 0.7.3", @@ -3397,7 +3397,7 @@ dependencies = [ [[package]] name = "aptos-time-service" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-infallible", "enum_dispatch", @@ -3410,7 +3410,7 @@ dependencies = [ [[package]] name = "aptos-transaction-filter" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-protos", @@ -3428,7 +3428,7 @@ dependencies = [ [[package]] name = "aptos-types" version = "0.0.3" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "api-types", @@ -3492,12 +3492,12 @@ dependencies = [ [[package]] name = "aptos-utils" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" [[package]] name = "aptos-validator-transaction-pool" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-channels", "aptos-crypto", @@ -3510,7 +3510,7 @@ dependencies = [ [[package]] name = "aptos-vault-client" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-crypto", "base64 0.13.1", @@ -3526,7 +3526,7 @@ dependencies = [ [[package]] name = "aptos-vm" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-aggregator", @@ -3578,7 +3578,7 @@ dependencies = [ [[package]] name = "aptos-vm-environment" version = "0.0.1" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-framework", "aptos-gas-algebra", @@ -3601,7 +3601,7 @@ dependencies = [ [[package]] name = "aptos-vm-genesis" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-cached-packages", "aptos-crypto", @@ -3625,7 +3625,7 @@ dependencies = [ [[package]] name = "aptos-vm-logging" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "aptos-crypto", "aptos-logger", @@ -3640,7 +3640,7 @@ dependencies = [ [[package]] name = "aptos-vm-types" version = "0.0.1" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "ambassador", "anyhow", @@ -3663,7 +3663,7 @@ dependencies = [ [[package]] name = "aptos-vm-validator" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "aptos-logger", @@ -7449,7 +7449,7 @@ dependencies = [ [[package]] name = "gaptos" version = "0.0.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "api-types", "aptos-bitvec", @@ -7460,9 +7460,9 @@ dependencies = [ "aptos-collections", "aptos-compression", "aptos-config", - "aptos-consensus 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-consensus-notifications", - "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-consensus-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-crash-handler", "aptos-crypto", "aptos-crypto-derive", @@ -7470,9 +7470,9 @@ dependencies = [ "aptos-dkg-runtime", "aptos-enum-conversion-derive", "aptos-event-notifications", - "aptos-executor 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-executor 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-executor-test-helpers", - "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-executor-types 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-experimental-runtimes", "aptos-fallible", "aptos-global-constants", @@ -7483,7 +7483,7 @@ dependencies = [ "aptos-keygen", "aptos-log-derive", "aptos-logger", - "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-mempool 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-mempool-notifications", "aptos-memsocket", "aptos-metrics-core", @@ -7499,7 +7499,7 @@ dependencies = [ "aptos-reliable-broadcast", "aptos-rest-client", "aptos-runtimes", - "aptos-safety-rules 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7)", + "aptos-safety-rules 0.1.0 (git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c)", "aptos-schemadb", "aptos-secure-net", "aptos-secure-storage", @@ -7821,7 +7821,7 @@ dependencies = [ [[package]] name = "gravity-primitives" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" [[package]] name = "gravity-sdk" @@ -7835,7 +7835,7 @@ dependencies = [ [[package]] name = "gravity-storage" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "async-trait", @@ -7944,7 +7944,7 @@ dependencies = [ [[package]] name = "greth" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "async-trait", "gravity-primitives", @@ -10289,7 +10289,7 @@ checksum = "1fafa6961cabd9c63bcd77a45d7e3b7f3b552b70417831fb0f56db717e72407e" [[package]] name = "move-abigen" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "bcs 0.1.4", @@ -10306,7 +10306,7 @@ dependencies = [ [[package]] name = "move-binary-format" version = "0.0.3" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "backtrace", @@ -10321,12 +10321,12 @@ dependencies = [ [[package]] name = "move-borrow-graph" version = "0.0.1" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" [[package]] name = "move-bytecode-source-map" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "bcs 0.1.4", @@ -10341,7 +10341,7 @@ dependencies = [ [[package]] name = "move-bytecode-spec" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "once_cell", "quote", @@ -10351,7 +10351,7 @@ dependencies = [ [[package]] name = "move-bytecode-utils" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "move-binary-format", @@ -10363,7 +10363,7 @@ dependencies = [ [[package]] name = "move-bytecode-verifier" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "fail", "move-binary-format", @@ -10377,7 +10377,7 @@ dependencies = [ [[package]] name = "move-bytecode-viewer" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "clap 4.5.57", @@ -10392,7 +10392,7 @@ dependencies = [ [[package]] name = "move-cli" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "clap 4.5.57", @@ -10422,7 +10422,7 @@ dependencies = [ [[package]] name = "move-command-line-common" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "difference", @@ -10439,7 +10439,7 @@ dependencies = [ [[package]] name = "move-compiler" version = "0.0.1" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "bcs 0.1.4", @@ -10462,7 +10462,7 @@ dependencies = [ [[package]] name = "move-compiler-v2" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "abstract-domain-derive", "anyhow", @@ -10496,7 +10496,7 @@ dependencies = [ [[package]] name = "move-core-types" version = "0.0.4" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "arbitrary", @@ -10522,7 +10522,7 @@ dependencies = [ [[package]] name = "move-coverage" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "bcs 0.1.4", @@ -10541,7 +10541,7 @@ dependencies = [ [[package]] name = "move-disassembler" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "clap 4.5.57", @@ -10558,7 +10558,7 @@ dependencies = [ [[package]] name = "move-docgen" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "clap 4.5.57", @@ -10577,7 +10577,7 @@ dependencies = [ [[package]] name = "move-errmapgen" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "move-command-line-common", @@ -10589,7 +10589,7 @@ dependencies = [ [[package]] name = "move-ir-compiler" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "bcs 0.1.4", @@ -10605,7 +10605,7 @@ dependencies = [ [[package]] name = "move-ir-to-bytecode" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "codespan-reporting", @@ -10623,7 +10623,7 @@ dependencies = [ [[package]] name = "move-ir-to-bytecode-syntax" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "hex", @@ -10636,7 +10636,7 @@ dependencies = [ [[package]] name = "move-ir-types" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "hex", "move-command-line-common", @@ -10649,7 +10649,7 @@ dependencies = [ [[package]] name = "move-model" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "codespan", @@ -10676,7 +10676,7 @@ dependencies = [ [[package]] name = "move-package" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "clap 4.5.57", @@ -10710,7 +10710,7 @@ dependencies = [ [[package]] name = "move-prover" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "atty", @@ -10737,7 +10737,7 @@ dependencies = [ [[package]] name = "move-prover-boogie-backend" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "async-trait", @@ -10766,7 +10766,7 @@ dependencies = [ [[package]] name = "move-prover-bytecode-pipeline" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "abstract-domain-derive", "anyhow", @@ -10782,7 +10782,7 @@ dependencies = [ [[package]] name = "move-prover-lab" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "chrono", @@ -10800,7 +10800,7 @@ dependencies = [ [[package]] name = "move-resource-viewer" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "hex", @@ -10813,7 +10813,7 @@ dependencies = [ [[package]] name = "move-stackless-bytecode" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "abstract-domain-derive", "anyhow", @@ -10835,7 +10835,7 @@ dependencies = [ [[package]] name = "move-stdlib" version = "0.1.1" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "hex", @@ -10858,7 +10858,7 @@ dependencies = [ [[package]] name = "move-symbol-pool" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "once_cell", "serde", @@ -10867,7 +10867,7 @@ dependencies = [ [[package]] name = "move-table-extension" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "better_any", "bytes", @@ -10882,7 +10882,7 @@ dependencies = [ [[package]] name = "move-unit-test" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "better_any", @@ -10914,7 +10914,7 @@ dependencies = [ [[package]] name = "move-vm-metrics" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "once_cell", "prometheus", @@ -10923,7 +10923,7 @@ dependencies = [ [[package]] name = "move-vm-runtime" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "ambassador", "better_any", @@ -10948,7 +10948,7 @@ dependencies = [ [[package]] name = "move-vm-test-utils" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "anyhow", "bytes", @@ -10965,7 +10965,7 @@ dependencies = [ [[package]] name = "move-vm-types" version = "0.1.0" -source = "git+https://github.com/Galxe/gravity-aptos.git?rev=6c778c7#6c778c77dfbdc73bac1eeaeb9f8202eab3da7ceb" +source = "git+https://github.com/Galxe/gravity-aptos.git?rev=26b925bfedec52ba03380b3ce3d989d49365b23c#26b925bfedec52ba03380b3ce3d989d49365b23c" dependencies = [ "ambassador", "bcs 0.1.4", @@ -13387,7 +13387,7 @@ checksum = "1e061d1b48cb8d38042de4ae0a7a6401009d6143dc80d2e2d6f31f0bdd6470c7" [[package]] name = "reth" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-rpc-types", "aquamarine", @@ -13433,7 +13433,7 @@ dependencies = [ [[package]] name = "reth-basic-payload-builder" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -13457,7 +13457,7 @@ dependencies = [ [[package]] name = "reth-chain-state" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -13486,7 +13486,7 @@ dependencies = [ [[package]] name = "reth-chainspec" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-chains", "alloy-consensus", @@ -13506,7 +13506,7 @@ dependencies = [ [[package]] name = "reth-cli" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-genesis", "clap 4.5.57", @@ -13520,7 +13520,7 @@ dependencies = [ [[package]] name = "reth-cli-commands" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-chains", "alloy-consensus", @@ -13597,7 +13597,7 @@ dependencies = [ [[package]] name = "reth-cli-runner" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "reth-tasks", "tokio", @@ -13607,7 +13607,7 @@ dependencies = [ [[package]] name = "reth-cli-util" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-primitives", @@ -13625,7 +13625,7 @@ dependencies = [ [[package]] name = "reth-codecs" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -13643,7 +13643,7 @@ dependencies = [ [[package]] name = "reth-codecs-derive" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "convert_case 0.7.1", "proc-macro2", @@ -13654,7 +13654,7 @@ dependencies = [ [[package]] name = "reth-config" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "eyre", "humantime-serde", @@ -13669,7 +13669,7 @@ dependencies = [ [[package]] name = "reth-consensus" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -13682,7 +13682,7 @@ dependencies = [ [[package]] name = "reth-consensus-common" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -13694,7 +13694,7 @@ dependencies = [ [[package]] name = "reth-consensus-debug-client" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -13720,7 +13720,7 @@ dependencies = [ [[package]] name = "reth-db" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "derive_more 2.1.1", @@ -13741,7 +13741,7 @@ dependencies = [ [[package]] name = "reth-db-api" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-genesis", @@ -13766,7 +13766,7 @@ dependencies = [ [[package]] name = "reth-db-common" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-genesis", @@ -13797,7 +13797,7 @@ dependencies = [ [[package]] name = "reth-db-models" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-primitives", @@ -13811,7 +13811,7 @@ dependencies = [ [[package]] name = "reth-discv4" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -13837,7 +13837,7 @@ dependencies = [ [[package]] name = "reth-discv5" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -13861,7 +13861,7 @@ dependencies = [ [[package]] name = "reth-dns-discovery" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "data-encoding", @@ -13885,7 +13885,7 @@ dependencies = [ [[package]] name = "reth-downloaders" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -13915,7 +13915,7 @@ dependencies = [ [[package]] name = "reth-ecies" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "aes", "alloy-primitives", @@ -13946,7 +13946,7 @@ dependencies = [ [[package]] name = "reth-engine-local" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -13968,7 +13968,7 @@ dependencies = [ [[package]] name = "reth-engine-primitives" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -13993,7 +13993,7 @@ dependencies = [ [[package]] name = "reth-engine-service" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "futures", "pin-project", @@ -14016,7 +14016,7 @@ dependencies = [ [[package]] name = "reth-engine-tree" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14068,7 +14068,7 @@ dependencies = [ [[package]] name = "reth-engine-util" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-rpc-types-engine", @@ -14096,7 +14096,7 @@ dependencies = [ [[package]] name = "reth-era" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14112,7 +14112,7 @@ dependencies = [ [[package]] name = "reth-era-downloader" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "bytes", @@ -14127,7 +14127,7 @@ dependencies = [ [[package]] name = "reth-era-utils" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -14149,7 +14149,7 @@ dependencies = [ [[package]] name = "reth-errors" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "reth-consensus", "reth-execution-errors", @@ -14160,7 +14160,7 @@ dependencies = [ [[package]] name = "reth-eth-wire" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-chains", "alloy-primitives", @@ -14188,7 +14188,7 @@ dependencies = [ [[package]] name = "reth-eth-wire-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-chains", "alloy-consensus", @@ -14209,7 +14209,7 @@ dependencies = [ [[package]] name = "reth-ethereum-cli" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "clap 4.5.57", "eyre", @@ -14231,7 +14231,7 @@ dependencies = [ [[package]] name = "reth-ethereum-consensus" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14247,7 +14247,7 @@ dependencies = [ [[package]] name = "reth-ethereum-engine-primitives" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-primitives", @@ -14265,7 +14265,7 @@ dependencies = [ [[package]] name = "reth-ethereum-forks" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eip2124", "alloy-hardforks", @@ -14278,7 +14278,7 @@ dependencies = [ [[package]] name = "reth-ethereum-payload-builder" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14307,7 +14307,7 @@ dependencies = [ [[package]] name = "reth-ethereum-primitives" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14326,7 +14326,7 @@ dependencies = [ [[package]] name = "reth-etl" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "rayon", "reth-db-api", @@ -14336,7 +14336,7 @@ dependencies = [ [[package]] name = "reth-evm" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14359,7 +14359,7 @@ dependencies = [ [[package]] name = "reth-evm-ethereum" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14381,7 +14381,7 @@ dependencies = [ [[package]] name = "reth-execution-errors" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-evm", "alloy-primitives", @@ -14394,7 +14394,7 @@ dependencies = [ [[package]] name = "reth-execution-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14412,7 +14412,7 @@ dependencies = [ [[package]] name = "reth-exex" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14450,7 +14450,7 @@ dependencies = [ [[package]] name = "reth-exex-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-primitives", @@ -14464,7 +14464,7 @@ dependencies = [ [[package]] name = "reth-fs-util" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "serde", "serde_json", @@ -14474,7 +14474,7 @@ dependencies = [ [[package]] name = "reth-invalid-block-hooks" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -14501,7 +14501,7 @@ dependencies = [ [[package]] name = "reth-ipc" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "bytes", "futures", @@ -14521,7 +14521,7 @@ dependencies = [ [[package]] name = "reth-metrics" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "futures", "metrics", @@ -14533,7 +14533,7 @@ dependencies = [ [[package]] name = "reth-net-banlist" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", ] @@ -14541,7 +14541,7 @@ dependencies = [ [[package]] name = "reth-net-nat" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "futures-util", "if-addrs", @@ -14555,7 +14555,7 @@ dependencies = [ [[package]] name = "reth-network" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14610,7 +14610,7 @@ dependencies = [ [[package]] name = "reth-network-api" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -14635,7 +14635,7 @@ dependencies = [ [[package]] name = "reth-network-p2p" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14657,7 +14657,7 @@ dependencies = [ [[package]] name = "reth-network-peers" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -14672,7 +14672,7 @@ dependencies = [ [[package]] name = "reth-network-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eip2124", "humantime-serde", @@ -14686,7 +14686,7 @@ dependencies = [ [[package]] name = "reth-nippy-jar" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "anyhow", "bincode", @@ -14703,7 +14703,7 @@ dependencies = [ [[package]] name = "reth-node-api" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-rpc-types-engine", "eyre", @@ -14727,7 +14727,7 @@ dependencies = [ [[package]] name = "reth-node-builder" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14796,7 +14796,7 @@ dependencies = [ [[package]] name = "reth-node-core" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14849,7 +14849,7 @@ dependencies = [ [[package]] name = "reth-node-ethereum" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-network", @@ -14887,7 +14887,7 @@ dependencies = [ [[package]] name = "reth-node-ethstats" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -14911,7 +14911,7 @@ dependencies = [ [[package]] name = "reth-node-events" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -14935,7 +14935,7 @@ dependencies = [ [[package]] name = "reth-node-metrics" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "eyre", "http 1.4.0", @@ -14956,7 +14956,7 @@ dependencies = [ [[package]] name = "reth-node-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "reth-chainspec", "reth-db-api", @@ -14968,7 +14968,7 @@ dependencies = [ [[package]] name = "reth-payload-builder" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -14989,7 +14989,7 @@ dependencies = [ [[package]] name = "reth-payload-builder-primitives" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "pin-project", "reth-payload-primitives", @@ -15001,7 +15001,7 @@ dependencies = [ [[package]] name = "reth-payload-primitives" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-primitives", @@ -15021,7 +15021,7 @@ dependencies = [ [[package]] name = "reth-payload-validator" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-rpc-types-engine", @@ -15031,11 +15031,11 @@ dependencies = [ [[package]] name = "reth-pipe-exec-layer-event-bus" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", - "once_cell", "reth-chain-state", + "reth-ethereum-primitives", "reth-primitives", "tokio", "tracing", @@ -15044,7 +15044,7 @@ dependencies = [ [[package]] name = "reth-pipe-exec-layer-ext-v2" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -15090,7 +15090,7 @@ dependencies = [ [[package]] name = "reth-pipe-exec-layer-relayer" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-network", "alloy-primitives", @@ -15114,7 +15114,7 @@ dependencies = [ [[package]] name = "reth-primitives" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "once_cell", @@ -15127,7 +15127,7 @@ dependencies = [ [[package]] name = "reth-primitives-traits" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -15157,7 +15157,7 @@ dependencies = [ [[package]] name = "reth-provider" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -15200,7 +15200,7 @@ dependencies = [ [[package]] name = "reth-prune" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -15228,7 +15228,7 @@ dependencies = [ [[package]] name = "reth-prune-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "derive_more 2.1.1", @@ -15241,7 +15241,7 @@ dependencies = [ [[package]] name = "reth-ress-protocol" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -15260,7 +15260,7 @@ dependencies = [ [[package]] name = "reth-ress-provider" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -15287,7 +15287,7 @@ dependencies = [ [[package]] name = "reth-revm" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "reth-primitives-traits", @@ -15300,7 +15300,7 @@ dependencies = [ [[package]] name = "reth-rpc" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-dyn-abi", @@ -15379,7 +15379,7 @@ dependencies = [ [[package]] name = "reth-rpc-api" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-genesis", @@ -15407,7 +15407,7 @@ dependencies = [ [[package]] name = "reth-rpc-builder" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-network", "alloy-provider", @@ -15446,7 +15446,7 @@ dependencies = [ [[package]] name = "reth-rpc-convert" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-json-rpc", @@ -15467,7 +15467,7 @@ dependencies = [ [[package]] name = "reth-rpc-engine-api" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-primitives", @@ -15497,7 +15497,7 @@ dependencies = [ [[package]] name = "reth-rpc-eth-api" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-dyn-abi", @@ -15541,7 +15541,7 @@ dependencies = [ [[package]] name = "reth-rpc-eth-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -15588,7 +15588,7 @@ dependencies = [ [[package]] name = "reth-rpc-layer" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-rpc-types-engine", "http 1.4.0", @@ -15602,7 +15602,7 @@ dependencies = [ [[package]] name = "reth-rpc-server-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-primitives", @@ -15618,7 +15618,7 @@ dependencies = [ [[package]] name = "reth-stages" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -15662,7 +15662,7 @@ dependencies = [ [[package]] name = "reth-stages-api" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-primitives", @@ -15689,7 +15689,7 @@ dependencies = [ [[package]] name = "reth-stages-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "bytes", @@ -15702,7 +15702,7 @@ dependencies = [ [[package]] name = "reth-static-file" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "parking_lot 0.12.5", @@ -15722,7 +15722,7 @@ dependencies = [ [[package]] name = "reth-static-file-types" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "clap 4.5.57", @@ -15734,7 +15734,7 @@ dependencies = [ [[package]] name = "reth-storage-api" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -15764,7 +15764,7 @@ dependencies = [ [[package]] name = "reth-storage-errors" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-eips", "alloy-primitives", @@ -15780,7 +15780,7 @@ dependencies = [ [[package]] name = "reth-tasks" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "auto_impl", "dyn-clone", @@ -15798,7 +15798,7 @@ dependencies = [ [[package]] name = "reth-tokio-util" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "tokio", "tokio-stream", @@ -15808,7 +15808,7 @@ dependencies = [ [[package]] name = "reth-tracing" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "clap 4.5.57", "eyre", @@ -15823,7 +15823,7 @@ dependencies = [ [[package]] name = "reth-transaction-pool" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -15865,7 +15865,7 @@ dependencies = [ [[package]] name = "reth-trie" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-eips", @@ -15889,7 +15889,7 @@ dependencies = [ [[package]] name = "reth-trie-common" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -15916,7 +15916,7 @@ dependencies = [ [[package]] name = "reth-trie-db" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "reth-db-api", @@ -15929,7 +15929,7 @@ dependencies = [ [[package]] name = "reth-trie-parallel" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -15957,7 +15957,7 @@ dependencies = [ [[package]] name = "reth-trie-sparse" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -15976,7 +15976,7 @@ dependencies = [ [[package]] name = "reth-trie-sparse-parallel" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -15994,7 +15994,7 @@ dependencies = [ [[package]] name = "reth-zstd-compressors" version = "1.8.3" -source = "git+https://github.com/Galxe/gravity-reth?rev=ada67c0#ada67c0fb75358c1e782c635ff2b6a4802e2c74a" +source = "git+https://github.com/Galxe/gravity-reth?rev=35994424a45416a033061bfa900ee702f2647804#35994424a45416a033061bfa900ee702f2647804" dependencies = [ "zstd", ] diff --git a/Cargo.toml b/Cargo.toml index 10d07dff..c0207746 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,7 +75,7 @@ unexpected_cfgs = { level = "allow", check-cfg = ["cfg(mirai)"] } aptos-consensus = { path = "./aptos-core/consensus" } # from aptos ======================= -gaptos = { git = "https://github.com/Galxe/gravity-aptos.git", rev = "6c778c7" } +gaptos = { git = "https://github.com/Galxe/gravity-aptos.git", rev = "26b925bfedec52ba03380b3ce3d989d49365b23c" } aptos-executor-types = { path = "dependencies/aptos-executor-types" } aptos-executor = { path = "dependencies/aptos-executor" } api = { path = "./crates/api" } diff --git a/bin/gravity_node/Cargo.toml b/bin/gravity_node/Cargo.toml index fa907f61..d7fe5424 100644 --- a/bin/gravity_node/Cargo.toml +++ b/bin/gravity_node/Cargo.toml @@ -32,7 +32,7 @@ serde = "^1.0.226" bincode = "1.3" time = "0.3.36" anyhow = "1.0.87" -greth = { git = "https://github.com/Galxe/gravity-reth", rev = "ada67c0" } +greth = { git = "https://github.com/Galxe/gravity-reth", rev = "35994424a45416a033061bfa900ee702f2647804" } reqwest = "0.12.9" alloy-primitives = { version = "=1.3.1", default-features = false, features = ["map-foldhash"] } alloy-eips = { version = "^1.0.37", default-features = false } diff --git a/gravity_e2e/cluster_test_cases/hardfork_test/cluster.toml b/gravity_e2e/cluster_test_cases/hardfork_test/cluster.toml new file mode 100644 index 00000000..13ced85b --- /dev/null +++ b/gravity_e2e/cluster_test_cases/hardfork_test/cluster.toml @@ -0,0 +1,29 @@ +# Gravity Cluster Configuration - Hardfork Test Suite +# Single node for hardfork upgrade testing + +[cluster] +name = "gravity-devnet-hardfork" +base_dir = "/tmp/gravity-cluster-hardfork" + +[build] +binary_path = "../target/quick-release/gravity_node" + +[genesis_source] +genesis_path = "./artifacts/genesis.json" +waypoint_path = "./artifacts/waypoint.txt" + +[[nodes]] +id = "node1" +role = "genesis" +host = "127.0.0.1" +p2p_port = 6184 +vfn_port = 6194 +rpc_port = 8549 +metrics_port = 9005 +inspection_port = 10004 +https_port = 1028 +authrpc_port = 8555 +reth_p2p_port = 12028 + +[faucet_init] +num_accounts = 100 diff --git a/gravity_e2e/cluster_test_cases/hardfork_test/genesis.toml b/gravity_e2e/cluster_test_cases/hardfork_test/genesis.toml new file mode 100644 index 00000000..1ce8e670 --- /dev/null +++ b/gravity_e2e/cluster_test_cases/hardfork_test/genesis.toml @@ -0,0 +1,83 @@ +# Gravity Genesis Configuration - Hardfork Test Suite +# Uses v1.0.0 contracts for genesis (pre-gamma bytecode) +# gammaBlock is injected into genesis.json by hooks.py + +[dependencies.genesis_contracts] +repo = "https://github.com/Galxe/gravity_chain_core_contracts.git" +ref = "gravity-testnet-v1.0.0" + +# Genesis validators with stake and voting power +[[genesis_validators]] +id = "node1" +address = "0xAEd2a948892475F800A337427B3275D190EA3e94" +host = "127.0.0.1" +p2p_port = 6184 +vfn_port = 6194 +stake_amount = "10000000000000000000" +voting_power = "10000000000000000000" +consensus_pop = "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + +[genesis] +chain_id = 1337 +epoch_interval_micros = 60000000 # 60 seconds - short epoch for hardfork testing +major_version = 1 +consensus_config = "0x0301010a00000000000000280000000000000001010000000a000000000000000100010200000000000000000020000000000000" +execution_config = "0x00" +initial_locked_until_micros = 1798848000000000 + +[genesis.faucet] +address = "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266" +balance = "0x2000000000000000000000000000000000000000000000000000000000000000" + +[genesis.validator_config] +minimum_bond = "1000000000000000000" +maximum_bond = "1000000000000000000000000" +unbonding_delay_micros = 604800000000 +allow_validator_set_change = true +voting_power_increase_limit_pct = 20 +max_validator_set_size = "100" +auto_evict_enabled = false +auto_evict_threshold = "0" + +[genesis.staking_config] +minimum_stake = "1000000000000000000" +lockup_duration_micros = 86400000000 +unbonding_delay_micros = 86400000000 +minimum_proposal_stake = "10000000000000000000" + +[genesis.governance_config] +min_voting_threshold = "1000000000000000000" +required_proposer_stake = "10000000000000000000" +voting_duration_micros = 604800000000 + +[genesis.randomness_config] +variant = 1 +secrecy_threshold = 9223372036854775808 +reconstruction_threshold = 12297829382473033728 +fast_path_secrecy_threshold = 12297829382473033728 + +[genesis.oracle_config] +source_types = [1] +callbacks = ["0x00000000000000000000000000000001625F4001"] + +[genesis.oracle_config.bridge_config] +deploy = true +trusted_bridge = "0xcbEAF3BDe82155F56486Fb5a1072cb8baAf547cc" +trusted_source_id = 11155111 + +[[genesis.oracle_config.tasks]] +source_type = 0 +source_id = 11155111 +task_name = "sepolia" +config = "gravity://0/11155111/events?contract=0x0f761B1B3c1aC9232C9015A7276692560aD6a05F&eventSignature=0x5646e682c7d994bf11f5a2c8addb60d03c83cda3b65025a826346589df43406e&fromBlock=10201260" + +# JWK config - Google OIDC provider +[genesis.jwk_config] +issuers = ["0x68747470733a2f2f6163636f756e74732e676f6f676c652e636f6d"] + +[[genesis.jwk_config.jwks]] +kid = "f5f4c0ae6e6090a65ab0a694d6ba6f19d5d0b4e6" +kty = "RSA" +alg = "RS256" +e = "AQAB" +n = "2K7epoJWl_aBoYGpXmDBBiEnwQ0QdVRU1gsbGXNrEbrZEQdY5KjH5P5gZMq3d3KvT1j5KsD2tF_9jFMDLqV4VWDNJRLgSNJxhJuO_oLO2BXUSL9a7fLHxnZCUfJvT2K-O8AXjT3_ZM8UuL8d4jBn_fZLzdEI4MHrZLVSaHDvvKqL_mExQo6cFD-qyLZ-T6aHv2x8R7L_3X7E1nGMjKVVZMveQ_HMeXvnGxKf5yfEP0hIQlC_kFm4L_1kV1S0UPmMptZL2qI4VnXqmqI6TZJyE-3VXHgNn1Z1O_9QZlPC0fF0spLHf2S3nNqI0v3k2E7q3DkqxVf5xvn7q_X-gPqzVE9Jw" diff --git a/gravity_e2e/cluster_test_cases/hardfork_test/hardfork_utils.py b/gravity_e2e/cluster_test_cases/hardfork_test/hardfork_utils.py new file mode 100644 index 00000000..381e3ed8 --- /dev/null +++ b/gravity_e2e/cluster_test_cases/hardfork_test/hardfork_utils.py @@ -0,0 +1,191 @@ +""" +Reusable utilities for hardfork E2E testing. + +Provides helper functions for: +- Waiting for specific block heights +- Verifying system contract bytecode changes +- Sending light transaction pressure +- Injecting hardfork config into genesis.json + +These utilities are designed to be reusable across different hardfork tests +(gamma, delta, epsilon, etc.). +""" + +import asyncio +import json +import logging +import time +from pathlib import Path +from typing import Dict, List, Optional, Tuple + +from eth_account import Account +from web3 import Web3 + +LOG = logging.getLogger(__name__) + + +# ── Gamma hardfork system contract addresses ───────────────────────── +# These are the fixed system contract addresses upgraded by the gamma hardfork. +# Source: gravity-reth/crates/ethereum/evm/src/hardfork/gamma.rs GAMMA_SYSTEM_UPGRADES +GAMMA_SYSTEM_CONTRACTS = { + "StakingConfig": "0x00000000000000000000000000000001625F1001", + "ValidatorConfig": "0x00000000000000000000000000000001625F1002", + "GovernanceConfig": "0x00000000000000000000000000000001625F1004", + "Staking": "0x00000000000000000000000000000001625F2000", + "ValidatorManagement": "0x00000000000000000000000000000001625F2001", + "Reconfiguration": "0x00000000000000000000000000000001625F2003", + "Blocker": "0x00000000000000000000000000000001625F2004", + "PerformanceTracker": "0x00000000000000000000000000000001625F2005", + "Governance": "0x00000000000000000000000000000001625F3000", + "NativeOracle": "0x00000000000000000000000000000001625F4000", + "OracleRequestQueue": "0x00000000000000000000000000000001625F4002", +} + + +async def wait_for_block( + w3: Web3, target_block: int, timeout: int = 300, poll_interval: float = 1.0 +) -> bool: + """ + Wait until the node reaches a specific block height. + Returns True if target reached, False on timeout. + """ + start = time.monotonic() + while time.monotonic() - start < timeout: + try: + current = w3.eth.block_number + if current >= target_block: + LOG.info(f"✅ Reached block {current} (target: {target_block})") + return True + if int(time.monotonic() - start) % 10 == 0 and int(time.monotonic() - start) > 0: + LOG.info(f" ⏳ Current block: {current}, waiting for {target_block}...") + except Exception: + pass + await asyncio.sleep(poll_interval) + LOG.error(f"❌ Timed out waiting for block {target_block} (timeout={timeout}s)") + return False + + +async def wait_for_blocks_after( + w3: Web3, start_block: int, delta: int, timeout: int = 120 +) -> bool: + """ + Wait for `delta` more blocks after `start_block`. + """ + target = start_block + delta + LOG.info(f"Waiting for {delta} blocks after {start_block} (target: {target})...") + return await wait_for_block(w3, target, timeout=timeout) + + +def get_contract_code_hashes( + w3: Web3, addresses: Dict[str, str] +) -> Dict[str, Optional[str]]: + """ + Get code hashes for a set of contract addresses. + Returns {name: hex_code_hash_or_None}. + """ + result = {} + for name, addr in addresses.items(): + try: + code = w3.eth.get_code(Web3.to_checksum_address(addr)) + if code and len(code) > 0: + code_hash = Web3.keccak(code).hex() + result[name] = code_hash + else: + result[name] = None + except Exception as e: + LOG.warning(f" Failed to get code for {name} ({addr}): {e}") + result[name] = None + return result + + +def snapshot_system_contracts(w3: Web3) -> Dict[str, Optional[str]]: + """ + Take a snapshot of code hashes for all gamma system contracts. + """ + return get_contract_code_hashes(w3, GAMMA_SYSTEM_CONTRACTS) + + +def compare_snapshots( + before: Dict[str, Optional[str]], after: Dict[str, Optional[str]] +) -> Tuple[List[str], List[str], List[str]]: + """ + Compare two contract code hash snapshots. + Returns (changed, unchanged, missing). + """ + changed = [] + unchanged = [] + missing = [] + for name in before: + if before[name] is None and after.get(name) is None: + missing.append(name) + elif before[name] != after.get(name): + changed.append(name) + else: + unchanged.append(name) + return changed, unchanged, missing + + +async def send_eth_transfers( + w3: Web3, sender_account, num_txns: int = 10, amount_wei: int = 1000 +) -> Tuple[int, int]: + """ + Send simple ETH transfers as light pressure. + Returns (successful_count, failed_count). + """ + success_count = 0 + fail_count = 0 + chain_id = w3.eth.chain_id + + for i in range(num_txns): + try: + receiver = Account.create() + nonce = w3.eth.get_transaction_count(sender_account.address) + + tx = { + "to": receiver.address, + "value": amount_wei, + "gas": 21000, + "gasPrice": w3.eth.gas_price, + "nonce": nonce, + "chainId": chain_id, + } + + signed = sender_account.sign_transaction(tx) + tx_hash = w3.eth.send_raw_transaction(signed.raw_transaction) + receipt = w3.eth.wait_for_transaction_receipt(tx_hash, timeout=30) + + if receipt["status"] == 1: + success_count += 1 + else: + fail_count += 1 + LOG.warning(f" TX {i} reverted") + except Exception as e: + fail_count += 1 + LOG.warning(f" TX {i} failed: {e}") + + LOG.info(f" Transfers: {success_count} ok, {fail_count} failed (out of {num_txns})") + return success_count, fail_count + + +def inject_hardfork_config( + genesis_path: Path, hardfork_name: str, block_number: int +): + """ + Inject a gravity hardfork block number into genesis.json. + Generic function for any hardfork (gamma, delta, etc.). + """ + with open(genesis_path) as f: + genesis = json.load(f) + + if "config" not in genesis: + genesis["config"] = {} + if "gravityHardforks" not in genesis["config"]: + genesis["config"]["gravityHardforks"] = {} + + key = f"{hardfork_name}Block" + genesis["config"]["gravityHardforks"][key] = block_number + + with open(genesis_path, "w") as f: + json.dump(genesis, f, indent=2) + + LOG.info(f"Injected {key}={block_number} into {genesis_path}") diff --git a/gravity_e2e/cluster_test_cases/hardfork_test/hooks.py b/gravity_e2e/cluster_test_cases/hardfork_test/hooks.py new file mode 100644 index 00000000..941e739c --- /dev/null +++ b/gravity_e2e/cluster_test_cases/hardfork_test/hooks.py @@ -0,0 +1,93 @@ +""" +Pre-start hook for hardfork test suite. + +Injects gravityHardforks configuration (gammaBlock) into the generated +genesis.json before the node starts. This is necessary because the +genesis tool in gravity_chain_core_contracts does not natively support +Gravity-specific hardfork fields — they must be added to the chain +config's extra_fields after genesis generation. + +IMPORTANT: deploy.sh copies genesis.json from artifacts to cluster base_dir +BEFORE hooks run. We need to patch BOTH copies so the node picks up the change. + +Usage: + Set GAMMA_BLOCK env var to control when the hardfork triggers. + Default: 500 blocks (must be higher than faucet init block count ~380). +""" + +import json +import logging +import os +from pathlib import Path + +LOG = logging.getLogger(__name__) + + +def _inject_gamma_block(genesis_path: Path, gamma_block: int): + """Inject gravityHardforks into a single genesis.json file.""" + if not genesis_path.exists(): + LOG.warning(f"genesis.json not found at {genesis_path}, skipping") + return False + + with open(genesis_path) as f: + genesis = json.load(f) + + if "config" not in genesis: + genesis["config"] = {} + + genesis["config"]["gravityHardforks"] = { + "alphaBlock": 0, + "betaBlock": 0, + "gammaBlock": gamma_block, + } + + with open(genesis_path, "w") as f: + json.dump(genesis, f, indent=2) + + LOG.info(f" ✅ Patched {genesis_path}") + return True + + +def pre_start(test_dir, env, pytest_args): + """ + Inject gravityHardforks.gammaBlock into genesis.json. + + Called by runner.py after deploy but before node start. + Patches BOTH the artifacts copy and the deployed base_dir copy. + """ + gamma_block = int(os.environ.get("GAMMA_BLOCK", "500")) + LOG.info(f"🔧 Injecting gravityHardforks (gammaBlock={gamma_block})") + + patched_count = 0 + + # 1. Patch the artifacts copy + artifacts_dir = env.get("GRAVITY_ARTIFACTS_DIR", str(Path(test_dir) / "artifacts")) + artifacts_genesis = Path(artifacts_dir) / "genesis.json" + if _inject_gamma_block(artifacts_genesis, gamma_block): + patched_count += 1 + + # 2. Patch the deployed copy in cluster base_dir + # deploy.sh copies genesis.json to $base_dir/genesis.json + # The node reads from this copy, so we MUST patch it. + cluster_config = Path(test_dir) / "cluster.toml" + if cluster_config.exists(): + try: + import tomli + except ImportError: + try: + import tomllib as tomli + except ImportError: + import toml as tomli + + with open(cluster_config, "rb") as f: + config = tomli.load(f) + base_dir = config.get("cluster", {}).get("base_dir", "") + if base_dir: + deployed_genesis = Path(base_dir) / "genesis.json" + if _inject_gamma_block(deployed_genesis, gamma_block): + patched_count += 1 + + LOG.info(f"✅ Patched {patched_count} genesis.json file(s) with gammaBlock={gamma_block}") + + # Export for test code to read + os.environ["GAMMA_BLOCK"] = str(gamma_block) diff --git a/gravity_e2e/cluster_test_cases/hardfork_test/test_hardfork.py b/gravity_e2e/cluster_test_cases/hardfork_test/test_hardfork.py new file mode 100644 index 00000000..3bee8ba3 --- /dev/null +++ b/gravity_e2e/cluster_test_cases/hardfork_test/test_hardfork.py @@ -0,0 +1,280 @@ +""" +Gamma Hardfork E2E Test + +Tests the full lifecycle of the gamma hardfork (system contract bytecode upgrade): + +1. Start chain with v1.0.0 (pre-gamma) contract bytecodes +2. Verify blocks are being produced pre-hardfork +3. Send light transaction pressure +4. Wait for the hardfork block (gammaBlock) to be reached +5. Verify chain continues block production post-hardfork +6. Verify system contract bytecodes have changed +7. Wait for epoch change to verify ongoing consensus +8. Stop node, restart, and verify replay through the hardfork block +9. Verify post-restart liveness and contract state + +Configuration: + GAMMA_BLOCK: Block number at which gamma hardfork activates (default: 50) + +Usage: + # Run via E2E runner (recommended): + ./gravity_e2e/run_test.sh hardfork_test + + # With custom gamma block: + GAMMA_BLOCK=30 ./gravity_e2e/run_test.sh hardfork_test +""" + +import asyncio +import logging +import os +import time + +import pytest +from web3 import Web3 + +from gravity_e2e.cluster.manager import Cluster +from gravity_e2e.cluster.node import NodeState + +# Import hardfork utilities (from same directory) +import sys +from pathlib import Path + +sys.path.insert(0, str(Path(__file__).parent)) +from hardfork_utils import ( + GAMMA_SYSTEM_CONTRACTS, + compare_snapshots, + send_eth_transfers, + snapshot_system_contracts, + wait_for_block, + wait_for_blocks_after, +) + +LOG = logging.getLogger(__name__) + +# ── Test Configuration ──────────────────────────────────────────────── +GAMMA_BLOCK = int(os.environ.get("GAMMA_BLOCK", "500")) + +# How many blocks to wait after the hardfork to confirm stability +POST_HARDFORK_BLOCKS = 30 + +# Number of light ETH transfers per batch +LIGHT_PRESSURE_TXN_COUNT = 5 + +# Timeout for waiting for blocks to increase (seconds) +BLOCK_INCREASE_TIMEOUT = 120 + +# How many blocks to wait after restart to confirm replay + liveness +POST_RESTART_BLOCKS = 20 + + +@pytest.mark.asyncio +async def test_gamma_hardfork(cluster: Cluster): + """ + End-to-end test for the gamma hardfork lifecycle. + + Verifies: + - Pre-hardfork chain liveness and transaction execution + - Hardfork transition without stall or panic + - Post-hardfork contract bytecode upgrades + - Epoch change after hardfork + - Node restart and replay through hardfork block + """ + node = cluster.get_node("node1") + assert node is not None, "node1 not found in cluster" + w3 = node.w3 + + LOG.info("=" * 70) + LOG.info("🔱 Gamma Hardfork E2E Test") + LOG.info(f" gammaBlock = {GAMMA_BLOCK}") + LOG.info(f" Post-hardfork blocks = {POST_HARDFORK_BLOCKS}") + LOG.info(f" Post-restart blocks = {POST_RESTART_BLOCKS}") + LOG.info("=" * 70) + + # ── Phase 1: Pre-hardfork validation ───────────────────────────── + LOG.info("\n[Phase 1] Pre-hardfork validation") + LOG.info("Bringing cluster online...") + assert await cluster.set_full_live(timeout=60), "Cluster failed to become live" + + initial_height = node.get_block_number() + LOG.info(f"Initial block height: {initial_height}") + assert initial_height >= 0 + + # Verify blocks are being produced + LOG.info("Verifying block production...") + assert await node.wait_for_block_increase(timeout=30, delta=3), \ + "Pre-hardfork: blocks not being produced" + LOG.info("✅ Phase 1 PASSED: chain is producing blocks") + + # ── Phase 2: Pre-hardfork snapshot & light pressure ────────────── + LOG.info("\n[Phase 2] Pre-hardfork snapshot & light pressure") + + # Take snapshot of system contract bytecodes BEFORE hardfork + LOG.info("Taking pre-hardfork contract snapshot...") + pre_snapshot = snapshot_system_contracts(w3) + pre_existing = {k: v for k, v in pre_snapshot.items() if v is not None} + LOG.info(f" Found {len(pre_existing)} system contracts with code pre-hardfork:") + for name, code_hash in pre_existing.items(): + LOG.info(f" {name}: {code_hash[:18]}...") + + # Some contracts may not exist in v1.0.0 genesis — that's expected + pre_missing = [k for k, v in pre_snapshot.items() if v is None] + if pre_missing: + LOG.info(f" Contracts not in v1.0.0 genesis (expected): {pre_missing}") + + # Send some light pressure before hardfork + LOG.info("Sending light transaction pressure (pre-hardfork)...") + sender = cluster.faucet + if sender: + ok, fail = await send_eth_transfers(w3, sender, num_txns=LIGHT_PRESSURE_TXN_COUNT) + assert ok > 0, "Pre-hardfork: no transactions succeeded" + LOG.info(f" Pre-hardfork txns: {ok} succeeded, {fail} failed") + else: + LOG.warning(" No faucet available, skipping pre-hardfork pressure") + + LOG.info("✅ Phase 2 PASSED: snapshot taken, transactions working") + + # ── Phase 3: Hardfork transition ───────────────────────────────── + LOG.info(f"\n[Phase 3] Waiting for hardfork transition at block {GAMMA_BLOCK}") + + current_block = node.get_block_number() + if current_block < GAMMA_BLOCK: + LOG.info(f" Current block: {current_block}, waiting for gammaBlock={GAMMA_BLOCK}...") + reached = await wait_for_block(w3, GAMMA_BLOCK, timeout=300) + assert reached, f"Failed to reach gammaBlock {GAMMA_BLOCK}" + else: + LOG.info(f" Already past gammaBlock (current={current_block})") + + # Verify chain continues producing blocks after the hardfork + LOG.info(f"Verifying {POST_HARDFORK_BLOCKS} blocks after hardfork...") + hardfork_height = node.get_block_number() + continued = await wait_for_blocks_after( + w3, hardfork_height, POST_HARDFORK_BLOCKS, timeout=BLOCK_INCREASE_TIMEOUT + ) + assert continued, \ + f"Chain stalled after hardfork! Last seen: {node.get_block_number()}" + + # Send transactions post-hardfork + LOG.info("Sending transactions post-hardfork...") + if sender: + ok, fail = await send_eth_transfers(w3, sender, num_txns=LIGHT_PRESSURE_TXN_COUNT) + assert ok > 0, "Post-hardfork: no transactions succeeded" + LOG.info(f" Post-hardfork txns: {ok} succeeded, {fail} failed") + + LOG.info("✅ Phase 3 PASSED: hardfork transition successful, chain alive") + + # ── Phase 4: Post-hardfork contract verification ───────────────── + LOG.info("\n[Phase 4] Post-hardfork contract bytecode verification") + + post_snapshot = snapshot_system_contracts(w3) + changed, unchanged, missing = compare_snapshots(pre_snapshot, post_snapshot) + + LOG.info(f" Changed: {len(changed)} contracts") + for name in changed: + LOG.info(f" ✅ {name}: {pre_snapshot[name][:18] if pre_snapshot[name] else 'None'}... → {post_snapshot[name][:18] if post_snapshot[name] else 'None'}...") + + if unchanged: + LOG.info(f" Unchanged: {len(unchanged)} contracts") + for name in unchanged: + LOG.info(f" ⚠️ {name}: {pre_snapshot[name][:18] if pre_snapshot[name] else 'None'}...") + + if missing: + LOG.info(f" Missing (no code before & after): {missing}") + + # At least the core contracts that existed before should have changed + # Some contracts may not exist in v1.0.0 genesis or may have identical bytecodes + assert len(changed) >= 4, \ + f"Expected at least 4 system contracts to change, but only {len(changed)} changed: {changed}. Unchanged: {unchanged}" + + LOG.info("✅ Phase 4 PASSED: system contracts upgraded") + + # ── Phase 5: Epoch change verification ─────────────────────────── + LOG.info("\n[Phase 5] Epoch change verification") + LOG.info("Waiting for more blocks to observe epoch transition...") + + # With 60s epoch interval, we need to wait ~60-120s + # We'll wait for a significant number of blocks + epoch_wait_blocks = 60 + epoch_start_block = node.get_block_number() + LOG.info(f" Current block: {epoch_start_block}, waiting {epoch_wait_blocks} more blocks (~2 epochs)...") + + epoch_reached = await wait_for_blocks_after( + w3, epoch_start_block, epoch_wait_blocks, timeout=180 + ) + assert epoch_reached, \ + f"Chain stalled during epoch change wait! Last: {node.get_block_number()}" + + final_post_hardfork_block = node.get_block_number() + LOG.info(f" Block height after epoch wait: {final_post_hardfork_block}") + + # Verify contracts still have new bytecode after epoch changes + LOG.info("Re-verifying contract bytecodes after epoch changes...") + epoch_snapshot = snapshot_system_contracts(w3) + for name in changed: + assert epoch_snapshot[name] == post_snapshot[name], \ + f"Contract {name} bytecode changed unexpectedly after epoch!" + LOG.info(" Contract bytecodes stable across epoch boundaries") + + LOG.info("✅ Phase 5 PASSED: epoch change successful") + + # ── Phase 6: Node restart & replay ─────────────────────────────── + LOG.info("\n[Phase 6] Node restart & replay verification") + + pre_stop_height = node.get_block_number() + LOG.info(f" Pre-stop block height: {pre_stop_height}") + + # Stop node + LOG.info(" Stopping node...") + stop_ok = await node.stop() + assert stop_ok, "Failed to stop node" + + # Verify node is stopped + state, _ = await node.get_state() + assert state == NodeState.STOPPED, f"Node not stopped, state={state.name}" + LOG.info(" ✅ Node stopped and verified") + + # Wait a moment + await asyncio.sleep(3) + + # Start node + LOG.info(" Starting node (replay through hardfork)...") + start_ok = await node.start() + assert start_ok, "Failed to restart node" + LOG.info(" ✅ Node restarted") + + # Verify node catches up and continues + LOG.info(f" Verifying post-restart liveness ({POST_RESTART_BLOCKS} blocks)...") + restart_height = node.get_block_number() + LOG.info(f" Restart block height: {restart_height}") + + restart_ok = await wait_for_blocks_after( + w3, restart_height, POST_RESTART_BLOCKS, timeout=BLOCK_INCREASE_TIMEOUT + ) + assert restart_ok, \ + f"Node failed to produce blocks after restart! Last: {node.get_block_number()}" + + # Final contract verification after restart + replay + LOG.info(" Verifying contract bytecodes after restart...") + restart_snapshot = snapshot_system_contracts(w3) + for name in changed: + assert restart_snapshot[name] == post_snapshot[name], \ + f"Contract {name} bytecode mismatch after restart replay!" + LOG.info(" Contract bytecodes match after replay") + + # Send final transactions to confirm full EVM functionality + if sender: + LOG.info(" Sending final verification transactions...") + ok, fail = await send_eth_transfers(w3, sender, num_txns=LIGHT_PRESSURE_TXN_COUNT) + assert ok > 0, "Post-restart: no transactions succeeded" + LOG.info(f" Post-restart txns: {ok} succeeded, {fail} failed") + + final_height = node.get_block_number() + LOG.info("✅ Phase 6 PASSED: node restart & replay successful") + + # ── Final Summary ──────────────────────────────────────────────── + LOG.info("\n" + "=" * 70) + LOG.info("🎉 ALL PHASES PASSED - Gamma Hardfork E2E Test") + LOG.info(f" gammaBlock: {GAMMA_BLOCK}") + LOG.info(f" Contracts upgraded: {len(changed)}") + LOG.info(f" Final block height: {final_height}") + LOG.info(f" Node restart + replay: ✅") + LOG.info("=" * 70) From 66d76d901a3f0338793d28f4413e0015bd104b73 Mon Sep 17 00:00:00 2001 From: ByteYue Date: Tue, 17 Mar 2026 14:36:23 +0800 Subject: [PATCH 2/2] 2nd --- .../hardfork_test/conftest.py | 67 ++++++ .../hardfork_test/genesis.toml | 16 +- .../cluster_test_cases/hardfork_test/hooks.py | 195 +++++++++++++---- .../hardfork_test/test_hardfork_bridge.py | 205 ++++++++++++++++++ 4 files changed, 430 insertions(+), 53 deletions(-) create mode 100644 gravity_e2e/cluster_test_cases/hardfork_test/conftest.py create mode 100644 gravity_e2e/cluster_test_cases/hardfork_test/test_hardfork_bridge.py diff --git a/gravity_e2e/cluster_test_cases/hardfork_test/conftest.py b/gravity_e2e/cluster_test_cases/hardfork_test/conftest.py new file mode 100644 index 00000000..8830af66 --- /dev/null +++ b/gravity_e2e/cluster_test_cases/hardfork_test/conftest.py @@ -0,0 +1,67 @@ +""" +Pytest configuration and fixtures for Hardfork + Bridge E2E tests. + +Provides: + - mock_anvil_metadata: parsed metadata from hooks.py's pre-loaded MockAnvil + - bridge_verify_timeout: configurable timeout for NativeMinted polling +""" + +import json +import logging +import os +import sys +from pathlib import Path + +_current_dir = Path(__file__).resolve().parent +# Add gravity_e2e parent to path +_gravity_e2e_parent = _current_dir +while _gravity_e2e_parent.name != "gravity_e2e" or not (_gravity_e2e_parent / "gravity_e2e").is_dir(): + _gravity_e2e_parent = _gravity_e2e_parent.parent + if _gravity_e2e_parent == _gravity_e2e_parent.parent: + break +if str(_gravity_e2e_parent) not in sys.path: + sys.path.insert(0, str(_gravity_e2e_parent)) + +import pytest + +LOG = logging.getLogger(__name__) + + +def pytest_addoption(parser): + """Add bridge-specific command line options.""" + parser.addoption( + "--bridge-verify-timeout", + action="store", + default="120", + help="Timeout in seconds for verifying NativeMinted events (default: 120)", + ) + + +@pytest.fixture(scope="session") +def bridge_verify_timeout(request) -> int: + """Timeout for verifying all NativeMinted events.""" + return int(request.config.getoption("--bridge-verify-timeout")) + + +@pytest.fixture(scope="module") +def mock_anvil_metadata() -> dict: + """ + Read MockAnvil metadata written by hooks.py. + + Returns dict with: port, rpc_url, bridge_count, amount, + recipient, sender_address, portal_address, nonces, finalized_block. + """ + metadata_file = _current_dir / "mock_anvil_metadata.json" + if not metadata_file.exists(): + pytest.skip( + "mock_anvil_metadata.json not found — " + "MockAnvil was not started by hooks.py" + ) + + metadata = json.loads(metadata_file.read_text()) + LOG.info( + f"[fixture] Read MockAnvil metadata: " + f"{metadata['bridge_count']} events, " + f"finalized_block={metadata['finalized_block']}" + ) + return metadata diff --git a/gravity_e2e/cluster_test_cases/hardfork_test/genesis.toml b/gravity_e2e/cluster_test_cases/hardfork_test/genesis.toml index 1ce8e670..929859bf 100644 --- a/gravity_e2e/cluster_test_cases/hardfork_test/genesis.toml +++ b/gravity_e2e/cluster_test_cases/hardfork_test/genesis.toml @@ -56,20 +56,24 @@ secrecy_threshold = 9223372036854775808 reconstruction_threshold = 12297829382473033728 fast_path_secrecy_threshold = 12297829382473033728 +# Oracle config: source_types includes Blockchain (0) for bridge [genesis.oracle_config] source_types = [1] -callbacks = ["0x00000000000000000000000000000001625F4001"] +callbacks = ["0x00000000000000000000000000000001625F2018"] +# Bridge config: deploy GBridgeReceiver at genesis [genesis.oracle_config.bridge_config] deploy = true -trusted_bridge = "0xcbEAF3BDe82155F56486Fb5a1072cb8baAf547cc" -trusted_source_id = 11155111 +# GBridgeSender deterministic address on Anvil/MockAnvil (deployer nonce=2) +trusted_bridge = "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0" +trusted_source_id = 31337 +# Oracle task: watch Anvil/MockAnvil (chainId 31337) for MessageSent events [[genesis.oracle_config.tasks]] source_type = 0 -source_id = 11155111 -task_name = "sepolia" -config = "gravity://0/11155111/events?contract=0x0f761B1B3c1aC9232C9015A7276692560aD6a05F&eventSignature=0x5646e682c7d994bf11f5a2c8addb60d03c83cda3b65025a826346589df43406e&fromBlock=10201260" +source_id = 31337 +task_name = "anvil" +config = "gravity://0/31337/events?contract=0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512&eventSignature=0x5646e682c7d994bf11f5a2c8addb60d03c83cda3b65025a826346589df43406e&fromBlock=0" # JWK config - Google OIDC provider [genesis.jwk_config] diff --git a/gravity_e2e/cluster_test_cases/hardfork_test/hooks.py b/gravity_e2e/cluster_test_cases/hardfork_test/hooks.py index 941e739c..80e7a98c 100644 --- a/gravity_e2e/cluster_test_cases/hardfork_test/hooks.py +++ b/gravity_e2e/cluster_test_cases/hardfork_test/hooks.py @@ -1,27 +1,45 @@ """ -Pre-start hook for hardfork test suite. +Pre-start / post-stop hooks for hardfork + bridge test suite. -Injects gravityHardforks configuration (gammaBlock) into the generated -genesis.json before the node starts. This is necessary because the -genesis tool in gravity_chain_core_contracts does not natively support -Gravity-specific hardfork fields — they must be added to the chain -config's extra_fields after genesis generation. +Combines two responsibilities: +1. Inject gravityHardforks.gammaBlock into genesis.json (both copies) +2. Start MockAnvil on port 8546 with pre-loaded bridge events -IMPORTANT: deploy.sh copies genesis.json from artifacts to cluster base_dir -BEFORE hooks run. We need to patch BOTH copies so the node picks up the change. - -Usage: - Set GAMMA_BLOCK env var to control when the hardfork triggers. - Default: 500 blocks (must be higher than faucet init block count ~380). +The relayer_config.json is also written so the node's relayer connects +to the local MockAnvil instead of a real external chain. """ import json import logging import os +import sys from pathlib import Path LOG = logging.getLogger(__name__) +# Ensure gravity_e2e is importable +_E2E_ROOT = str(Path(__file__).resolve().parent.parent.parent) +if _E2E_ROOT not in sys.path: + sys.path.insert(0, _E2E_ROOT) + +_mock = None +_METADATA_FILE = "mock_anvil_metadata.json" + +# Bridge defaults — preload BOTH pre- and post-hardfork batches +_DEFAULT_BRIDGE_COUNT = 20 # 10 pre-hardfork + 10 post-hardfork +_DEFAULT_BRIDGE_AMOUNT = 1_000_000_000_000_000_000 # 1 ether in wei +_DEFAULT_RECIPIENT = "0x6954476eAe13Bd072D9f19406A6B9543514f765C" +_DEFAULT_SENDER = "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0" + +# Relayer config for Anvil bridge +ANVIL_RELAYER_CONFIG = { + "uri_mappings": { + "gravity://0/31337/events?contract=0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512&eventSignature=0x5646e682c7d994bf11f5a2c8addb60d03c83cda3b65025a826346589df43406e&fromBlock=0": "http://localhost:8546" + } +} + + +# ── Genesis injection ──────────────────────────────────────────────── def _inject_gamma_block(genesis_path: Path, gamma_block: int): """Inject gravityHardforks into a single genesis.json file.""" @@ -44,50 +62,133 @@ def _inject_gamma_block(genesis_path: Path, gamma_block: int): with open(genesis_path, "w") as f: json.dump(genesis, f, indent=2) - LOG.info(f" ✅ Patched {genesis_path}") + LOG.info(f" ✅ Patched gammaBlock={gamma_block} in {genesis_path}") return True -def pre_start(test_dir, env, pytest_args): - """ - Inject gravityHardforks.gammaBlock into genesis.json. +def _get_cluster_base_dir(test_dir: Path) -> str: + """Read cluster base_dir from cluster.toml.""" + cluster_config = test_dir / "cluster.toml" + if not cluster_config.exists(): + return "" + try: + import tomli + except ImportError: + try: + import tomllib as tomli + except ImportError: + import toml as tomli + + with open(cluster_config, "rb") as f: + config = tomli.load(f) + return config.get("cluster", {}).get("base_dir", "") + + +def _write_relayer_config(base_dir: str): + """Write relayer_config.json to each node's config dir in the cluster.""" + base = Path(base_dir) + if not base.exists(): + LOG.warning(f"Cluster base_dir {base_dir} doesn't exist, skipping relayer config") + return + + for node_dir in base.iterdir(): + if not node_dir.is_dir(): + continue + config_dir = node_dir / "config" + if config_dir.exists(): + relayer_path = config_dir / "relayer_config.json" + with open(relayer_path, "w") as f: + json.dump(ANVIL_RELAYER_CONFIG, f, indent=2) + LOG.info(f" ✅ Wrote relayer_config.json to {relayer_path}") + + # Clean stale relayer state so relayer does a cold start + data_dir = node_dir / "data" / "reth" + relayer_state = data_dir / "relayer_state.json" + if relayer_state.exists(): + relayer_state.unlink() + LOG.info(f" 🧹 Removed stale {relayer_state}") + +# ── Hooks ──────────────────────────────────────────────────────────── + +def pre_start(test_dir, env, pytest_args=None): + """ Called by runner.py after deploy but before node start. - Patches BOTH the artifacts copy and the deployed base_dir copy. + + 1. Start MockAnvil + preload batch 1 bridge events + 2. Inject gammaBlock into both genesis.json copies + 3. Write relayer_config.json to each node """ + global _mock + test_dir = Path(test_dir) + + from gravity_e2e.utils.mock_anvil import MockAnvil, DEFAULT_PORTAL_ADDRESS + + # ── 1. Start MockAnvil ── + bridge_count = int(os.environ.get("BRIDGE_COUNT", str(_DEFAULT_BRIDGE_COUNT))) + LOG.info(f"🌉 Starting MockAnvil on port 8546, preloading {bridge_count} events...") + _mock = MockAnvil(port=8546) + _mock.start() + + nonces = _mock.preload_events( + count=bridge_count, + amount=_DEFAULT_BRIDGE_AMOUNT, + recipient=_DEFAULT_RECIPIENT, + sender_address=_DEFAULT_SENDER, + events_per_block=1, + ) + + LOG.info( + f" MockAnvil ready: {bridge_count} events, " + f"finalized_block={_mock.current_block}" + ) + + # Write metadata for conftest/test to read + metadata = { + "port": 8546, + "rpc_url": _mock.rpc_url, + "bridge_count": bridge_count, + "amount": _DEFAULT_BRIDGE_AMOUNT, + "recipient": _DEFAULT_RECIPIENT, + "sender_address": _DEFAULT_SENDER, + "portal_address": DEFAULT_PORTAL_ADDRESS, + "nonces": nonces, + "finalized_block": _mock.current_block, + } + metadata_path = test_dir / _METADATA_FILE + metadata_path.write_text(json.dumps(metadata, indent=2)) + LOG.info(f" Wrote metadata to {metadata_path}") + + # ── 2. Inject gammaBlock ── gamma_block = int(os.environ.get("GAMMA_BLOCK", "500")) LOG.info(f"🔧 Injecting gravityHardforks (gammaBlock={gamma_block})") - patched_count = 0 + artifacts_dir = env.get("GRAVITY_ARTIFACTS_DIR", str(test_dir / "artifacts")) + _inject_gamma_block(Path(artifacts_dir) / "genesis.json", gamma_block) - # 1. Patch the artifacts copy - artifacts_dir = env.get("GRAVITY_ARTIFACTS_DIR", str(Path(test_dir) / "artifacts")) - artifacts_genesis = Path(artifacts_dir) / "genesis.json" - if _inject_gamma_block(artifacts_genesis, gamma_block): - patched_count += 1 + base_dir = _get_cluster_base_dir(test_dir) + if base_dir: + _inject_gamma_block(Path(base_dir) / "genesis.json", gamma_block) - # 2. Patch the deployed copy in cluster base_dir - # deploy.sh copies genesis.json to $base_dir/genesis.json - # The node reads from this copy, so we MUST patch it. - cluster_config = Path(test_dir) / "cluster.toml" - if cluster_config.exists(): - try: - import tomli - except ImportError: - try: - import tomllib as tomli - except ImportError: - import toml as tomli - - with open(cluster_config, "rb") as f: - config = tomli.load(f) - base_dir = config.get("cluster", {}).get("base_dir", "") - if base_dir: - deployed_genesis = Path(base_dir) / "genesis.json" - if _inject_gamma_block(deployed_genesis, gamma_block): - patched_count += 1 - - LOG.info(f"✅ Patched {patched_count} genesis.json file(s) with gammaBlock={gamma_block}") - - # Export for test code to read os.environ["GAMMA_BLOCK"] = str(gamma_block) + + # ── 3. Write relayer_config ── + if base_dir: + LOG.info("📡 Writing relayer_config.json for MockAnvil...") + _write_relayer_config(base_dir) + + LOG.info("✅ Pre-start hook complete") + + +def post_stop(test_dir, env): + """Stop MockAnvil after cluster stops.""" + global _mock + + if _mock is not None: + LOG.info("🌉 Stopping MockAnvil...") + _mock.stop() + _mock = None + + metadata_path = Path(test_dir) / _METADATA_FILE + if metadata_path.exists(): + metadata_path.unlink() diff --git a/gravity_e2e/cluster_test_cases/hardfork_test/test_hardfork_bridge.py b/gravity_e2e/cluster_test_cases/hardfork_test/test_hardfork_bridge.py new file mode 100644 index 00000000..4aae3362 --- /dev/null +++ b/gravity_e2e/cluster_test_cases/hardfork_test/test_hardfork_bridge.py @@ -0,0 +1,205 @@ +""" +Hardfork + Bridge E2E Test + +Verifies that the cross-chain bridge works correctly both before and after +the gamma hardfork. All bridge events are pre-loaded by hooks.py. + +Test Flow: + Phase A: Verify batch 1 bridge events (nonces 1-10, pre-loaded) + Phase B: Verify hardfork occurred (contracts upgraded) + Phase C: Verify batch 2 bridge events (nonces 11-20, also pre-loaded) +""" + +import json +import logging +import os +import sys +from pathlib import Path + +import pytest +from web3 import Web3 + +# Ensure gravity_e2e is importable +_current_dir = Path(__file__).resolve().parent +_e2e_root = _current_dir +while _e2e_root.name != "gravity_e2e" or not (_e2e_root / "gravity_e2e").is_dir(): + _e2e_root = _e2e_root.parent + if _e2e_root == _e2e_root.parent: + break +if str(_e2e_root) not in sys.path: + sys.path.insert(0, str(_e2e_root)) + +from gravity_e2e.cluster.manager import Cluster +from gravity_e2e.utils.bridge_utils import ( + poll_all_native_minted, + GBRIDGE_RECEIVER_ADDRESS, + BRIDGE_RECEIVER_ABI, +) + +from hardfork_utils import ( + wait_for_block, + wait_for_blocks_after, + snapshot_system_contracts, + compare_snapshots, +) + +LOG = logging.getLogger(__name__) + +# ── Configuration ──────────────────────────────────────────────────── +GAMMA_BLOCK = int(os.environ.get("GAMMA_BLOCK", "500")) +# Events are split into two halves: batch 1 (pre-hardfork) + batch 2 (post-hardfork) +BATCH_SIZE = 10 # Each batch has 10 events + + +@pytest.mark.asyncio +async def test_hardfork_bridge( + cluster: Cluster, + mock_anvil_metadata: dict, + bridge_verify_timeout: int, +): + """ + Verify bridge works before and after gamma hardfork. + + All events are pre-loaded by hooks.py in a single batch. + We verify them in two phases: batch 1 (nonces 1-10) then batch 2 (nonces 11-20). + """ + node = cluster.get_node("node1") + assert node is not None, "node1 not found in cluster" + w3 = node.w3 + + total_count = mock_anvil_metadata["bridge_count"] + amount = mock_anvil_metadata["amount"] + recipient = mock_anvil_metadata["recipient"] + + # Split into two batches + batch1_count = min(BATCH_SIZE, total_count) + batch2_count = total_count - batch1_count + + LOG.info("=" * 70) + LOG.info("🌉 Hardfork + Bridge E2E Test") + LOG.info(f" gammaBlock = {GAMMA_BLOCK}") + LOG.info(f" Total pre-loaded events = {total_count}") + LOG.info(f" Batch 1 (pre-hardfork verify) = nonces 1-{batch1_count}") + if batch2_count > 0: + LOG.info(f" Batch 2 (post-hardfork verify) = nonces {batch1_count+1}-{total_count}") + LOG.info("=" * 70) + + # ================================================================ + # Phase A: Verify batch 1 bridge events + # ================================================================ + LOG.info(f"\n[Phase A] Verify batch 1 bridge events (nonces 1-{batch1_count})") + + current = w3.eth.block_number + LOG.info(f" Current block: {current}") + + LOG.info(f" Waiting for {batch1_count} NativeMinted events...") + result_a = await poll_all_native_minted( + gravity_w3=w3, + max_nonce=batch1_count, + timeout=bridge_verify_timeout, + poll_interval=3.0, + ) + + found_a = result_a["found_nonces"] + missing_a = result_a["missing_nonces"] + LOG.info( + f" Batch 1: {len(found_a)}/{batch1_count} events found, " + f"{len(missing_a)} missing" + ) + + assert len(missing_a) == 0, ( + f"Batch 1: {len(missing_a)} nonces missing: " + f"{sorted(missing_a)[:20]}" + ) + + # Verify balance for batch 1 + balance_a = w3.eth.get_balance(recipient) + expected_a = batch1_count * amount + LOG.info(f" Balance: {balance_a} wei (expected >= {expected_a})") + assert balance_a >= expected_a, ( + f"Batch 1 balance too low: {balance_a} < {expected_a}" + ) + + LOG.info("✅ Phase A PASSED: batch 1 bridge events verified") + + # ================================================================ + # Phase B: Verify hardfork occurred + # ================================================================ + LOG.info(f"\n[Phase B] Verify hardfork at block {GAMMA_BLOCK}") + + current = w3.eth.block_number + if current < GAMMA_BLOCK: + LOG.info(f" Waiting for gammaBlock={GAMMA_BLOCK} (current={current})...") + wait_for_block(w3, GAMMA_BLOCK, timeout=600) + wait_for_blocks_after(w3, GAMMA_BLOCK, count=5, timeout=30) + + # Verify contract upgrades happened + post_snapshot = snapshot_system_contracts(w3) + post_existing = {k: v for k, v in post_snapshot.items() if v is not None} + LOG.info(f" Post-hardfork: {len(post_existing)} contracts with code") + + assert len(post_existing) >= 4, ( + f"Expected >= 4 system contracts, found {len(post_existing)}" + ) + + LOG.info("✅ Phase B PASSED: hardfork verified") + + # ================================================================ + # Phase C: Verify batch 2 bridge events (post-hardfork) + # ================================================================ + if batch2_count <= 0: + LOG.info("\n[Phase C] SKIPPED: no batch 2 events") + else: + LOG.info( + f"\n[Phase C] Verify batch 2 bridge events " + f"(nonces {batch1_count+1}-{total_count})" + ) + + LOG.info(f" Waiting for all {total_count} NativeMinted events...") + result_c = await poll_all_native_minted( + gravity_w3=w3, + max_nonce=total_count, + timeout=bridge_verify_timeout, + poll_interval=3.0, + ) + + found_c = result_c["found_nonces"] + missing_c = result_c["missing_nonces"] + LOG.info( + f" Total: {len(found_c)}/{total_count} events found, " + f"{len(missing_c)} missing" + ) + + assert len(missing_c) == 0, ( + f"Post-hardfork: {len(missing_c)} nonces missing: " + f"{sorted(missing_c)[:20]}" + ) + + # Verify nonce continuity + nonces_found = sorted(found_c) + expected_nonces = list(range(1, total_count + 1)) + assert nonces_found == expected_nonces, ( + f"Nonces not continuous: " + f"expected 1-{total_count}, got {nonces_found[0]}-{nonces_found[-1]}" + ) + + # Verify cumulative balance + balance_c = w3.eth.get_balance(recipient) + expected_c = total_count * amount + LOG.info(f" Final balance: {balance_c} wei (expected >= {expected_c})") + assert balance_c >= expected_c, ( + f"Post-hardfork balance too low: {balance_c} < {expected_c}" + ) + + LOG.info("✅ Phase C PASSED: batch 2 bridge events verified post-hardfork") + + # ================================================================ + # Summary + # ================================================================ + LOG.info("\n" + "=" * 70) + LOG.info("🎉 ALL PHASES PASSED — Hardfork + Bridge E2E Test") + LOG.info(f" Batch 1 (pre-hardfork): {batch1_count} ✅") + LOG.info(f" Batch 2 (post-hardfork): {batch2_count} ✅") + LOG.info(f" Total bridges: {total_count}") + LOG.info(f" Final block: {w3.eth.block_number}") + LOG.info("=" * 70)