Skip to content

pset: reject unknown input and output fields - #54

Open
unspecifiedcoder wants to merge 1 commit into
BlockstreamResearch:masterfrom
unspecifiedcoder:fix/30-reject-unknown-fields
Open

unspecifiedcoder wants to merge 1 commit into
BlockstreamResearch:masterfrom
unspecifiedcoder:fix/30-reject-unknown-fields

Conversation

@unspecifiedcoder

Copy link
Copy Markdown

Fixes #30.

Reject unknown fields in PSET inputs and explicit outputs while keeping address-to-amount maps supported.

Tested on Ubuntu 24.04, x86_64:

  • All 20 tests pass on Rust 1.99.1 and MSRV 1.78.
  • Both new rejection tests fail on unchanged upstream; valid-format tests pass.
  • Four CLI checks, Clippy and formatting with the pinned nightly pass.

Written with assistance from Codex (OpenAI).

Keep address-to-amount map outputs supported and test rejected fields,
input sequences, and both output formats.

Written with assistance from Codex (OpenAI).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reject nonexistent fields in pset create

1 participant