You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add --cashback flag to token launch + fix create_v2 accounts (#14)
* feat: add --cashback flag to token launch + fix create_v2 account layout
Wire is_cashback_enabled (OptionBool) through all three layers for the
create_v2 instruction, and fix a pre-existing bug where mayhem accounts
were conditionally included — the IDL requires them always.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: address CodeRabbit review — writable flag, account layout tests, parametrize surfpool
- Set MAYHEM_PROGRAM_ID to is_writable=False in create_v2 (read-only per IDL)
- Add account count + position assertions to create_v2 instruction tests
- Parametrize 8 surfpool launch tests into single matrix test
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments