Skip to content

pczt_validate refuses ZIP 2009 fees from block 3,590,000 #33

Closed as not planned

Description

@danielgorgonha

On main (317d790), pczt_validate_inner refuses a fee below 5,000 × max(2, logical actions): 10,000 for a two-action transaction (crates/webzjs-keys/src/pczt_describe.rs, MARGINAL_FEE and the min_fee check). ZIP 2009 lowers the marginal fee to 1,000 from block 3,590,000 on Mainnet, expected around 19 November, and from 4,465,026 on Testnet, which has passed. From that height, a PCZT that pays the new conventional fee (2,000 for two actions) is refused with "fee 2000 is below the ZIP-317 conventional minimum 10000".

#27 sets the floor to 1,000, which fixes this, but it has had changes requested since 13 November. Two notes:

  1. The one-line floor change could land on its own now, so a Snap user can sign ZIP 2009 fees as soon as wallets start paying them.
  2. Accepting 1,000 per action before the switch moves no value away from the user; at worst the transaction pays less than the conventional fee of the time and may not be relayed. If you want the floor to follow the height, ZIP 2009 decides by the block the transaction is expected to be mined in, and the PCZT's expiry height (when set) is the last block it can be mined in.

Should I open the one-line change with a test at 2,000 for two actions?

🤖 Generated with Claude Code

Activity

  1. danielgorgonha commented on Nov 18, 2026

    @danielgorgonha
    Author

    Duplicate of #32, opened twice by mistake. Sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions