Skip to content

fix: preserve transaction pointer list validation errors#4

Open
JasonZhouPW wants to merge 1 commit into
BitgesellOfficial:masterfrom
JasonZhouPW:fix/transaction-pointer-list-errors
Open

fix: preserve transaction pointer list validation errors#4
JasonZhouPW wants to merge 1 commit into
BitgesellOfficial:masterfrom
JasonZhouPW:fix/transaction-pointer-list-errors

Conversation

@JasonZhouPW
Copy link
Copy Markdown

Summary

  • Preserves parameter validation errors for transaction pointer list endpoints instead of converting them to JSON decode errors.
  • Fixes the batch transaction hash pointer limit message to report the actual 500-item limit.
  • Adds focused unit coverage for list limits, non-list JSON, and mixed pointer/hash parsing.

Validation

  • python3 -m pytest test/unit/test_transaction_pointer_list.py -q
  • PYTHONDONTWRITEBYTECODE=1 python3 AST syntax check
  • git diff --check

Bounty context: Bitgesell improvement / PR bounty program, related to BitgesellOfficial/bitgesell#81 and BitgesellOfficial/bitgesell#32. Payout details can be provided after maintainer approval.

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.

1 participant