Skip to content

Temporarily block artist-coin attestations at the node#215

Merged
dylanjeffers merged 4 commits intomainfrom
block-artist-coin-attestations
May 1, 2026
Merged

Temporarily block artist-coin attestations at the node#215
dylanjeffers merged 4 commits intomainfrom
block-artist-coin-attestations

Conversation

@dylanjeffers
Copy link
Copy Markdown
Contributor

@dylanjeffers dylanjeffers commented May 1, 2026

Summary

  • Temporary blockCoreService.GetRewardAttestation (Connect handler) now rejects every request with FailedPrecondition: artist-coin attestations are temporarily disabled. We intend to bring this flow back; a TODO is left on the handler pointing at git history for the previous implementation.
  • This is the path used for DB-stored programmatic rewards (artist coins). The legacy HTTP /core/rewards/attestation handler that serves $AUDIO challenge attestations is untouched, so AUDIO claims continue to work.
  • Replaced the two attestation subtests in 12_rewards_test.go with a single subtest that asserts the rejection. The reward-lifecycle subtest is unchanged.

Test plan

  • go build ./... (verified locally)
  • go test -run NONE ./pkg/integration_tests/... (compiles)
  • Run integration tests against devnet: make test-integration and confirm TestRewardsLifecycle/Artist-coin_attestations_are_rejected passes
  • Confirm AUDIO reward claims still work end-to-end via the api/ claim flow (/core/rewards/attestation HTTP path)

🤖 Generated with Claude Code

Reject all calls to the Connect-side GetRewardAttestation handler,
which serves DB-stored programmatic rewards (artist coins). The legacy
HTTP /core/rewards/attestation handler remains unchanged so AUDIO
challenge attestations continue to be issued.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dylanjeffers dylanjeffers requested a review from rickyrombo May 1, 2026 00:16
Add a TODO on GetRewardAttestation noting the rejection is a temporary
measure to be reverted when artist-coin attestations are re-enabled,
and reflect "temporarily" in the user-facing error so callers can tell
it apart from a permanent removal.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dylanjeffers dylanjeffers changed the title Block artist-coin attestations at the node Temporarily block artist-coin attestations at the node May 1, 2026
Copy link
Copy Markdown
Contributor

@rickyrombo rickyrombo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think maybe don't update the tests and just skip them for now? idk doesn't really matter

dylanjeffers and others added 2 commits April 30, 2026 17:30
Restore the original two GetRewardAttestation subtests with t.Skip at
the top so they're preserved for when the temporary block on
GetRewardAttestation is reverted.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bumps version so the artist-coin attestation block in this PR can ship
as v1.2.12.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dylanjeffers dylanjeffers merged commit 1d7d4be into main May 1, 2026
4 checks passed
@dylanjeffers dylanjeffers deleted the block-artist-coin-attestations branch May 1, 2026 00:41
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