Repository navigation
Releases
v2.23.0: Nibiru BFT, Subsecond Block Pacing, and Oracle-First Proposals
Nibiru v2.23 brings Nibiru BFT to mainnet, gives the chain an on-chain control for faster block pacing, and introduces named proposal lanes that place oracle updates ahead of keeper activity and EVM transactions. Contract-backed consensus and upgrade management make those controls explicit, inspectable chain state.
The performance opportunity is demonstrated. A live testnet pacing experiment reduced median block intervals from 5.33 seconds to 0.53 seconds, with approximately tenfold shorter mean intervals. v2.23 delivers the control path behind that result to mainnet; the authorized pacing choice is a separate on-chain action.
- Source range:
v2.21.2throughv2.23.0. - Release commit:
2a0ed1446bba9d2f76a4338270f135d433c2694b, the same source tested byv2.23.0-rc.1. - Upgrade plan name:
v2.23.0. - Release artifacts · Full source comparison.
1 - Main Highlights
- Nibiru BFT becomes first-party chain infrastructure, bringing the consensus engine into the same maintained source tree as the SDK, IBC, and Wasm runtime.
- Chain-wide block pacing supports demonstrated subsecond operation, with one authorized contract execution applying the selected interval across nodes.
- Four named proposal lanes prioritize oracle updates, followed by other eligible zero-gas traffic, EVM transactions, and default transactions.
- Consensus parameters and upgrade state move into dedicated Wasm contracts, with existing state preserved and native interfaces retained where applicable.
- Runtime, RPC, and developer tooling improve, including verified WasmVM libraries, corrected Ethereum DATA hashing, and native Wasm optimizer distribution.
- The legacy-USDC collection handler ships with a completed live testnet rehearsal, preserving holder entitlements and leaving unrelated EVM contract balances in place.
2 - Nibiru BFT and Measured Faster Blocks
Nibiru BFT brings the deployed CometBFT v0.37.18 engine in-tree under bft/. Consensus changes, application integration, and their tests can evolve together in one release. Protocol message identities and existing RPC compatibility remain intact. Builds stamp the Nibiru BFT version alongside the node version, while existing cometbft_ metrics and nibid tendermint commands remain available. PR #2835
Timing research identified next-height pacing as a substantial part of the block interval. The contract-backed control replaces independently configured commit waits with one chain-wide value. In the published testnet experiment, a 200 ms pacing setting produced:
| Measurement | Before | After |
|---|---|---|
| Mean block interval | 5.41 s | 0.56 s |
| Median block interval | 5.33 s | 0.53 s |
| Observed blocks | 154 | 699 |
Our controlled timing research also demonstrated 57.45 ms block intervals, measured as the median of healthy-run mean intervals, compared with 1,338.29 ms in the control. Client-observed indexed-result p95 fell from 1,790.68 ms to 275.99 ms. This experiment used four validators and an RPC follower on one host, at one bank transfer per second. It tuned pacing, gossip, and flushing together while retaining both voting phases, execution, and persistence. These are laboratory results from the research build that preceded v2.23. The live testnet experiment above demonstrates subsecond operation on a deployed network.
Controlled Timing Research Configuration
The healthy comparison used three repetitions per configuration, with 120 measured transfers per repetition. Both configurations used the same research binary and retained a 3,000 ms proposal timeout and 1,000 ms precommit-wait timeout.
| Setting | Control | Faster Configuration |
|---|---|---|
| Next-height pacing | 1,000 ms | 0 ms |
| Peer gossip sleep | 100 ms | 1 ms |
| Connection flush throttle | 100 ms | 1 ms |
The wider availability campaign comprised 42 runs and 5,040 measured transfers. All measured transfers had matching execution results at the ingress validator and RPC follower, including fault scenarios. The single-host setup isolates scheduling overhead; mainnet performance also depends on validator geography, workload, and its chosen configuration.
Setting min_block_commit_duration_ms controls the minimum commit-phase duration before the next height. It retains proposal execution, voting, and state persistence. The upgrade preserves existing consensus parameters and initially leaves this override unset, allowing the authorized operator to select pacing separately. PR #2861
3 - Oracle-First Proposal Lanes
Previously, EVM transactions were selected ahead of Cosmos transactions, including oracle updates. An EVM trade could therefore execute before an available price update in the same block. v2.23 makes proposal ordering explicit:
| Lane | Proposed Traffic |
|---|---|
| 1. Oracle | Eligible calls to the configured Sai oracle, including price writes |
| 2. Other zero-gas | Remaining eligible traffic, including keeper actions, administration, and relayed user trades |
| 3. EVM | Ethereum transactions selected through the nonce-aware EVM mempool |
| 4. Default | Other non-EVM transactions |
When an available oracle update is selected, later keeper actions and trades can execute against that update. The oracle address comes from committed chain configuration. Classification retains the existing zero-gas authorization policy.
The first two lanes share a quarter of the proposal's transaction-byte budget, with the oracle lane filling first. Selection preserves signer and fee-payer sequence dependencies by promoting earlier transactions when needed. The EVM lane retains contiguous nonce selection. These lanes govern how upgraded proposers construct blocks; lane ordering is not a new consensus acceptance rule. Property, signed-transaction, and fuzz tests cover ordering, budgets, and acceptance of constructed proposals. PR #2864
4 - Contract-Backed Consensus and Upgrades
The x-consensus contract owns consensus parameters and the optional pacing override. It authorizes changes against the live x/sudo root. At EndBlock, a bounded query validates and persists the contract's parameters; the corresponding settings apply to the next height. Restarted nodes load the committed state.
Consensus parameter changes use this contract interface rather than the retired native parameter-update handler. Existing parameter values are imported during the enabling migration. PR #2861
The x-upgrade contract becomes canonical storage for upgrade plans, completion history, module versions, and scheduling state. The migration imports and verifies the legacy state before activating the contract-backed keeper. Governance remains the scheduling authority.
Existing height-based plans and cancellation messages retain their native interfaces. Time-target requests select a concrete height when a block reaches the target timestamp, then add a configured block delay, initially 1,000 blocks. This gives operators a fixed execution height and a preparation cushion; the timestamp is not an exact activation-time promise. Native Go handlers still execute module migrations, and validators still switch binaries through their normal upgrade mechanism at the scheduled height. Validator tooling receives the finalized height plan. Additive CLI commands expose status, parameters, history, and applied records without requiring an old block lookup. PR #2872
5 - Runtime, RPC, and Developer Improvements
Node builds pin checksum-verified WasmVM v1.13.2 native libraries. The release carries runtime validation, gas-accounting, and cleanup maintenance while retaining the existing C ABI and Wasmer 7.4.2 baseline. These libraries are part of the coordinated node upgrade. The release also improves bounded feegrant maintenance and Wasm permission validation. PR #2847, PR #2826
Ethereum RPC compatibility improves for DATA hashing, parameter handling, and pending-transaction responses. Pending-transaction formatting and tests distinguish a mempool observation from a confirmed receipt. The release also tightens diagnostic exposure while retaining EVM tracing. PR #2883
The Sai Wasm optimizer supports native ARM64 development builds, pinned compiler environments, VM compatibility checks, and versioned native executable distribution. Contract builds retain source and toolchain provenance. The shared Rust library also adds a storage overlay so smart queries can run existing execution logic without persisting writes; returned messages are not dispatched by that simulation. PR #2820, PR #2821, PR #2870
The canonical Eris EVM wrapper source adds voting-escrow management and validator-allocation voting for EVM receipt holders. The wrapper preserves caller identity through Wasm and ...
v2.23.0-rc.1
- 2a0ed14 feat(upgrade): collect legacy USDC during v2.23 (#2886)
- 15c56bd docs(upgrade): align registry deployment and fixture provenance with RC profile
- 1c60258 feat(upgrade): add validated testnet USDC rehearsal profile and RC publishing
- 20780e7 feat(upgrade): query chain-bound USDC holding destination from registry
- 3360d49 fix(upgrade): rebuild opaque-cursor registry and remove redundant ERC20 cache
- 5cfe5f5 fix(upgrade): keep holder registry pagination cursors opaque
- 392912e fix(upgrade): skip malformed USDC holder candidates
- caf4e6b refactor(upgrade): consolidate v2.23 implementation and tests
- 2dbde94 refactor(upgrade): consolidate enabling migrations into v2.23
- 63410d6 refactor: Delete unused constant
- 23f0149 style(upgrade): group report test imports with goimports
- 5d859b3 fix(upgrade): decode Nibiru bank holders in the standalone USDC report
- 714b82d docs(upgrade): align fixture provenance and state testnet rehearsal requirements
- e7d3063 build(upgrade): record final homebox USDC fixture provenance
- c244372 feat(upgrade): collect legacy USDC in v2.23 with event-only repayment records
- fbe46ff test(upgrades): Exercise holder registry across explicit chain IDs
- 28c968b test(upgrades): Use homebox-built USDC registry fixture
- 3493777 build(upgrades): Rebuild USDC holder fixture on homebox
- d680d66 feat(upgrades): Add temporary USDC holder registry and Wasm keeper tests
- d126fbc test(chaosnet): Fail the determinism check unless its load ran (#2854)
- a6334ed docs: remove trailing whitespace in QUIC guide
- b51faf8 test(bft): remove proposal timing race from unlock test
- 1f11a5b Merge remote-tracking branch 'origin/dependabot/go_modules/github.com/go-git/go-git/v5-5.19.3' into ud/determinism-review
- 812ccd5 Merge remote-tracking branch 'origin/dependabot/go_modules/github.com/btcsuite/btcd/btcec/v2-2.5.1' into ud/determinism-review
- e1a8eaa merge: Integrate Nibiru BFT block lanes documentation
- 06b5aa4 Merge remote-tracking branch 'origin/ud/docs-nibiru-bft-name' into ud/determinism-review
- 597fb22 Merge remote-tracking branch 'origin/main' into ud/determinism-review
- dc07df5 build(deps): bump github.com/go-git/go-git/v5 from 5.19.2 to 5.19.3
- deafee6 build(deps): bump github.com/btcsuite/btcd/btcec/v2 from 2.5.0 to 2.5.1
- ce348dc fix(rpc): Remove runtime profiling and stabilize pending coverage (#2883)
- eb3d732 style(rpc): Use consistent distinct CometBFT import aliases
- 5d000b5 docs(rpc): Record pending query reliability fix
- b906e13 Merge branch 'ud/evm-rpc-pending-2693' into ud/evm-rpc
- 3dbf5bb fix(rpc): Avoid redundant params queries for pending transactions
- 8699707 Merge branch 'ud/evm-rpc-pending-2693' into ud/evm-rpc
- 69a5e98 test(rpc): Avoid imposing an order on pending snapshots
- 7799f3d test(rpc): Cover pending transaction snapshots and receipt lifecycle
- e549743 ci(evm): Run EVM checks for embedded contract asset changes
- b35d36a fix(rpc): Remove Go runtime profiling and statistics methods
- 58271ed Merge branch 'review/pr-2740' into ud/evm-rpc
- 0a5b124 Merge branch 'review/pr-2741' into ud/evm-rpc
- 0f366d8 docs(eip712): Explain descending key order compatibility
- e8cbde7 test(rpc): Cover DATA validation and document Keccak semantics
- 909b03b test(rpc): Explain block lag tolerance and improve failure diagnostics
- 8a35d99 Merge remote-tracking branch 'origin/main' into review/pr-2740
- 5a9a7a2 Merge remote-tracking branch 'origin/main' into review/pr-2741
- f467dac Merge remote-tracking branch 'origin/main' into review/pr-2787
- 795b2ef Merge remote-tracking branch 'origin/main' into ud/determinism-review
- 1e3ebcb build(deps): Aggregate green Dependabot updates (#2880)
- 708f705 docs(nibiru-bft): Rewrite block lanes around the shipped Sai fast lanes design
- a3987a6 style(tokenfactory): Preserve goimports-compatible return formatting
- 25163fc docs: Write Nibiru BFT as two words
- efa849e style(go): Apply formatting from repository tidy
- cf54526 build(deps): bump actions/add-to-project from 10852874378313643e82f7be4d23615b23a22d99 to 3c26b75af2be2eccb5201a85556bdd31d26c18dc
- be36b6b build(deps-dev): bump pytest from 8.4.2 to 9.0.3 in /contrib/upgrade-e2e
- 1d61489 build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.6
- 867324a build(deps): bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0
- c06bffc build(deps): bump github.com/moby/sys/user from 0.3.0 to 0.4.1
- cead698 build(deps): bump pillow from 10.0.1 to 13.0.0 in /bft/scripts/qa/reporting
- 978e4d5 feat(app): Propose oracle price writes first using named proposal lanes (#2864)
- c13eb42 refactor(app): Number proposal lanes explicitly and expose the Sai oracle resolver as an app method
- fa599a9 build(deps): bump actions/add-to-project
- 8107be9 test(app): Fuzz the lane classifier and PrepareProposal lane invariants
- 3834202 test(app): Check lane order in the real-ante property test
- 883ec84 test(app): Backport the seeded lane property test and real-ante proposal test
- 848e4bf test(app): Prove the oracle lane resolver falls back when the adapter query panics
- d470e33 feat(app): Route sole-signer calls to the Sai oracle contract into the oracle lane
- e18e21a fix(ante): Skip devgas payouts for zero-gas actor txs
- 8375349 fix(app): Promote across all shared signers so fast-lane txs keep their lane
- 1f7c79a feat(app): Promote allowlisted senders' earlier txs into their fast lane
- 7b9e306 build(deps-dev): bump pytest from 8.4.2 to 9.0.3 in /contrib/upgrade-e2e
- 6802134 feat(upgrade): Move upgrade state to Wasm and support time targets (#2872)
- 311521e test(bank): Restore explicit governance wiring in Nibiru fixture
- cce3dc3 feat(app): Cap priority lane bytes and count fee payers in proposal lanes
- 79bac6b feat(upgrade): Clarify contract schema and share native sudo queries
- be3af6d fix(nibiru-std): Regenerate sudo types and share typed root queries
- 0363e3e test(upgrade): Run isolated acceptance tools with uv and pytest
- 0884f1a refactor(upgrade): Name contract adapter and explain migration guarantees
- 2ac84fc fix(app): Keep signer order across proposal lanes and contain bad candidates
- fcd64a9 feat(app): Propose oracle price writes before other zero-gas actor txs
- 78f66ed refactor(gov): Drop unused hook wrapper and normalize keeper imports
- 6367ecb test(gov): Wire SDK governance fixtures explicitly
- db52964 build(wasm): Discover embedded Chain contracts by crate convention
- a951442 feat(upgrade): Expose initial contract address prediction
- 26433f2 refactor(gov): Remove unused dependency injection providers
- 963a4fa docs(upgrade): Explain wiring and migration regression coverage
- 525b414 refactor(app): Consolidate explicit keeper initialization
- ab5b0d2 style(upgrade): Normalize relocated imports for lint
- bf92d21 style(upgrade): Format the native contract bridge
- 37a49f0 test(upgrade): Verify host protocol restoration through real restarts
- 145de43 test(upgrade): Verify failed import rollback and pre-commit replay
- fe03a2f fix(upgrade): Inject a narrow Wasm contract bridge from app wiring
- fee897b fix(upgrade): Reject early binaries while a time target is unresolved
- 97d425f style(upgrade): Format relocated module packages
- 6b6d49e test(upgrade): Preserve terminal failure suppression across genesis import
- 92bce7b test(upgrade): Verify embedded builds and selection boundaries
- 5dab79d feat(upgrade): Integrate contract state and time-target governance plans
- d1776d0 test(upgrade): Prove handler cutover and contract state restoration
- 64c86a2 feat(upgrade): Add canonical Rust upgrade state contract
- d1f7613 feat(upgrade): Record terminal deterministic height-selection failures
- c795057 docs(upgrade): Record contract ownership and migration rationale
- 3690f2c test(upgrade): Add isolated governance upgrade acceptance runner
- 2c95895 fix(wasm): Preserve contract sudo error types for lifecycle callers
- 6f78c15 refactor(upgrade): Move module implementation into Nibiru x directory
- 09305e2 refactor(app): Wire governance and upgrade keepers explicitly
- 9371ce7 refactor(auth/tx): Inject feegrant through its keeper interface
- d2c718d docs(nan): Add NAN 004 to 008 (#2871)
- 054d352 docs(nan): Add NAN 008, Defending Wasm in Layers, and Reading EVM State from Wasm
- 1ef1957 docs(nan): Add NAN 007, A Month Spent on Speed, and Getting Block Time Back
- 79a3869 docs(nan): Add NAN 006, Owning Our Dependencies, a Nonce-Aware Mempool, and 24-Hour Votes
- 8a6e54a docs(nan): Add NAN 005, Zero Gas in Browser Wallets, a Self-Governing Treasury, and the Return of 0x0801
- 3d4171f docs(nan): Add NAN 004, Retiring the Native Oracle with v2.12.0
- 3ccff84 docs(nan): Link NAN 003 to NAN 004
- a89dccf feat(nibiru-std): Add storage_txn write overlay for simulated execution (#2870)
- bac8e0e chore(release): Bump coupled crates to 0.10.1
- af58a9e feat(nibiru-std): Add storage_txn write overlay for simulated execution
- 328294d feat(app): Propose zero-gas actor txs before EVM txs
- 09045f5 Merge remote-tracking branch 'origin/main' into ud/determinism-review
- bc4515b build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.6
- 1231b28 feat: x-consensus contract for consensus params and chain-wide commit timing (#2861)
- aabd632 ci(rust): Build the Wasm contracts in release mode on contract changes and check the embedded x-consensus build
- 66538af ci: Remove the x-consensus-only artifact workflow
- 98157de docs(consensus): Mark the Cosmos SDK x/consensus module in lib as deprecated
- 87d8c45 refactor(consensus): Make x/consensus the only owner of the consensus store
- d04c17f refactor(consensus): Move x/xconsensus into x/consensus and clean up its constants
- cff259c refactor(consensus): Move t...
v2.22.0-rc.1
- 1231b28 feat: x-consensus contract for consensus params and chain-wide commit timing (#2861)
- aabd632 ci(rust): Build the Wasm contracts in release mode on contract changes and check the embedded x-consensus build
- 66538af ci: Remove the x-consensus-only artifact workflow
- 98157de docs(consensus): Mark the Cosmos SDK x/consensus module in lib as deprecated
- 87d8c45 refactor(consensus): Make x/consensus the only owner of the consensus store
- d04c17f refactor(consensus): Move x/xconsensus into x/consensus and clean up its constants
- cff259c refactor(consensus): Move the consensus types into x/consensus/types
- bb1586d build(xconsensus): Embed the x-consensus build gzipped and decompress it in Go
- 69af012 build(xconsensus): Embed the AMD64 release build of x-consensus from CI
- 5f0002f docs(xconsensus): Note that the deployer role follows the contract address and both evidence windows must be short
- 9f1d07e ci(xconsensus): Check that the embedded x-consensus Wasm is the release build of its source
- 2eb50b3 feat(xconsensus): Grant x-consensus the wasm_deployer role so self-migration works on mainnet
- 72d2fd0 docs(xconsensus): Explain the x-consensus Go message types in Nibiru BFT terms
- 801d32f feat(xconsensus): Make x-consensus its own Wasm admin so migration follows the x/sudo root
- 45bfd0c build(xconsensus): Embed the x-consensus build with self-admin migration
- fdc9426 docs(wasm): Explain x-consensus params in Nibiru BFT terms
- ff3fdda feat(wasm): Let the x/sudo root migrate x-consensus through the contract
- 5c38464 build(xconsensus): Embed the x-consensus build without cw2
- 6793e5e refactor(wasm): Drop the cw2 version record from x-consensus
- d6e52e9 docs: Note the single circuit breaker and that genesis takes Wasm code ID 1
- 2e4d9fd test: Use an empty Wasm genesis where tests assume code ID 1
- 66accd7 feat(upgrades): Create x-consensus in the v2.22.0 upgrade handler
- 1d9a9f2 test(xconsensus): Cover genesis, H+1 updates, fallback, restart and export
- 403d274 feat(app): Wire x-consensus into genesis, EndBlock and the Nibiru BFT commit wait
- 4b9053d feat(xconsensus): Copy x-consensus params into the x/consensus store each block
- 2637f5e feat(wasm): Add a gas-bounded, recovering smart query for block hooks
- 94584ed Merge branch 'ud/2860-x-consensus-contract' into ud/2860-x-consensus
- 2cb9f2e feat(xconsensus): Embed the x-consensus Wasm with Go message types
- 5cc49ae feat(wasm): Gate x-consensus updates on the x/sudo root and drop version
- e6909d5 Merge branch 'ud/2860-x-consensus-bft' into ud/2860-x-consensus
- 225acc1 docs(bft): Say the commit hook can run twice per height and warns only on a difference
- 4ff8d8b feat(bft): Let the app set the commit wait through a consensus hook
- a74e48a feat(wasm): Add x-consensus contract for consensus params
- ef8454a feat(evm): Add Eris escrow and allocation voting (#2799)
- 1b568b1 Revert "docs(evm): Document the Eris escrow and gauge constants and vote helpers"
- 52d1962 test(evm): Gzip the Eris replay snapshot and decode it once per test binary
- f4992c4 docs(evm): Document the Eris escrow and gauge constants and vote helpers
- 3059c71 Merge remote-tracking branch 'origin/main' into UD/eris-evm-governance
- dd8f483 test(bft): Fix five flaky consensus and mempool tests (#2858)
- fd94404 test(bft): Document the subscription error channel in TestByzantinePrevoteEquivocation (#2855)
- ec00152 test(bft): Document why the mempool reactor test stops its switches (#2856)
- 4c5f4d8 test(bft): Stop p2p switches in TestBroadcastTxForPeerStopsWhenReactorStops (#2856)
- f2cc637 test(bft): Fix TestStateLockNoPOL flake (#2856)
- 15d2dea test(bft): Fix TestMempoolProgressAfterCreateEmptyBlocksInterval flake (#2856)
- 8925503 test(bft): Fix TestMempoolTxConcurrentWithCommit flake (#2856)
- d49a4e8 test(bft): Fix TestByzantinePrevoteEquivocation flake (#2855)
- b5f6990 chore(deps): Combine open dependabot bumps (#2851)
- 759ac19 test(bft/state): Set an early block time from the last block time in TestValidateBlockTime
- d0327e1 chore(deps): bump github.com/cockroachdb/errors from 1.12.0 to 1.14.0
- 2d6c022 chore(deps): bump github.com/coinbase/rosetta-sdk-go from 0.7.9 to 0.12.0
- 3096b00 chore(deps): bump github.com/hashicorp/go-getter from 1.7.9 to 1.8.10
- 7ec8025 chore(deps): bump cosmossdk.io/log from 1.3.1 to 1.6.1
- b63e2f2 chore(deps): bump github.com/prometheus/client_golang from 1.23.2 to 1.24.1
- 6da34ec build(deps): bump github.com/klauspost/compress from 1.18.4 to 1.18.7
- e3ff1d2 build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.3.6
- a77ef88 build(deps): bump github.com/go-git/go-git/v5 from 5.13.0 to 5.19.2
- e3fdf22 build(deps): bump github.com/go-git/go-billy/v5 from 5.6.0 to 5.9.0
- 5edea21 build(deps): bump actions/labeler from 5 to 7
- 52b1539 build(deps): bump docker/login-action from 4.6.0 to 4.7.0
- fc27acf build(deps): bump actions/setup-python from 6 to 7
- 72b214f Merge remote-tracking branch 'origin/main' into ud/deps
- 4da60ec build(wasm): Pin published WasmVM v1.13.2 libraries (#2847)
- 55a20c7 build(deps): bump actions/setup-python from 6 to 7
- dc4a151 build(deps): bump docker/login-action from 4.6.0 to 4.7.0
- e241eea build(deps): bump actions/labeler from 5 to 7
- b316e9e fix(bft/e2e): Ignore Compose warnings on stderr when finding the upgraded container
- d84d03c fix(bft/e2e): Find the upgraded container when perturbing after an upgrade
- 477d109 chore(just): Rename the default setup recipe to a private list recipe
- 8e52cf8 Merge remote-tracking branch 'origin/main' into ud/2831-bft-multival
- 3468463 ci(chaosnet): Run just chaos determinism-all nightly and on PRs that change it
- eddd22f test(chaosnet): Add determinism-all to run the self-test before the real check
- fddf798 refactor(chaosnet): Rename the determinism canary to determinism-selftest and nibiru_fault_injection
- 2618092 fix: Backport WasmVM cleanup and bound feegrant and Wasm validation (#2826)
- 9c70053 test(optimizer): Expect static validation to reject bulk memory
- 583807c Merge remote-tracking branch 'origin/main' into ud/upstream-backports
- 71aecdd test(chaosnet): Check app hash agreement with just chaos determinism
- 37b9552 feat(chaosnet): Add a multival profile with 4 validators on one chain
- f2cabd9 build(scripts): Accept extra Go build tags in build-nibiru.sh
- 49d3858 test(evm): Add a build-tagged nondeterminism canary to EndBlock
- ff0af38 build(deps): bump github.com/go-git/go-billy/v5 from 5.6.0 to 5.9.0
- ee93b23 build(deps): bump github.com/go-git/go-git/v5 from 5.13.0 to 5.19.2
- 4b40b0c build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.3.6
- 3eb49f1 build(deps): bump github.com/klauspost/compress from 1.18.4 to 1.18.7
- a843785 feat(bft): Super Sai: Swap out CometBFT in-tree as Nibiru BFT for latest improvements (#2835)
- 09b263a ci(proto): Skip the moved SDK tendermint protos in the base-branch check
- 80912f0 Merge #2840 test(bft): Port fuzzers to native go fuzzing and run them nightly
- e886236 Merge #2838 ci(bft): Run Nibiru BFT unit tests with the race detector
- 3863a2e Merge #2839 ci(bft): Run e2e testnets on PRs and nightly
- 84c750c Merge #2837 test(bft): Run the e2e testnet framework in-tree
- d12da57 Merge #2836 ci(proto): Check all proto roots against the base branch and last release
- 00c9476 test(bft): Fix TestProvider assuming one block per second
- 29821ec style: Group in-tree bft imports with local imports
- 076b967 ci(lint): Exclude bft from golangci-lint
- ec75d43 ci(bft): Keep the fuzz corpus between nightly runs
- bed497a build(bft): Shorten input minimization for the secret connection fuzzer
- ddb0a67 test(bft): Skip only the known missing-params panic in the RPC fuzzer
- 1c0db50 ci(bft): Run the native fuzz targets nightly
- dc20594 build(bft): Add just bft fuzz and native OSS-Fuzz build script
- bd3a044 test(bft): Port pubsub query fuzzer to native go fuzzing
- 9eb2f14 test(bft): Port JSON-RPC server fuzzer and record a known panic
- f0b6894 test(bft): Port p2p fuzzers to native go fuzzing
- d68125a test(bft): Port mempool fuzzers to native go fuzzing
- cc9c48b ci(bft): Run e2e testnets on PRs and nightly
- 255c3ab test(bft): Pin the long.toml upgrade source to upstream v0.37.18
- 40e2207 ci(bft): Run Nibiru BFT unit tests with the race detector
- 459943a build(bft): Add test-rest to run tests outside consensus, p2p, and mempool
- 7524390 docs(bft): Document the e2e just recipes
- 643713b build(bft): Add e2e-image, e2e-runner, and e2e just recipes
- 56158c3 fix(bft): Clean up e2e testnets with the local node image
- f6f8f26 build(bft): Rewrite the e2e Dockerfile for the repo-root context
- 50811ac ci(proto): Check all proto roots against the base branch and last release
- a7b2508 test: Scan bft and lib for upstream proto imports
- 0d60fed chore(proto): Regenerate vendored SDK and ibc-go code
- f4e2105 build(proto): Generate bft, SDK, and ibc-go code from protocgen.sh
- 379bf7a refactor(proto): Use one buf workspace for all proto trees
- 61c5e7e chore(proto): Regenerate with current plugins (baseline)
- 733f7cb refactor(bft): Rename the test-only consensus binary to nibiru-bft
- 4c8a7b5 chore(bft): Remove upstream release and editor config
- 957ba13 fix(wasm): Complete static validation of uploaded contracts
- ba4feab docs: Explain backport validation and regression test rationale
- 579e362 style: Format upstream backport regression tests
- 696ecff fix(wasmvm): Free out-of-gas errors and avoid unused callback reads
- 5949c8c fix(wasm): Bound and deduplicate permission address lists
- f5e8a04 fix(feegrant): Cap expired allowance pruning per block
- ac744ac ci: Auto-label PRs with Z-* zone labels by changed paths
- 6f19932 test(bft): Stop p2p test peers from exiting the test binary
- e8e8ce2 test(bft): Fix the TestStateFullRound1 deadlock instead of skippin...
lib/wasmvm/v1.13.2
Release metadata
- Release tag:
lib/wasmvm/v1.13.2 - Source commit:
2618092fix: Backport WasmVM cleanup and bound feegrant and Wasm validation (#2826)
Release assets
-
libwasmvm_muslc.x86_64.a -
libwasmvm_muslc.aarch64.a -
libwasmvm.x86_64.so -
libwasmvm.aarch64.so -
libwasmvm.dylib -
libwasmvmstatic_darwin.a -
checksums.txt -
Workflow run: https://github.com/NibiruChain/nibiru/actions/runs/40265684557
sai-wasm-optimizer 0.1.0
sai-wasm-optimizer 0.1.0
Native optimizer CLI binaries with Nibiru VM validation. Docker is required for contract builds.
Download the versioned sai-wasm-optimizer.toml manifest and install with cargo binstall --manifest-path --strategies crate-meta-data --no-confirm sai-wasm-optimizer.
Linux AMD64 requires glibc 2.35 or later; Linux ARM64 requires glibc 2.39 or later. macOS binaries require macOS 13 or later.
v2.21.2
v2.21.2 adds optional SDK telemetry for delivered transaction execution, top-level message counts, and ABCI query duration. The SDK metrics share the existing CometBFT Prometheus endpoint. Duration values use seconds, described in HELP text and the operator guide.
Telemetry remains disabled by default. The metrics change does not alter gas accounting or committed state and requires no state migration or coordinated upgrade height. Regression tests compare complete transaction responses and committed hashes with telemetry enabled and disabled.
A built local node and Prometheus instance verified three successful and two failed bank sends, matching transaction and message counts, shared SDK/CometBFT scraping, and all 21 companion Grafana expressions. Wasm and IAVL query operations were not exercised in this smoke test.
This release also includes CLI validation for Docker image references in upgrade metadata, an npm publishing authentication preflight, and documentation updates.
- SDK metrics PR #2800
- Docker upgrade metadata PR #2797
- npm publishing preflight PR #2796
- Companion IaC PR #2826
The existing tag-only Upgrade Handler Check expects a handler named v2.21.2 and reports a failure, as it did for v2.21.1. This compatible patch retains the existing v2.21.0 handler and introduces no new on-chain upgrade plan.
Changes since v2.21.1
- f0bd7d4 feat(metrics): expose SDK transaction and query metrics (#2800)
- 3789ad0 feat(metrics): add SDK execution and message telemetry
- 3a4a75d fix(upgrade): Accept Docker references in upgrade metadata (#2797)
- 3b72638 fix(upgrade): Accept Docker references in upgrade metadata
- 41b53a0 docs: add OpenChainBench live RPC latency benchmark link (#2729)
- d7a3965 fix(clidist): Check npm authentication before building release packages (#2796)
- 4dd3f78 fix(clidist): Check npm authentication before building release packages
Container image
ghcr.io/nibiruchain/nibiru:2.21.2 is published for Linux AMD64 and ARM64 from the checksum-verified release archives. Both platform manifests carry the expected release revision.
Multi-architecture digest: sha256:6e53b4196df7a6fb7eb88709dc2c8b5b5f7ef33a8dc53f1f300941c13a5a88bf.
v2.21.1
- b624e20 fix(cli): Include fee and counter costs in automatic gas estimation (#2795)
- e6a5d36 fix(cli): Include fee and counter costs in automatic gas estimation
- 0c96af0 docs(changelog): Document v2.21 runtime repair and deployment permissions (#2793)
- 85aa48e docs(changelog): Document v2.21 runtime repair and deployment permissions
v2.21.0: Wasm runtime repair, scoped deployment permissions, and Eris recovery
v2.21.0
Nibiru v2.21 repairs the disclosed Wasmer Singlepass sandbox vulnerability and replaces v2.20's temporary root-only Wasm deployment policy with scoped deployment permissions. It also adds mainnet recovery of a quarantined Eris unbonding claim to the Foundation Treasury.
- Public release: October 9, 2026.
- Source range:
v2.20.0throughv2.21.0. - Full source comparison.
1 - Main highlights
- Wasmer 7.4.2 supplies the runtime repair for the disclosed Singlepass sandbox escape.
- Existing CosmWasm v1 contract interfaces and gas policy are preserved. Stored bytecode is recompiled under a separate compiled-artifact cache.
- Contract instantiation returns to normal Wasm permission checks. Mainnet uploads and migrations require sudo root or membership in role
wasm_deployer, alongside existing Wasm authorization. - Scoped sudo roles replace broad legacy membership while preserving existing tokenfactory and chain-parameter authority.
- The mainnet upgrade handler attempts recovery of the quarantined Eris batch 172 claim through the deployed contract's withdrawal logic.
- Chain builds pin checksum-verified WasmVM v1.13.1 native libraries containing the runtime repair and cleanup fixes.
2 - Wasm runtime repair
CWA-2026-006 describes a compiler defect that lets a crafted contract escape the Wasm sandbox and execute native instructions inside a node process.
v2.19 introduced static PIE binary hardening. v2.20 restricted mainnet Wasm deployment while the runtime repair was prepared. v2.21 carries the repaired compiler into Nibiru's maintained CosmWasm v1 implementation. PR #2788
Existing contracts retain their interfaces and gas policy. The runtime rejects unsupported WebAssembly proposals and uses compiled-artifact cache namespace v15-wasmer24, preventing reuse of artifacts compiled by the previous runtime.
The release also fixes an ELF cleanup race by removing frame metadata before unmapping compiled code. A separate synchronization fix addresses the TLS test race. PR #2790
3 - Wasm deployment and scoped sudo permissions
v2.21 removes the temporary root-only instantiation guard. Instantiation follows the existing Wasm module and per-code access checks.
On mainnet, ordinary code uploads and contract migrations require sudo root or role wasm_deployer. The check applies at shared keeper entrypoints, including contract submessages and the EVM Wasm precompile. Existing governance authorization remains available.
Deployment membership does not replace upload permissions or contract-admin requirements. A deployer cannot migrate a Treasury-administered contract merely by holding the deployment role.
The sudo migration grants legacy members roles tf_oper and chain_params to preserve their previous authority. Legacy membership alone grants no deployment role. The upgrade separately seeds the reviewed deployment accounts, and root can grant or revoke membership afterward. PR #2790
4 - Eris claim recovery
The mainnet upgrade handler attempts to withdraw the quarantined account's matured Eris batch 172 claim to the Foundation Treasury CW3 contract.
The handler verifies the deployed bytecode, native denomination, and intended claim before calling Eris's existing withdrawal logic. Eris calculates the payout and updates its batch accounting. Public transaction restrictions on the quarantined account remain enforced.
Recovery runs in an isolated cached context. A failed recovery discards its writes and emits event eris_recovery with status failed. An absent claim emits skipped. Recovery failure does not undo completed module migrations or deployment grants.
The release includes replay tests using the deployed Eris bytecode and captured contract state. Recovery success and the final amount must be verified at activation. PR #2791
5 - Client and platform compatibility
Clients reading sudo state or exported genesis must replace field Sudoers.contracts with Sudoers.roles. The retired field name and protobuf tag remain reserved.
Legacy membership actions add_contracts and remove_contracts are rejected. Manage scoped memberships through message /nibiru.sudo.v1.MsgUpdateRoleMembers or command:
nibid tx sudo update-role-members edit.json --from ROOTRoot rotation and Wasm block-hook configuration remain root-controlled. The block-hook configuration message retains its contracts payload field. Sudo module documentation
Darwin native artifacts require macOS 14.5 or later. WasmVM artifact version v1.13.1 and FFI ABI identifier 1.5.10-nibiru.1 identify different compatibility layers. PR #2788, native-library pin
lib/wasmvm/v1.13.1
WasmVM v1.13.1 fixes an intermittent race in Wasmer 7.4.2's ELF artifact cleanup. Frame registrations are now removed before the code mapping is released, so another thread can reuse the address without colliding with stale frame metadata. A concurrent mapping regression test reproduces the original failure and passes with the fix.
The release also corrects synchronization in the TLS stack pool test. It keeps the test mutex held while the worker exits and its returned stack is checked.
Wasmer remains 7.4.2. The WasmVM ABI remains 1.5.10-nibiru.1; v1.13.1 is the library artifact release version.
Assets include Linux musl static archives and glibc shared libraries for x86_64 and aarch64, plus universal macOS static and shared libraries. checksums.txt contains the SHA-256 digests.
Release source commit: 62d69cd58c7c9c3d7d6379d8dc2709561caacdbe.
The source passed main CI run 37720846764. Release assets were built and tested at that exact commit by tag CI run 37723722495. All six release assets were verified against the published checksum manifest.
lib/wasmvm/v1.13.0
The patched Nibiru WasmVM runtime uses Wasmer 7.4.2 and reports ABI version 1.5.10-nibiru.1.
The static libraries let node builds use the fixed runtime without compiling Rust during every build. Assets include Linux musl static archives and glibc shared libraries for x86_64 and aarch64, plus universal macOS static and shared libraries. checksums.txt contains their SHA-256 digests.
Release source commit: 6faa367137af757dec8d93c7fa4802f3e414881f.
Artifacts were built and tested in CI run 37596918070 at 8f3eeb5d2171a3b855d2b51bfb7e01545e31a68b. The runtime sources, workspace manifests, lockfile, and Rust toolchain are identical to the release source commit on main. All six artifacts were checked against the CI checksum manifests before publication.

