Skip to content

v2.0.2

Latest

Choose a tag to compare

@i-naman i-naman released this 23 Nov 05:59
· 726 commits to main since this release
9c79dba

v2.0.2 — Consensus resilience and RPC improvements

Block production now rides through validators going offline, eth_getCode joins the JSON-RPC
surface, and the accounts database holds up under heavier sync load. A drop-in upgrade: no
protocol, consensus-rule or configuration changes.


Highlights

Block production stays up through validator maintenance. The sequencer begins a consensus round
as soon as a Byzantine quorum (ceil(2n/3)) of the committee is connected — the same threshold
voting already uses. With the 7-member committee, up to two validators can be offline for restarts,
upgrades or maintenance while blocks keep flowing. Committee selection and certificate verification
are unchanged.

eth_getCode on JSON-RPC. Standard Ethereum tooling and exchange integrations that run a
contract check during address validation work out of the box. The block tag is optional and
defaults to latest; every address returns 0x, as no contract code is stored on this network.

More headroom for sync serving. Account-sync serving runs behind a process-wide concurrency
limit with bounded backoff, so RPC queries and block commit keep their database capacity while
peers sync from the node. Two new environment variables let operators tune it.

Groundwork for v3base. fastsync.serve_v4 (off by default) lets the sequencer serve blocks over
/fastsync/v4 to v3base nodes following this network. Read-only, and retired once the migration
completes.


Also in this release

  • JMDN_ACCOUNTSYNC_DB_SLOTS (default 4) and JMDN_ACCOUNTS_POOL_MAX (default 30) tune
    account-sync concurrency and the accounts connection pool.
  • Tighter connection and goroutine lifecycle management in the database layer.

Full detail in CHANGELOG.md.


Included changes

PR
#111 Quorum-based consensus round formation
#132 eth_getCode JSON-RPC method
#185 Account-sync database concurrency controls
#275 Read-only /fastsync/v4 block serving
#301 Changelog

Full diff: v2.0.1...v2.0.2 — 27 files changed,
1,286 insertions, 53 deletions.


Upgrade

Docker nodes (from v2.0.1):

Open .env, change JMDN_VERSION=v2.0.1 to JMDN_VERSION=v2.0.2, save.

docker compose pull jmdn
docker compose up -d jmdn

No config changes required. No re-bootstrap needed. 2.0.1 and 2.0.2 nodes interoperate, so
nodes can be upgraded one at a time; the consensus improvement takes effect once the sequencer runs
2.0.2.

Full changelog: https://github.com/JupiterMetaLabs/jmdn/blob/v2.0.2/CHANGELOG.md