chore/sync-with-node-repo

This commit is contained in:
andrussal 2026-01-20 07:07:15 +01:00
parent 77ae5078a6
commit 28685298ba
3 changed files with 2549 additions and 740 deletions

3193
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -40,50 +40,50 @@ testing-framework-runner-local = { default-features = false, path = "testing-f
testing-framework-workflows = { default-features = false, path = "testing-framework/workflows" }
# Logos git dependencies (pinned to latest master)
broadcast-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
broadcast-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
cfgsync_tf = { default-features = false, path = "testing-framework/tools/cfgsync_tf" }
chain-leader = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917", features = [
chain-leader = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8", features = [
"pol-dev-mode",
] }
chain-network = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
chain-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
common-http-client = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
cryptarchia-engine = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
cryptarchia-sync = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
executor-http-client = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
groth16 = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
key-management-system-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
kzgrs = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
kzgrs-backend = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-api = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-blend-message = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-blend-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-cli = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-core = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-da-dispersal = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-da-network-core = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-da-network-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-da-sampling = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-da-verifier = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-executor = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-http-api-common = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-ledger = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-libp2p = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-network = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-node = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-sdp = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-time = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-tracing = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-tracing-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-utils = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
nomos-wallet = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
poc = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
pol = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
subnetworks-assignations = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
tests = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
tx-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
wallet = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
zksign = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "1fce2dc3f482c16361316eb2a1b6ccd1206aa917" }
chain-network = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
chain-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
common-http-client = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
cryptarchia-engine = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
cryptarchia-sync = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
executor-http-client = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
groth16 = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
key-management-system-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
kzgrs = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
kzgrs-backend = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-api = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-blend-message = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-blend-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-cli = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-core = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-da-dispersal = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-da-network-core = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-da-network-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-da-sampling = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-da-verifier = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-executor = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-http-api-common = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-ledger = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-libp2p = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-network = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-node = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-sdp = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-time = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-tracing = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-tracing-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-utils = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
nomos-wallet = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
poc = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
pol = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
subnetworks-assignations = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
tests = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
tx-service = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
wallet = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
zksign = { default-features = false, git = "https://github.com/logos-co/nomos-node.git", rev = "06e2738bb83851fa6ba94ef36d03a4b7be8e17a8" }
# External crates
async-trait = { default-features = false, version = "0.1" }

View File

@ -42,8 +42,9 @@ pub(crate) fn build_blend_service_config(
) {
let message_frequency_per_round = message_frequency_per_round();
let zk_key_id = key_id_for_preload_backend(&Key::from(config.secret_zk_key.clone()));
let signing_key_id = key_id_for_preload_backend(&Key::from(config.signer.clone()));
let user = build_blend_user_config(config, zk_key_id);
let user = build_blend_user_config(config, zk_key_id, signing_key_id);
let deployment_settings = build_blend_deployment_settings(config, message_frequency_per_round);
let network_deployment = build_network_deployment_settings();
@ -60,12 +61,16 @@ fn message_frequency_per_round() -> NonNegativeF64 {
}
}
fn build_blend_user_config(config: &TopologyBlendConfig, zk_key_id: String) -> BlendUserConfig {
fn build_blend_user_config(
config: &TopologyBlendConfig,
zk_key_id: String,
signing_key_id: String,
) -> BlendUserConfig {
let backend_core = &config.backend_core;
let backend_edge = &config.backend_edge;
BlendUserConfig {
non_ephemeral_signing_key: config.private_key.clone(),
non_ephemeral_signing_key_id: signing_key_id,
// Persist recovery data under the tempdir so components expecting it
// can start cleanly.
recovery_path_prefix: PathBuf::from("./recovery/blend"),
@ -143,5 +148,8 @@ fn build_network_deployment_settings() -> NetworkDeploymentSettings {
kademlia_protocol_name: nomos_libp2p::protocol_name::StreamProtocol::new(
"/integration/nomos/kad/1.0.0",
),
chain_sync_protocol_name: nomos_libp2p::protocol_name::StreamProtocol::new(
"/integration/nomos/cryptarchia/sync/1.0.0",
),
}
}