Skip to content

test(db-sync): add off-chain voting anchor data#3497

Merged
mkoura merged 1 commit into
masterfrom
artur/offchain-voting-anchor-test-data
Jun 30, 2026
Merged

test(db-sync): add off-chain voting anchor data#3497
mkoura merged 1 commit into
masterfrom
artur/offchain-voting-anchor-test-data

Conversation

@ArturWieczorek

Copy link
Copy Markdown
Collaborator

Add the anchor metadata test vectors used by the off-chain voting anchor db-sync tests:

  • governance_action_anchor_cip_100_non_conformant.json: valid JSON that does not conform to CIP-100 (an author is missing its witness).
  • governance_action_anchor_invalid_json.json: content that is not valid JSON.

Committing these first lets their raw URLs be shortened (an on-chain anchor URL is limited to 128 bytes) and referenced from the tests.

@ArturWieczorek ArturWieczorek force-pushed the artur/offchain-voting-anchor-test-data branch 2 times, most recently from 1618c00 to 71e2332 Compare June 24, 2026 17:16
Add the anchor metadata test vectors used by the off-chain voting
anchor db-sync tests:

- governance_action_anchor_cip_100_non_conformant.json: valid JSON
  that does not conform to CIP-100 (an author is missing its witness).
- governance_action_anchor_invalid_json.json: content that is not
  valid JSON.

Committing these first lets their raw URLs be shortened (an on-chain
anchor URL is limited to 128 bytes) and referenced from the tests.
@ArturWieczorek ArturWieczorek force-pushed the artur/offchain-voting-anchor-test-data branch from 71e2332 to d86f84a Compare June 29, 2026 19:11
@mkoura mkoura merged commit 8331980 into master Jun 30, 2026
1 check passed
@mkoura mkoura deleted the artur/offchain-voting-anchor-test-data branch June 30, 2026 11:35
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