plasma: bump plasma-consensus to v1.1.0 with config schema migration

- Bump plasma-consensus node version from 0.15.0 to 1.1.0
- Update non-validator.toml schema: replace [validators.N] with [network.bls_peer_ids] + [chain.static_committee.N]
- Add [chain.aquila] section with mainnet activation_height=33300000
- Convert [[network.bootstrap_nodes]] to indexed [network.bootstrap_nodes.N] tables
- Remove deprecated [[network.trusted_peers]] section
- Regenerate compose files with new config

BREAKING: Requires in-place consensus-DB migration. Downgrade to 0.15.0 is unsupported after first 1.1.0 start.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-09-27 23:10:18 +00:00
co-authored by Mistral Vibe
parent 672f626bc1
commit fd73721e33
5 changed files with 120 additions and 112 deletions
@@ -50,7 +50,7 @@ services:
logging: *logging-defaults
plasma-testnet-initialize-consensus:
image: ${PLASMA_PLASMA_CONSENSUS_IMAGE:-ghcr.io/plasmalaboratories/plasma-consensus-public}:${PLASMA_TESTNET_PLASMA_CONSENSUS_VERSION:-0.15.0}
image: ${PLASMA_PLASMA_CONSENSUS_IMAGE:-ghcr.io/plasmalaboratories/plasma-consensus-public}:${PLASMA_TESTNET_PLASMA_CONSENSUS_VERSION:-1.1.0}
user: 0:0
entrypoint: [/bin/bash, -c]
command:
@@ -58,8 +58,8 @@ services:
set -euo pipefail
if [ ! -f /consensus/data.mdb ]; then
echo "INFO Generating consensus database for testnet network"
plasma-cli init \
--chain /node/genesis.json \
plasma-cli init observer \
--config-path /config/non-validator.toml \
--data-dir /consensus
else
echo "INFO Consensus database already exists at /consensus/data.mdb"
@@ -80,6 +80,7 @@ services:
volumes:
- ${PLASMA_TESTNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-plasma-testnet-reth-pruned-trace-consensus}:/consensus:rw
- ./plasma/testnet/genesis.json:/node/genesis.json:ro
- ./plasma/testnet/non-validator.toml:/config/non-validator.toml:ro
- .jwtsecret:/jwt/jwt.hex:ro
logging: *logging-defaults
@@ -190,7 +191,7 @@ services:
shm_size: 2gb
plasma-testnet-node:
image: ${PLASMA_PLASMA_CONSENSUS_IMAGE:-ghcr.io/plasmalaboratories/plasma-consensus-public}:${PLASMA_TESTNET_PLASMA_CONSENSUS_VERSION:-0.15.0}
image: ${PLASMA_PLASMA_CONSENSUS_IMAGE:-ghcr.io/plasmalaboratories/plasma-consensus-public}:${PLASMA_TESTNET_PLASMA_CONSENSUS_VERSION:-1.1.0}
user: 0:0
ports:
- 19566:34070
@@ -212,7 +213,7 @@ services:
exec plasma-cli observer \
--config-path /tmp/non-validator.toml \
--no-color \
--timeout-stream-manager 5s \
--timeout-stream-manager 10ms \
--nat=extip:${IP}:19566 \
--telemetry.enable-metrics \
--telemetry.enable-health \