Skip to content

Expand --inspect to more spend-carrying RPC shapes#29

Open
cameroncooper wants to merge 1 commit into
mainfrom
expand-inspect-response-shapes
Open

Expand --inspect to more spend-carrying RPC shapes#29
cameroncooper wants to merge 1 commit into
mainfrom
expand-inspect-response-shapes

Conversation

@cameroncooper

@cameroncooper cameroncooper commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Normalize coin_solution, mempool_items arrays, and block_spends_with_conditions before calling the inspector so more RPC responses work with --inspect.
  • Cover the new shapes with unit tests and document the expanded supported input shapes in README/SKILL.

Test plan

  • go test ./...
  • coinset get_puzzle_and_solution <coin_id> --inspect
  • coinset get_puzzle_and_solution_with_conditions <coin_id> --inspect
  • coinset get_mempool_items_by_coin_name <coin_id> --inspect
  • coinset get_block_spends_with_conditions <height> --inspect

Normalize coin_solution, mempool_items arrays, and block_spends_with_conditions so puzzle/solution endpoints can use --inspect without changing the Rust inspector.

Co-authored-by: Cursor <cursoragent@cursor.com>
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