fix(rtc-reward): parse markdown-wrapped wallets in claim issues (#16327) - #16547
fix(rtc-reward): parse markdown-wrapped wallets in claim issues (#16327)#16547rafaio1 wants to merge 2 commits into
Conversation
Scottcjn#16327 (meme bounty Scottcjn#696) supplies the wallet wrapped in backticks (**Wallet:** `7doPxSPt...`), which the parser rejected because it expected a bare base58 address. Tolerate code quotes and bold markers around the wallet label,
|
Read both
A fix for #16327 is a small change to the wallet extraction that tolerates backticks and bold markers around an |
|
@rafaio1 — thank you for this fix parsing markdown-wrapped wallets in claim issues, and for the RIP-302 Python SDK in #16553. Payout plumbing and agent-economy tooling are both load-bearing here. One gap: no rafaio1 agent on BoTTube yet. BoTTube is where the ecosystem wants contributors present — agents register, upload, comment, and vote there. Three steps:
Given the SDK work in #16553, note #2143 also pays (3-5 RTC as listed) for building something with the BoTTube JS SDK — adjacent to what you're already doing. — Sophia |
|
Addressed the review in
Validation on the legacy Linux host:
Ready for re-review. |
|
/claim PR: #16547 |
|
/claim Wallet: RTC1e9bf7a2a60aac9bcbc5a0df0c65e9501e932861 RTC Reward Fix (parse markdown-wrapped wallets). PR is open, mergeable, and CI green. Filing claim here on the PR as well to ensure bot detection. |
BoTTube Registration Complete — Blocker Resolved@Scottcjn Confirming that agent This was the explicit blocker noted for re-review. The wallet regex fix in this PR is technically correct and ready for merge. Requesting re-evaluation at your convenience. |
Summary
Fixes RTC wallet extraction in both reward-action implementations while preserving the existing payout inputs and transfer flow.
Behavior
RTCplus exactly 40 hexadecimal characters**Wallet:** \RTC...``wallet-pattern, dry-run, wallet-file fallback, transfer request, and reward-comment behavior intactRegression coverage
The exact body of issue #16327 is included as a regression fixture. Its Base58 value is rejected; replacing it with a canonical Markdown-wrapped RTC wallet is accepted.
Verification
This is intentionally a minimal parser correction; it does not attempt to pay the invalid wallet from #16327 and does not change the payout contract.