Dev Update 23 November 2026

Dev Update

1. Last Week by the Numbers

  • neptune-core
    • Issues: 3 raised
    • Pull Requests: 2 opened
  • triton-vm
    • Issues: 1 closed
    • Pull Requests: 1 opened
  • twenty-first
    • Pull Requests: 1 opened

2. Stand-up Summary

  • Alan Szepieniec
    • Last Week: Worked one layer below the DeFi layer on implementing the ML-DSA signature scheme in TASM, optimizing the interface and public key unpacking (using host-side nondeterminism authenticated via TIP 5 to stay under a 2^{20} cycle count). Optimized the Keccak implementation and evaluated minor 2%–3% gains vs. larger gains from future TIP-10 oracles. Assembled a human-readable soundness proof for Triton VM with AI assistance, establishing a 141-bit round-by-round soundness error for a padded height of 2^{21}, and analyzed soundness trade-offs and grinding options.
    • Coming Week: Merge the ML-DSA signature scheme into the repository, continue refining the soundness proof for accessibility and human review, implement new Triton VM features (including performance improvements and grinding), review two pending pull requests, investigate a performance optimization trick in the Triton VM codebase, and consult on a pull request regarding default miner behavior.
  • Thorkil Værge
    • Last Week: Reviewed static memory usage in Keccak relative to potential code snippet conflicts; discussed soundness error results, FRI query samples, deep evaluation points, and grinding (~2^{10} hashes for a 10-bit boost); proposed packaging wacky instructions, grinding, and TIP 10 into the next Triton VM version/hard fork; achieved a 10% speedup on the readable scalar version of TIP 5 in 21st and benchmarked proving times on a Threadripper 7995 (from 14.1s to 8.5s at padded height 2^{21}) as well as smartphones in debug mode (from 15s to 10s without NEON gains); handled a stuck mempool transaction via a manual workaround.
    • Coming Week: Collaborate on implementing an RPC endpoint for the command-line tool to support transaction fee bumping natively.

3. Technical Discussion

  • ML-DSA & Keccak in TASM / TIP 10: Work on ML-DSA focused on optimizing the interface and unpacking public keys on the host using nondeterminism authenticated via TIP 5 to keep cycle counts below 2^{20}. Keccak optimizations were weighed against potential static memory conflicts and modest 2%–3% gains, with expectations that future TIP 10 oracles for low-degree code words could provide roughly a 10x improvement.
  • Soundness Proof & Grinding: A human-readable soundness proof produced with AI assistance established 141 bits of round-by-round soundness at a padded height of 2^{21} (compared against a 160-bit target). The gap reflects linear degradation with trace size and an ~20-bit degradation from the quadratic blow-up from list decoding size. Options discussed to boost soundness include adjusting FRI query samples and deep evaluation points, as well as grinding (~2^{10} expected hashes to normalize the proof hash below 1 in 10,000 for a 10-bit soundness gain).
  • Triton VM Roadmap & Hard Fork Planning: Alignment was reached on incorporating wacky instructions, soundness boosting via grinding, TIP 10, and an improved recursive verifier into the next version of Triton VM and an upcoming hard fork, with the written soundness proof serving as a benchmark for AI-assisted changes.
  • Proving Performance & Benchmarking: Optimizations to the scalar version of TIP 5 in twenty-first delivered a 10% speedup. On a Threadripper 7995 at padded height 2^{21}, proving time improved from 14.1 seconds to 8.5 seconds via shorter domain interpolation/evaluation, processor pipelining (calculating powers of eight at a time), and multi-core utilization. Debug-mode smartphone benchmarks improved from 15 seconds to 10 seconds without additional benefit from NEON instructions.
  • Mempool Fee Bumping & Miner Behavior: A large transaction became stuck in the mempool when a high-capacity miner’s composer used standard settings and private composition without accounting for other compositions. A manual workaround (freezing state updates, creating a high-fee transaction to merge with the mempool, and force-broadcasting after verifying intermediate states were not shared) resolved it, highlighting the need for a CLI RPC fee-bumping endpoint and a review of default miner PR behavior.

4. Updates and Announcements

  • Upcoming Hard Fork & Triton VM Release Planning: Planned inclusion of wacky instructions, grinding-based soundness boosting, TIP 10, and an upgraded recursive verifier in the upcoming Triton VM release / hard fork.
  • CLI Fee-Bumping RPC Endpoint: Planned development of a command-line RPC endpoint to streamline transaction fee adjustments in the mempool.
1 Like