Commit 3ee5f60
Fix anchor CI: surfpool, transfer-hook API, DecodeError, fixture files
- Install surfpool in CI (Anchor 1.0.0 uses it by default for anchor test)
- Fix transfer-hook programs (whitelist, counter, hello-world, transfer-cost):
replace InitializeExtraAccountMetaList::extra_account_metas/count() with
direct calls to handle_extra_account_metas/count() free functions; Anchor
1.0.0 no longer auto-generates these as struct-associated methods
- Update Cargo.lock for nft-operations and token-fundraiser: bump
solana-signature 3.3.0→3.4.0 to fix five8 1.0.0 DecodeError conflict
- Add missing mpl_token_metadata.so fixtures (nft-minter, nft-operations,
pda-mint-authority, spl-token-minter, transfer-tokens); Anchor 1.0.0 IDL
build compiles test files at build time, requiring include_bytes! fixtures
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6b71a40 commit 3ee5f60
12 files changed
Lines changed: 4225 additions & 195 deletions
File tree
- .github/workflows
- tokens
- nft-minter/anchor/tests/fixtures
- nft-operations/anchor
- tests/fixtures
- pda-mint-authority/anchor/tests/fixtures
- spl-token-minter/anchor/tests/fixtures
- token-2022/transfer-hook
- counter/anchor/programs/transfer-hook/src
- hello-world/anchor/programs/transfer-hook/src
- transfer-cost/anchor/programs/transfer-hook/src
- whitelist/anchor/programs/transfer-hook/src
- token-fundraiser/anchor
- transfer-tokens/anchor/tests/fixtures
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
Binary file not shown.
0 commit comments