Skip to content

fix(rewards): allow only weekly trending AUDIO attestations - #631

Open
raymondjacobson wants to merge 1 commit into
mainfrom
codex/trending-only-audio-rewards
Open

raymondjacobson wants to merge 1 commit into
mainfrom
codex/trending-only-audio-rewards

Conversation

@raymondjacobson

Copy link
Copy Markdown
Contributor

Restrict the static AUDIO reward catalog to weekly trending tracks (tt) and underground tracks (tut). Validate their existing date/rank identifiers, exact rank-dependent amounts (1–5: 1,000 AUDIO; 6–10: 100 AUDIO), and Ethereum address lengths before signing.

The existing HTTP attestation route still signs authorized trending requests. Programmable attestations remain disabled. Signed bytes, Solana instructions, sender registration, consensus validation, historical replay and reward-pool state are unchanged.

Validation:

  • Race-enabled rewards tests and static catalog regression passed.
  • HTTP regression verifies signatures for both categories and both payout tiers; programmable containment test passed.
  • The broader config package includes an unrelated DNS-dependent persistent-peer test that fails resolving val003.open-audio-validator.com locally. Full repository CI remains the merge gate.

This retires non-trending AUDIO claims, including previously unclaimed user challenges. Compatible with the existing trending plugin and AAO; no companion release is required to preserve trending payouts. It does not revoke old signatures or make the unchanged Solana reward account safe to refill.

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