Dev Update 22 July 2025

Last week by the numbers

neptune-core

Neptune Happenings

Video: Inflation Bug Details

In this video @aszepieniec and @sword-smith discuss the undetectable inflation bug in detail as well as the fix and how to prevent a similar bug in the future. There is also discussion of additional work that is being done in preparation for the upcoming network reset.

At a high level the bug occurred due to a missing validation of the native-currency fee when the transaction does not contain any native-currency inputs or outputs. A transaction with a large inflationary fee could then be merged with a negative fee transaction to produce a transaction that looks to have a normal fee but in fact is highly inflationary. Once merged there is no way to “unmerge” the transactions and see the original fee amounts.

Network Reset Preparations

Work progressed in these areas:

  1. New RPC endpoints to set the tip to a specific stored block (for redemptions)
  2. Debugging and fixing a removal record list issue
  3. preparing the UTXO redemption claim pipeline

Contributor Updates

@aszepieniec:

  • packing RemovalRecords
  • set tip to stored block + test (#626)
  • endpoints + pipeline for producing UTXO redemption claims (#626)