Configure config for testnet.

This commit is contained in:
Alejandro Cabeza Romero 2026-01-22 18:00:15 +01:00
parent 695019fd7d
commit f5cae58d23
No known key found for this signature in database
GPG Key ID: DA3D14AE478030FD
2 changed files with 198 additions and 675 deletions

View File

@ -1,675 +0,0 @@
network:
backend:
swarm:
host: 0.0.0.0
port: 50055
node_key: 04a2eac703bbb971f3a745aa9fbe04d51b747e0b262493542df029d34b3c4b41
gossipsub_config:
history_length: 5
history_gossip: 3
mesh_n: 6
mesh_n_low: 5
mesh_n_high: 12
retain_scores: 4
gossip_lazy: 6
gossip_factor: 0.25
heartbeat_initial_delay:
secs: 5
nanos: 0
heartbeat_interval:
secs: 1
nanos: 0
fanout_ttl:
secs: 60
nanos: 0
check_explicit_peers_ticks: 300
duplicate_cache_time:
secs: 60
nanos: 0
validate_messages: false
allow_self_origin: false
do_px: false
prune_peers: 0
prune_backoff:
secs: 60
nanos: 0
unsubscribe_backoff:
secs: 10
nanos: 0
backoff_slack: 1
flood_publish: true
graft_flood_threshold:
secs: 10
nanos: 0
mesh_outbound_min: 2
opportunistic_graft_ticks: 60
opportunistic_graft_peers: 2
gossip_retransimission: 3
max_messages_per_rpc: null
max_ihave_length: 5000
max_ihave_messages: 10
iwant_followup_time:
secs: 3
nanos: 0
published_message_ids_cache_time:
secs: 10
nanos: 0
kademlia_config:
client_mode: false
identify_config: {}
chain_sync_config:
peer_response_timeout: 60000
nat_config:
type: traversal
autonat:
retest_successful_external_addresses_interval:
secs: 0
nanos: 0
mapping:
timeout: '1.000000000'
lease_duration:
secs: 7200
nanos: 0
max_retries: 3
renewal_delay_fraction: 0.8
retry_interval:
secs: 30
nanos: 0
gateway_monitor:
check_interval:
secs: 300
nanos: 0
initial_peers: []
blend:
non_ephemeral_signing_key: e41bc897e7ea9f685744984a27597c16fcb255c1e456b3ea312889948c5e4ba6
recovery_path_prefix: ./resources/recovery/blend
core:
backend:
listening_address: /ip4/127.0.0.1/udp/61630/quic-v1
core_peering_degree:
start: 1
end: 3
edge_node_connection_timeout:
secs: 1
nanos: 0
max_edge_node_incoming_connections: 300
max_dial_attempts_per_peer: 3
zk:
secret_key_kms_id: 93eac7a7892d5f287d0a03920c7713e2b04c9c3353d6bbeddea51938d94b2d02
edge:
backend:
max_dial_attempts_per_peer_per_message: 1
replication_factor: 1
deployment:
blend:
common:
num_blend_layers: 3
timing:
rounds_per_session: 648000
rounds_per_interval: 30
round_duration: '1.000000000'
rounds_per_observation_window: 30
rounds_per_session_transition_period: 30
epoch_transition_period_in_slots: 2600
minimum_network_size: 30
protocol_name: /blend/integration-tests
core:
scheduler:
cover:
message_frequency_per_round: 1.0
intervals_for_safety_buffer: 100
delayer:
maximum_release_delay_in_rounds: 3
minimum_messages_coefficient: 1
normalization_constant: 1.03
network:
kademlia_protocol_name: /integration/nomos/kad/1.0.0
identify_protocol_name: /integration/nomos/identify/1.0.0
chain_sync_protocol_name: /integration/nomos/chainsync/1.0.0
cryptarchia:
epoch_config:
epoch_stake_distribution_stabilization: 3
epoch_period_nonce_buffer: 3
epoch_period_nonce_stabilization: 4
consensus_config:
security_param: 10
active_slot_coeff: 0.9
sdp_config:
service_params:
BN:
lock_period: 10
inactivity_period: 20
retention_period: 100
timestamp: 0
session_duration: 21600
DA:
lock_period: 10
inactivity_period: 20
retention_period: 100
timestamp: 0
session_duration: 1000
min_stake:
threshold: 1
timestamp: 0
gossipsub_protocol: /integration/nomos/cryptarchia/proto/1.0.0
time:
slot_duration:
secs: 5
nanos: 0
mempool:
pubsub_topic: mantle_e2e_tests
cryptarchia:
service:
starting_state: !Genesis
genesis_tx:
mantle_tx:
ops:
- opcode: 0
payload:
channel_id: '0000000000000000000000000000000000000000000000000000000000000000'
inscription:
- 103
- 101
- 110
- 101
- 115
- 105
- 115
parent: '0000000000000000000000000000000000000000000000000000000000000000'
signer: '0000000000000000000000000000000000000000000000000000000000000000'
- opcode: 32
payload:
service_type: BN
locators:
- /ip4/127.0.0.1/udp/61630/quic-v1
provider_id: e41bc897e7ea9f685744984a27597c16fcb255c1e456b3ea312889948c5e4ba6
zk_id: 93eac7a7892d5f287d0a03920c7713e2b04c9c3353d6bbeddea51938d94b2d02
locked_note_id: 2119191d5009705dfb2d35940c8e553347bca0ae7f6d74e041fa7722e6d50530
ledger_tx:
inputs: []
outputs:
- value: 1000
pk: 9226c3fcd0da17af7f381e413fb8948dc7b351a31ce38ed178915de8d2903e1b
- value: 1
pk: 1d957fda30fd9dd8e49f7cda2dc42d4e3b2f434129e8d3d89fe974739629a403
- value: 1
pk: cde1ad2cbc8f717f84f204dace4009e5dd589cb92525da05624de24ca2c46622
execution_gas_price: 0
storage_gas_price: 0
ops_proofs:
- NoProof
- !ZkAndEd25519Sigs
zk_sig:
pi_a:
- 141
- 53
- 175
- 207
- 241
- 76
- 83
- 49
- 183
- 246
- 183
- 244
- 244
- 77
- 44
- 157
- 129
- 217
- 39
- 255
- 33
- 77
- 82
- 253
- 125
- 136
- 112
- 13
- 216
- 38
- 244
- 172
pi_b:
- 43
- 24
- 251
- 193
- 251
- 207
- 76
- 255
- 250
- 174
- 123
- 215
- 116
- 179
- 46
- 150
- 76
- 219
- 86
- 29
- 38
- 77
- 35
- 229
- 211
- 171
- 100
- 62
- 200
- 57
- 35
- 28
- 129
- 94
- 91
- 0
- 171
- 142
- 70
- 122
- 156
- 218
- 172
- 251
- 53
- 153
- 157
- 71
- 196
- 210
- 58
- 241
- 87
- 7
- 114
- 118
- 101
- 194
- 188
- 201
- 14
- 167
- 79
- 158
pi_c:
- 48
- 12
- 40
- 241
- 136
- 46
- 231
- 234
- 64
- 40
- 126
- 38
- 67
- 49
- 169
- 93
- 237
- 117
- 54
- 49
- 26
- 136
- 33
- 24
- 104
- 32
- 65
- 81
- 254
- 249
- 38
- 8
ed25519_sig:
- 141
- 93
- 198
- 203
- 32
- 244
- 192
- 185
- 235
- 94
- 254
- 37
- 165
- 124
- 58
- 225
- 59
- 37
- 134
- 244
- 124
- 65
- 226
- 86
- 232
- 29
- 249
- 145
- 140
- 170
- 133
- 85
- 48
- 129
- 235
- 130
- 110
- 174
- 216
- 202
- 247
- 246
- 210
- 208
- 120
- 175
- 97
- 7
- 57
- 3
- 240
- 56
- 93
- 72
- 192
- 116
- 60
- 193
- 189
- 137
- 59
- 38
- 17
- 4
ledger_tx_proof:
pi_a:
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
pi_b:
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
pi_c:
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
recovery_file: ./resources/recovery/cryptarchia.json
bootstrap:
prolonged_bootstrap_period: '1.000000000'
force_bootstrap: false
offline_grace_period:
grace_period: '1200.000000000'
state_recording_interval: '60.000000000'
network:
bootstrap:
ibd:
peers: []
delay_before_new_download:
secs: 10
nanos: 0
sync:
orphan:
max_orphan_cache_size: 5
leader:
pk: 9226c3fcd0da17af7f381e413fb8948dc7b351a31ce38ed178915de8d2903e1b
sk: 6c6404a2eac703bbb971f3a745aa9fbe00000000000000000000000000000000
time:
backend:
ntp_server: pool.ntp.org
ntp_client_settings:
timeout: '5.000000000'
listening_interface: 0.0.0.0
update_interval: '16.000000000'
chain_start_time: 2026-01-19 15:05:09.037333 +00:00:00
mempool:
recovery_path: ./resources/recovery/mempool.json
tracing:
logger: !File
directory: ./resources/tests/logs
prefix: __logs
tracing: None
filter: None
metrics: None
console: None
level: DEBUG
da_network:
backend:
node_key: 04a2eac703bbb971f3a745aa9fbe04d51b747e0b262493542df029d34b3c4b41
listening_address: /ip4/127.0.0.1/udp/50676/quic-v1
policy_settings:
min_dispersal_peers: 0
min_replication_peers: 1
max_dispersal_failures: 0
max_sampling_failures: 0
max_replication_failures: 0
malicious_threshold: 0
monitor_settings:
failure_time_window: '5.000000000'
time_decay_factor: '0'
balancer_interval:
secs: 1
nanos: 0
redial_cooldown:
secs: 0
nanos: 0
replication_settings:
seen_message_cache_size: 1000
seen_message_ttl: '3600.000000000'
subnets_settings:
num_of_subnets: 1
shares_retry_limit: 1
commitments_retry_limit: 1
membership:
subnetwork_size: 2
replication_factor: 1
session_id: 0
api_adapter_settings:
api_port: 64103
is_secure: false
subnet_refresh_interval:
secs: 30
nanos: 0
subnet_threshold: 2
min_session_members: 2
da_verifier:
share_verifier_settings:
global_params_path: ./resources/tests/kzgrs/kzgrs_test_params
domain_size: 2
tx_verifier_settings: null
network_adapter_settings: null
storage_adapter_settings:
blob_storage_directory: ./resources/tests/da_verifier/blobs
mempool_trigger_settings:
publish_threshold: 0.8
share_duration: '5.000000000'
prune_duration: '30.000000000'
prune_interval: '5.000000000'
sdp:
declaration: null
da_sampling:
sampling_settings:
num_samples: 1
num_subnets: 2
old_blobs_check_interval:
secs: 5
nanos: 0
blobs_validity_duration:
secs: 60
nanos: 0
share_verifier_settings:
global_params_path: ./resources/tests/kzgrs/kzgrs_test_params
domain_size: 2
commitments_wait_duration:
secs: 1
nanos: 0
sdp_blob_trigger_sampling_delay:
secs: 5
nanos: 0
http:
backend_settings:
address: 127.0.0.1:64103
cors_origins: []
timeout:
secs: 30
nanos: 0
max_body_size: 10485760
max_concurrent_requests: 1000
rate_limit_per_second: 10000
rate_limit_burst: 10000
storage:
db_path: ./resources/tests/db
read_only: false
column_family: blocks
key_management:
keys:
93eac7a7892d5f287d0a03920c7713e2b04c9c3353d6bbeddea51938d94b2d02: !Zk e11bc8c72b0afa9ca3f26bdd4da0e09de4a9d13cc185c2c1b447f4f033731e15
e41bc897e7ea9f685744984a27597c16fcb255c1e456b3ea312889948c5e4ba6: !Ed25519 04a2eac703bbb971f3a745aa9fbe04d51b747e0b262493542df029d34b3c4b41
wallet:
known_keys:
- 9226c3fcd0da17af7f381e413fb8948dc7b351a31ce38ed178915de8d2903e1b
testing_http:
backend_settings:
address: 127.0.0.1:64104
cors_origins: []
timeout:
secs: 30
nanos: 0
max_body_size: 10485760
max_concurrent_requests: 1000
rate_limit_per_second: 10000
rate_limit_burst: 10000

