Skip to content

Reject invalid single committee tx requests - #510

Open
burak33bb wants to merge 1 commit into
canopy-network:mainfrom
burak33bb:codex/validate-single-committee-id
Open

Reject invalid single committee tx requests#510
burak33bb wants to merge 1 commit into
canopy-network:mainfrom
burak33bb:codex/validate-single-committee-id

Conversation

@burak33bb

@burak33bb burak33bb commented Aug 9, 2026

Copy link
Copy Markdown

Summary

  • Reject malformed or multi-committee values for single-chain admin transaction endpoints.
  • Keep empty committee input defaulting to chain ID 0.
  • Add parser regression coverage for empty, valid, malformed, and multi-committee inputs.

Validation

  • gofmt cmd/rpc/admin.go cmd/rpc/admin_test.go
  • go test ./cmd/rpc/...: pass
  • go vet ./cmd/rpc/...: fails on existing copylocks warnings in cmd/rpc/admin.go and cmd/rpc/query.go
  • git diff --check: pass

Note: no code changes were made for fork approval/action_required state.

@burak33bb
burak33bb marked this pull request as ready for review August 10, 2026 12:06
@burak33bb
burak33bb force-pushed the codex/validate-single-committee-id branch from 086bc55 to c87c10d Compare August 17, 2026 01:40
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.

2 participants