diff --git a/daemons/mainnet/guardian-1.toml b/daemons/mainnet/guardian-1.toml index 3c87a5f..7131ccc 100644 --- a/daemons/mainnet/guardian-1.toml +++ b/daemons/mainnet/guardian-1.toml @@ -6,8 +6,8 @@ poll_secs = 15 rpc = "http://127.0.0.1:8545" # the bridged Rand chain's node, once it is cut rpcs = ["${GUARDIAN_RPC_RAND}"] # BR-4/BR-601: a second Rand node, not this host's (docs/guardian-hosts.md, "Providers") rpc_quorum = 2 -chain_id = 21 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) -genesis_hash = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a" # chain 21 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines +chain_id = 22 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) +genesis_hash = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0" # chain 22 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines emitter = "c02df6ba70c2457a7406780da97492a6acb57dc40751e6279f003a570559d15f" [[evm]] diff --git a/daemons/mainnet/guardian-2.toml b/daemons/mainnet/guardian-2.toml index 4ad5ca2..4e4b644 100644 --- a/daemons/mainnet/guardian-2.toml +++ b/daemons/mainnet/guardian-2.toml @@ -6,8 +6,8 @@ poll_secs = 15 rpc = "http://127.0.0.1:8545" # the bridged Rand chain's node, once it is cut rpcs = ["${GUARDIAN_RPC_RAND}"] # BR-4/BR-601: a second Rand node, not this host's (docs/guardian-hosts.md, "Providers") rpc_quorum = 2 -chain_id = 21 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) -genesis_hash = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a" # chain 21 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines +chain_id = 22 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) +genesis_hash = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0" # chain 22 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines emitter = "c02df6ba70c2457a7406780da97492a6acb57dc40751e6279f003a570559d15f" [[evm]] diff --git a/daemons/mainnet/guardian-3.toml b/daemons/mainnet/guardian-3.toml index 0f3627b..cf6d298 100644 --- a/daemons/mainnet/guardian-3.toml +++ b/daemons/mainnet/guardian-3.toml @@ -6,8 +6,8 @@ poll_secs = 15 rpc = "http://127.0.0.1:8545" # the bridged Rand chain's node, once it is cut rpcs = ["${GUARDIAN_RPC_RAND}"] # BR-4/BR-601: a second Rand node, not this host's (docs/guardian-hosts.md, "Providers") rpc_quorum = 2 -chain_id = 21 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) -genesis_hash = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a" # chain 21 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines +chain_id = 22 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) +genesis_hash = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0" # chain 22 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines emitter = "c02df6ba70c2457a7406780da97492a6acb57dc40751e6279f003a570559d15f" [[evm]] diff --git a/daemons/mainnet/guardian-4.toml b/daemons/mainnet/guardian-4.toml index 95e5bfb..3803d4a 100644 --- a/daemons/mainnet/guardian-4.toml +++ b/daemons/mainnet/guardian-4.toml @@ -6,8 +6,8 @@ poll_secs = 15 rpc = "http://127.0.0.1:8545" # the bridged Rand chain's node, once it is cut rpcs = ["${GUARDIAN_RPC_RAND}"] # BR-4/BR-601: a second Rand node, not this host's (docs/guardian-hosts.md, "Providers") rpc_quorum = 2 -chain_id = 21 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) -genesis_hash = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a" # chain 21 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines +chain_id = 22 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) +genesis_hash = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0" # chain 22 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines emitter = "c02df6ba70c2457a7406780da97492a6acb57dc40751e6279f003a570559d15f" [[evm]] diff --git a/daemons/mainnet/guardian-5.toml b/daemons/mainnet/guardian-5.toml index 5f04848..6365c35 100644 --- a/daemons/mainnet/guardian-5.toml +++ b/daemons/mainnet/guardian-5.toml @@ -6,8 +6,8 @@ poll_secs = 15 rpc = "http://127.0.0.1:8545" # the bridged Rand chain's node, once it is cut rpcs = ["${GUARDIAN_RPC_RAND}"] # BR-4/BR-601: a second Rand node, not this host's (docs/guardian-hosts.md, "Providers") rpc_quorum = 2 -chain_id = 21 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) -genesis_hash = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a" # chain 21 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines +chain_id = 22 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) +genesis_hash = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0" # chain 22 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines emitter = "c02df6ba70c2457a7406780da97492a6acb57dc40751e6279f003a570559d15f" [[evm]] diff --git a/daemons/mainnet/guardian-6.toml b/daemons/mainnet/guardian-6.toml index 8f034f6..e5975f0 100644 --- a/daemons/mainnet/guardian-6.toml +++ b/daemons/mainnet/guardian-6.toml @@ -6,8 +6,8 @@ poll_secs = 15 rpc = "http://127.0.0.1:8545" # the bridged Rand chain's node, once it is cut rpcs = ["${GUARDIAN_RPC_RAND}"] # BR-4/BR-601: a second Rand node, not this host's (docs/guardian-hosts.md, "Providers") rpc_quorum = 2 -chain_id = 21 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) -genesis_hash = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a" # chain 21 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines +chain_id = 22 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) +genesis_hash = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0" # chain 22 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines emitter = "c02df6ba70c2457a7406780da97492a6acb57dc40751e6279f003a570559d15f" [[evm]] diff --git a/daemons/mainnet/guardian-7.toml b/daemons/mainnet/guardian-7.toml index e5058d4..d409965 100644 --- a/daemons/mainnet/guardian-7.toml +++ b/daemons/mainnet/guardian-7.toml @@ -6,8 +6,8 @@ poll_secs = 15 rpc = "http://127.0.0.1:8545" # the bridged Rand chain's node, once it is cut rpcs = ["${GUARDIAN_RPC_RAND}"] # BR-4/BR-601: a second Rand node, not this host's (docs/guardian-hosts.md, "Providers") rpc_quorum = 2 -chain_id = 21 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) -genesis_hash = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a" # chain 21 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines +chain_id = 22 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) +genesis_hash = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0" # chain 22 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines emitter = "c02df6ba70c2457a7406780da97492a6acb57dc40751e6279f003a570559d15f" [[evm]] diff --git a/daemons/mainnet/guardian-8.toml b/daemons/mainnet/guardian-8.toml index a8e03ee..df0f30f 100644 --- a/daemons/mainnet/guardian-8.toml +++ b/daemons/mainnet/guardian-8.toml @@ -6,8 +6,8 @@ poll_secs = 15 rpc = "http://127.0.0.1:8545" # the bridged Rand chain's node, once it is cut rpcs = ["${GUARDIAN_RPC_RAND}"] # BR-4/BR-601: a second Rand node, not this host's (docs/guardian-hosts.md, "Providers") rpc_quorum = 2 -chain_id = 21 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) -genesis_hash = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a" # chain 21 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines +chain_id = 22 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) +genesis_hash = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0" # chain 22 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines emitter = "c02df6ba70c2457a7406780da97492a6acb57dc40751e6279f003a570559d15f" [[evm]] diff --git a/daemons/mainnet/relayer.toml b/daemons/mainnet/relayer.toml index 977f489..0df0037 100644 --- a/daemons/mainnet/relayer.toml +++ b/daemons/mainnet/relayer.toml @@ -4,8 +4,8 @@ poll_secs = 15 [rand] rpc = "http://127.0.0.1:8545" # the bridged Rand chain's node, once it is cut -chain_id = 21 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) -genesis_hash = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a" # chain 21 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines +chain_id = 22 # part of every PQ co-signature and governance message (spec/PQ-COSIGNATURE.md §9) +genesis_hash = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0" # chain 22 (spec/PQ-COSIGNATURE.md); with chain_id, checked against the node at start and on every poll (BR-1005) — a cut changes BOTH lines emitter = "c02df6ba70c2457a7406780da97492a6acb57dc40751e6279f003a570559d15f" [[evm]] diff --git a/daemons/tests/audit_v14.rs b/daemons/tests/audit_v14.rs index 654d6ce..d384829 100644 --- a/daemons/tests/audit_v14.rs +++ b/daemons/tests/audit_v14.rs @@ -498,6 +498,7 @@ mod br1005 { /// Chain 21's genesis hash, as the repository records it (AGENTS.md, spec/PQ-COSIGNATURE.md). const CHAIN21: &str = "ca76c2766ed6090ac6ba5dad86b724dd5d2b80c0edfaed287cd8b129e663ca9a"; + const CHAIN22: &str = "29d67542941f2eb6f2c1bb68c759926f5d814c9e2c7a934292806a2d98b7e9c0"; const OTHER: &str = "1111111111111111111111111111111111111111111111111111111111111111"; fn cfg(url: &str, chain_id: Option, genesis: Option<&str>) -> RandConfig { @@ -620,9 +621,10 @@ mod br1005 { } } - /// The mainnet configs in the repository carry chain 21 and its recorded genesis hash. + /// The mainnet configs in the repository carry the live chain (22, cut 2026-11-21) and its + /// recorded genesis hash. #[test] - fn br1005_the_mainnet_configs_name_chain_21_and_its_genesis_hash() { + fn br1005_the_mainnet_configs_name_chain_22_and_its_genesis_hash() { let dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("mainnet"); let mut seen = 0; for entry in std::fs::read_dir(&dir).unwrap() { @@ -632,7 +634,7 @@ mod br1005 { } let config = bridge_daemons::config::Config::load(&path).unwrap(); let (chain_id, genesis) = config.rand.chain_binding().unwrap_or_else(|e| panic!("{}: {e:#}", path.display())); - assert_eq!((chain_id, hex::encode(genesis).as_str()), (21, CHAIN21), "{}", path.display()); + assert_eq!((chain_id, hex::encode(genesis).as_str()), (22, CHAIN22), "{}", path.display()); seen += 1; } assert_eq!(seen, 9, "eight guardians and the relayer");