198
testnet.config.yaml Normal file
View File

@ -0,0 +1,198 @@
tracing:
logger: !Stdout
tracing: None
filter: None
metrics: None
console: None
level: DEBUG
network:
backend:
swarm:
host: 0.0.0.0
port: 3010
node_key: ea1e1dcc31612bd20987f017f0ca435cd2a59a4bd9fd6e14883b4803ae3b803d
initial_peers:
# - /dns4/devnet.blockchain.logos.co/udp/3000/quic-v1
# - /dns4/devnet.blockchain.logos.co/udp/3001/quic-v1
# - /dns4/devnet.blockchain.logos.co/udp/3002/quic-v1
# - /dns4/devnet.blockchain.logos.co/udp/3003/quic-v1
- /ip4/127.0.0.1/udp/3000/quic-v1
- /ip4/127.0.0.1/udp/3001/quic-v1
- /ip4/127.0.0.1/udp/3002/quic-v1
- /ip4/127.0.0.1/udp/3003/quic-v1
blend:
non_ephemeral_signing_key_id: 32e4b52b78e0e8273f31e2ae0826d09b0348d4c66824af4f51ec4ef338082211
recovery_path_prefix: ./resources/recovery/blend
core:
backend:
listening_address: /ip4/127.0.0.1/udp/3001/quic-v1
core_peering_degree:
start: 4
end: 8
edge_node_connection_timeout:
secs: 1
nanos: 0
max_edge_node_incoming_connections: 300
max_dial_attempts_per_peer: 3
zk:
secret_key_kms_id: 32e4b52b78e0e8273f31e2ae0826d09b0348d4c66824af4f51ec4ef338082211
edge:
backend:
max_dial_attempts_per_peer_per_message: 1
replication_factor: 1
deployment: mainnet
da_network:
backend:
node_key: ea1e1dcc31612bd20987f017f0ca435cd2a59a4bd9fd6e14883b4803ae3b803d
listening_address: /ip4/127.0.0.1/udp/8716/quic-v1
policy_settings:
min_dispersal_peers: 1
min_replication_peers: 1
max_dispersal_failures: 3
max_sampling_failures: 3
max_replication_failures: 3
malicious_threshold: 5
monitor_settings:
failure_time_window: "10.0"
time_decay_factor: "0.8"
balancer_interval:
secs: 5
nanos: 0
redial_cooldown:
secs: 5
nanos: 0
replication_settings:
seen_message_cache_size: 1000
seen_message_ttl: "3600.0"
subnets_settings:
num_of_subnets: 20
shares_retry_limit: 5
commitments_retry_limit: 5
membership:
replication_factor: 2
subnetwork_size: 2
api_adapter_settings:
api_port: 8722
is_secure: false
subnet_refresh_interval:
secs: 30
nanos: 0
subnet_threshold: 2048
min_session_members: 2
da_verifier:
share_verifier_settings:
global_params_path: ./resources/tests/kzgrs/kzgrs_test_params
domain_size: 2
tx_verifier_settings: null
network_adapter_settings: null
storage_adapter_settings:
blob_storage_directory: ./resources
mempool_trigger_settings:
publish_threshold: 0.8
share_duration: [ 5, 0 ]
prune_duration: [ 30, 0 ]
prune_interval: [ 5, 0 ]
da_sampling:
share_verifier_settings:
global_params_path: ./resources/tests/kzgrs/kzgrs_test_params
domain_size: 2
sampling_settings:
num_samples: 1
num_subnets: 2
old_blobs_check_interval:
secs: 5
nanos: 0
blobs_validity_duration:
secs: 18446744073709551615
nanos: 0
commitments_wait_duration:
secs: 2
nanos: 0
sdp_blob_trigger_sampling_delay:
secs: 5
nanos: 0
http:
backend_settings:
address: 127.0.0.1:8722
cors_origins: [ ]
time:
chain_start_time: [ 2025, 41, 9, 38, 29, 993653000, 0, 0, 0 ]
backend:
update_interval: [ 16, 0 ]
ntp_server: pool.ntp.org
ntp_client_settings:
timeout: [ 5, 0 ]
listening_interface: 0.0.0.0
cryptarchia:
service:
starting_state: !Genesis
genesis_tx:
mantle_tx:
ops:
- opcode: 0
payload:
channel_id: "0000000000000000000000000000000000000000000000000000000000000000"
inscription: [ 103, 101, 110, 101, 115, 105, 115 ] # "genesis" in bytes
parent: "0000000000000000000000000000000000000000000000000000000000000000"
signer: "0000000000000000000000000000000000000000000000000000000000000000"
ledger_tx:
inputs: []
outputs:
- value: 1
pk: d204000000000000000000000000000000000000000000000000000000000000
execution_gas_price: 0
storage_gas_price: 0
ops_proofs: [NoProof]
ledger_tx_proof:
pi_a: [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
pi_b: [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
pi_c: [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
recovery_file: ./resources/recovery/cryptarchia.json
bootstrap:
prolonged_bootstrap_period: [ 86400, 0 ]
force_bootstrap: false
offline_grace_period:
grace_period: [ 1200, 0 ]
state_recording_interval: [ 60, 0 ]
network:
bootstrap:
ibd:
peers:
# - 12D3KooWEiByuYHNv8CpVLFCvKmnRqeExUrFavQfPy1Ch6ZBD4wn
# - 12D3KooWEAcvukmjQovaQiYHoRMiEC1rkHVqNtSdmnqNg5PX4ex1
# - 12D3KooWPWhnJBXR9VKNZBw5sbYtJxWANH9KUwP4JnQDYYvpkxsC
# - 12D3KooWM9oDwdgvN5RF7Xut97vJVMXSNRytoitQAeNSxjGWvTTc
- 12D3KooWRuCV6UDuQuYkmG9Y7x9uU6WV8whJTxQR3zwpEZnXAoFP
- 12D3KooWBztub2cRcTm4G1yir2Wv6ErFcJjiZi2ZBoJwQk9N77aJ
- 12D3KooWRoYTdyWdaxRv4Sr6JUcvwM1NKYqDrVmPRKRau9c5YqS1
- 12D3KooWELj9EaHym8Awaj2V9GgEb2KCNud8Y3Xz5SiiEt9vVw2b
sync:
orphan:
max_orphan_cache_size: 5
leader:
pk: "0000000000000000000000000000000000000000000000000000000000000000"
sk: 3cf3335017304dcfce45124a0633829f00000000000000000000000000000000
storage:
db_path: ./resources/tests/db
read_only: false
column_family: blocks
mempool:
recovery_path: ./resources/recovery/mempool.json
sdp:
wallet:
known_keys:
- "0000000000000000000000000000000000000000000000000000000000000000"
key_management:
keys:
leader_key: !Zk 3cf3335017304dcfce45124a0633829f00000000000000000000000000000000