plasma: fix trusted_peers object shape for plasma-consensus 1.1.0
Convert trusted_peers from TOML array-of-tables format ([[network.trusted_peers]]) to object format ([network.trusted_peers.0], [network.trusted_peers.1], etc.) to match the schema expected by plasma-consensus 1.1.0. The array-of-tables format was causing fatal errors on rpc-de-27: Error: Invalid config schema: Schema compliance: 'Invalid Toml config file. /tmp/non-validator.toml [...] is not of type "object"' Mirrors the existing bootstrap_nodes structure which already uses numbered keys. Preserves all three peer entries unchanged. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -28,15 +28,15 @@ api_host = "plasma-mainnet-observer-cs-9.plasmalabs.tech"
|
||||
p2p_port = 34070
|
||||
peer_id = "16Uiu2HAm2PVfZRoyXXLASVzVX3gyBEQd3mRAzZytjv3esD9kWumD"
|
||||
|
||||
[[network.trusted_peers]]
|
||||
[network.trusted_peers.0]
|
||||
peer_id = "16Uiu2HAm4WdZmik6PVsRvcbCzc1eHuNfQHgj52CxUAjmdC7W5dXi"
|
||||
address = "plasma-mainnet-observer-cs-1.plasmalabs.tech:34070"
|
||||
|
||||
[[network.trusted_peers]]
|
||||
[network.trusted_peers.1]
|
||||
peer_id = "16Uiu2HAmGmnMycTkjnMoxcyVAF8cUFpVoVKKCAGTpwEBJMs181yM"
|
||||
address = "plasma-mainnet-observer-cs-4.plasmalabs.tech:34070"
|
||||
|
||||
[[network.trusted_peers]]
|
||||
[network.trusted_peers.2]
|
||||
peer_id = "16Uiu2HAm2PVfZRoyXXLASVzVX3gyBEQd3mRAzZytjv3esD9kWumD"
|
||||
address = "plasma-mainnet-observer-cs-9.plasmalabs.tech:34070"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user