github pearl-research-labs/pearl v1.6.0
Release v1.6.0 - FP8 hardfork on test networks

one hour ago

FP8 hardfork on test networks

This release adds certificate version 4 (FP8) and its verifier to the node, the SPV client, the proof libraries and the Python bindings. The FP8 hardfork is active on the test networks only. It is not scheduled on mainnet, and mainnet consensus rules are unchanged: mainnet nodes keep requiring certificate versions 1 to 3 and reject version 4.

Testnet node operators must upgrade: earlier releases cannot follow testnet past block 67414. Mainnet node operators can upgrade at any time.

FP8 hardfork

  • Activation heights: testnet block 67415 (active since 2026-11-17), testnet2 block 150283, and block 1 on regtest and simnet. Mainnet has no activation height.
  • Mainnet: a block with a version 4 certificate is rejected before the version 4 verifier runs. Verification of versions 1 to 3 was compared with v1.5.7: mainnet blocks 1 to 135,005 gave identical results through both builds, and a node built from this change synced mainnet from genesis to the tip.
  • Verifier: proof verification evaluates each polynomial in one pass over its coefficients. BenchmarkVerifyProof on a V2 certificate (Apple M5 Pro) measured 4.7 ms with one thread and 1.72 ms on all cores. The first FP8 revision evaluated each query point on its own chain and measured 13.7 ms and 2.35 ms on that same benchmark.
  • Reference miner: the miner in this release (vllm-miner and pearl-gateway) builds certificate versions 1 to 3 only, so it cannot mine on a network where FP8 is active. Version 4 support for the miner is planned for a later release.
  • RPC: getblocktemplate reports requiredcertversion 4 where FP8 is active, and returns ancestorheaders for those templates.
  • P2P: the protocol version is now 3. Peers on version 2 are still accepted.
  • Python bindings (pearl-mining): adds the version 4 types, verify_plain_proof_v4, diagnose_jackpot_policy_v4, and the Fp8Prover and Fp8Verifier classes. The existing functions for versions 1 to 3 keep their signatures.

Miner (pearl-gateway)

  • Stratum pool mode: setting POOL_STRATUM_URL makes the gateway take work from a Pearl Stratum v1 pool instead of pearld, and send each proof's certificate to the pool as a share. Proving stays local, and miners need no changes. POOL_ADDRESS (default: PEARLD_MINING_ADDRESS), POOL_WORKER, POOL_PASSWORD and POOL_DIFFICULTY configure it. See the gateway README.
  • Proving in a worker process: proof generation now runs in a separate process, so the gateway stays responsive while a proof is built. At most MINER_RPC_MAX_PENDING submissions are queued at once (default 64), and a submission for a template that has since been replaced is dropped before proving.

Upgrade notes

  • Built-in CPU miner: --generate and setgenerate now produce version 4 certificates only. They no longer mine on mainnet and log an error there instead.
  • Proving threads: the prover behind pearl-mining now uses all available cores by default, up from 6 threads. Set RAYON_NUM_THREADS to limit it, for example when the gateway shares a machine with other work.
  • zk-pow crate: the code for versions 1 to 3 moved under zk_pow::v1 and zk_pow::v2. The MoE and salted-seed upgrade guides show the new paths.

Bug bounty scope

SECURITY.md now says that bounty rewards apply only to vulnerabilities that affect mainnet. Code that is not activated on mainnet, or otherwise not reachable there, is not bounty-eligible, even when it is merged and released. A hard fork counts as activated once a release sets its mainnet activation height, so FP8 code that a mainnet node does not reach is outside the bounty until then. Such findings can still be reported privately.

What's Changed

  • feat(miner): run gateway ZK proving in a worker process by @roiefink in #535
  • feat(miner): add Stratum pool mode to pearl-gateway by @roiefink in #536
  • chore(chain): remove unused PrunedBlockDispatcher by @jonathanMweiss in #544
  • feat(consensus): FP8 (V4) hardfork, not scheduled on mainnet by @Aharonee in #528
  • perf(plonky2): restore single Horner pass in evaluate_polynomials_at_points by @jonathanMweiss in #545

Full Changelog: v1.5.8...v1.6.0

Don't miss a new pearl release

NewReleases is sending notifications on new releases.