From 1befa253337464f353ccc0deac43ba0169a74313 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 15 Apr 2026 13:47:36 +0800 Subject: [PATCH] fix: sync new_with_genesis_accounts params --- Cargo.lock | 68 +++++++++++++--------- fuzz/Cargo.lock | 68 +++++++++++++--------- fuzz/fuzz_targets/fuzz_state_transition.rs | 2 +- 3 files changed, 79 insertions(+), 59 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 695f4b7..2acc035 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -947,6 +947,14 @@ dependencies = [ "inout 0.2.2", ] +[[package]] +name = "clock_core" +version = "0.1.0" +dependencies = [ + "borsh", + "nssa_core", +] + [[package]] name = "cobs" version = "0.3.0" @@ -963,6 +971,7 @@ dependencies = [ "anyhow", "base64", "borsh", + "clock_core", "hex", "log", "logos-blockchain-common-http-client", @@ -2502,7 +2511,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] name = "logos-blockchain-blend-crypto" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "blake2", "logos-blockchain-groth16", @@ -2516,7 +2525,7 @@ dependencies = [ [[package]] name = "logos-blockchain-blend-message" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "blake2", "derivative", @@ -2539,7 +2548,7 @@ dependencies = [ [[package]] name = "logos-blockchain-blend-proofs" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ed25519-dalek", "generic-array 1.3.5", @@ -2558,7 +2567,7 @@ dependencies = [ [[package]] name = "logos-blockchain-chain-broadcast-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "derivative", @@ -2574,7 +2583,7 @@ dependencies = [ [[package]] name = "logos-blockchain-chain-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "bytes", @@ -2605,7 +2614,7 @@ dependencies = [ [[package]] name = "logos-blockchain-circuits-prover" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "logos-blockchain-circuits-utils", "tempfile", @@ -2614,7 +2623,7 @@ dependencies = [ [[package]] name = "logos-blockchain-circuits-utils" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "dirs", ] @@ -2622,7 +2631,7 @@ dependencies = [ [[package]] name = "logos-blockchain-common-http-client" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "futures", "hex", @@ -2642,7 +2651,7 @@ dependencies = [ [[package]] name = "logos-blockchain-core" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ark-ff 0.4.2", "bincode", @@ -2672,7 +2681,7 @@ dependencies = [ [[package]] name = "logos-blockchain-cryptarchia-engine" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "cfg_eval", "logos-blockchain-pol", @@ -2688,7 +2697,7 @@ dependencies = [ [[package]] name = "logos-blockchain-cryptarchia-sync" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "bytes", "futures", @@ -2705,7 +2714,7 @@ dependencies = [ [[package]] name = "logos-blockchain-groth16" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ark-bn254 0.4.0", "ark-ec 0.4.2", @@ -2723,7 +2732,7 @@ dependencies = [ [[package]] name = "logos-blockchain-http-api-common" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "axum", "logos-blockchain-core", @@ -2738,7 +2747,7 @@ dependencies = [ [[package]] name = "logos-blockchain-key-management-system-keys" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "bytes", @@ -2764,7 +2773,7 @@ dependencies = [ [[package]] name = "logos-blockchain-key-management-system-macros" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "proc-macro2", "quote", @@ -2774,7 +2783,7 @@ dependencies = [ [[package]] name = "logos-blockchain-ledger" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "derivative", "logos-blockchain-blend-crypto", @@ -2799,7 +2808,7 @@ dependencies = [ [[package]] name = "logos-blockchain-network-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "futures", @@ -2816,7 +2825,7 @@ dependencies = [ [[package]] name = "logos-blockchain-poc" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "logos-blockchain-circuits-prover", "logos-blockchain-circuits-utils", @@ -2832,7 +2841,7 @@ dependencies = [ [[package]] name = "logos-blockchain-pol" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "astro-float", "logos-blockchain-circuits-prover", @@ -2851,7 +2860,7 @@ dependencies = [ [[package]] name = "logos-blockchain-poq" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "logos-blockchain-circuits-prover", "logos-blockchain-circuits-utils", @@ -2868,7 +2877,7 @@ dependencies = [ [[package]] name = "logos-blockchain-poseidon2" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ark-bn254 0.4.0", "ark-ff 0.4.2", @@ -2879,7 +2888,7 @@ dependencies = [ [[package]] name = "logos-blockchain-services-utils" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "futures", @@ -2894,7 +2903,7 @@ dependencies = [ [[package]] name = "logos-blockchain-storage-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "bytes", @@ -2912,7 +2921,7 @@ dependencies = [ [[package]] name = "logos-blockchain-time-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "futures", @@ -2931,7 +2940,7 @@ dependencies = [ [[package]] name = "logos-blockchain-tracing" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "opentelemetry", "opentelemetry-appender-tracing", @@ -2954,7 +2963,7 @@ dependencies = [ [[package]] name = "logos-blockchain-utils" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "blake2", @@ -2971,7 +2980,7 @@ dependencies = [ [[package]] name = "logos-blockchain-utxotree" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ark-ff 0.4.2", "logos-blockchain-groth16", @@ -2985,7 +2994,7 @@ dependencies = [ [[package]] name = "logos-blockchain-witness-generator" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "tempfile", ] @@ -2993,7 +3002,7 @@ dependencies = [ [[package]] name = "logos-blockchain-zksign" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "logos-blockchain-circuits-prover", "logos-blockchain-circuits-utils", @@ -3204,6 +3213,7 @@ version = "0.1.0" dependencies = [ "anyhow", "borsh", + "clock_core", "hex", "k256", "log", diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index a834922..486a5d6 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -949,6 +949,14 @@ dependencies = [ "inout 0.2.2", ] +[[package]] +name = "clock_core" +version = "0.1.0" +dependencies = [ + "borsh", + "nssa_core", +] + [[package]] name = "cobs" version = "0.3.0" @@ -965,6 +973,7 @@ dependencies = [ "anyhow", "base64", "borsh", + "clock_core", "hex", "log", "logos-blockchain-common-http-client", @@ -2538,7 +2547,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] name = "logos-blockchain-blend-crypto" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "blake2", "logos-blockchain-groth16", @@ -2552,7 +2561,7 @@ dependencies = [ [[package]] name = "logos-blockchain-blend-message" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "blake2", "derivative", @@ -2575,7 +2584,7 @@ dependencies = [ [[package]] name = "logos-blockchain-blend-proofs" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ed25519-dalek", "generic-array 1.3.5", @@ -2594,7 +2603,7 @@ dependencies = [ [[package]] name = "logos-blockchain-chain-broadcast-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "derivative", @@ -2610,7 +2619,7 @@ dependencies = [ [[package]] name = "logos-blockchain-chain-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "bytes", @@ -2641,7 +2650,7 @@ dependencies = [ [[package]] name = "logos-blockchain-circuits-prover" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "logos-blockchain-circuits-utils", "tempfile", @@ -2650,7 +2659,7 @@ dependencies = [ [[package]] name = "logos-blockchain-circuits-utils" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "dirs", ] @@ -2658,7 +2667,7 @@ dependencies = [ [[package]] name = "logos-blockchain-common-http-client" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "futures", "hex", @@ -2678,7 +2687,7 @@ dependencies = [ [[package]] name = "logos-blockchain-core" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ark-ff 0.4.2", "bincode", @@ -2708,7 +2717,7 @@ dependencies = [ [[package]] name = "logos-blockchain-cryptarchia-engine" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "cfg_eval", "logos-blockchain-pol", @@ -2724,7 +2733,7 @@ dependencies = [ [[package]] name = "logos-blockchain-cryptarchia-sync" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "bytes", "futures", @@ -2741,7 +2750,7 @@ dependencies = [ [[package]] name = "logos-blockchain-groth16" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ark-bn254 0.4.0", "ark-ec 0.4.2", @@ -2759,7 +2768,7 @@ dependencies = [ [[package]] name = "logos-blockchain-http-api-common" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "axum", "logos-blockchain-core", @@ -2774,7 +2783,7 @@ dependencies = [ [[package]] name = "logos-blockchain-key-management-system-keys" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "bytes", @@ -2800,7 +2809,7 @@ dependencies = [ [[package]] name = "logos-blockchain-key-management-system-macros" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "proc-macro2", "quote", @@ -2810,7 +2819,7 @@ dependencies = [ [[package]] name = "logos-blockchain-ledger" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "derivative", "logos-blockchain-blend-crypto", @@ -2835,7 +2844,7 @@ dependencies = [ [[package]] name = "logos-blockchain-network-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "futures", @@ -2852,7 +2861,7 @@ dependencies = [ [[package]] name = "logos-blockchain-poc" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "logos-blockchain-circuits-prover", "logos-blockchain-circuits-utils", @@ -2868,7 +2877,7 @@ dependencies = [ [[package]] name = "logos-blockchain-pol" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "astro-float", "logos-blockchain-circuits-prover", @@ -2887,7 +2896,7 @@ dependencies = [ [[package]] name = "logos-blockchain-poq" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "logos-blockchain-circuits-prover", "logos-blockchain-circuits-utils", @@ -2904,7 +2913,7 @@ dependencies = [ [[package]] name = "logos-blockchain-poseidon2" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ark-bn254 0.4.0", "ark-ff 0.4.2", @@ -2915,7 +2924,7 @@ dependencies = [ [[package]] name = "logos-blockchain-services-utils" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "futures", @@ -2930,7 +2939,7 @@ dependencies = [ [[package]] name = "logos-blockchain-storage-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "bytes", @@ -2948,7 +2957,7 @@ dependencies = [ [[package]] name = "logos-blockchain-time-service" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "futures", @@ -2967,7 +2976,7 @@ dependencies = [ [[package]] name = "logos-blockchain-tracing" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "opentelemetry", "opentelemetry-appender-tracing", @@ -2990,7 +2999,7 @@ dependencies = [ [[package]] name = "logos-blockchain-utils" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "async-trait", "blake2", @@ -3007,7 +3016,7 @@ dependencies = [ [[package]] name = "logos-blockchain-utxotree" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "ark-ff 0.4.2", "logos-blockchain-groth16", @@ -3021,7 +3030,7 @@ dependencies = [ [[package]] name = "logos-blockchain-witness-generator" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "tempfile", ] @@ -3029,7 +3038,7 @@ dependencies = [ [[package]] name = "logos-blockchain-zksign" version = "0.2.1" -source = "git+https://github.com/logos-blockchain/logos-blockchain.git#a40f26eb40efb750a7b0411a9359e2f3945dfe90" +source = "git+https://github.com/logos-blockchain/logos-blockchain.git?rev=1da154c74b911318fb853d37261f8a05ffe513b4#1da154c74b911318fb853d37261f8a05ffe513b4" dependencies = [ "logos-blockchain-circuits-prover", "logos-blockchain-circuits-utils", @@ -3240,6 +3249,7 @@ version = "0.1.0" dependencies = [ "anyhow", "borsh", + "clock_core", "hex", "k256", "log", diff --git a/fuzz/fuzz_targets/fuzz_state_transition.rs b/fuzz/fuzz_targets/fuzz_state_transition.rs index 741f8ab..b394d45 100644 --- a/fuzz/fuzz_targets/fuzz_state_transition.rs +++ b/fuzz/fuzz_targets/fuzz_state_transition.rs @@ -17,7 +17,7 @@ fuzz_target!(|data: &[u8]| { .collect(); // Construct the initial state - let mut state = V03State::new_with_genesis_accounts(&init_accs, &[]); + let mut state = V03State::new_with_genesis_accounts(&init_accs, vec![], 0); // Generate up to 8 transactions and apply them let n_txs: u8 = u8::arbitrary(&mut u).unwrap_or(0) % 8;