[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AAVZJFBE90P6DEEA265KTM":3,"skill-same:01M7AAVZJFBE90P6DEEA265KTM":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7AAVZJFBE90P6DEEA265KTM","solana-dev-common-errors",null,"Diagnose and fix common errors encountered when building on Solana, including GLIBC issues, Anchor version conflicts, and RPC errors.","themusebook\u002Fskills","themusebook","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F349927247?v=4","01M7A5C1RV5S3V5FF6ZACVDNRN","musebook","01M7A5C1SFC3KRZAXNN60XJ7KM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsolana-foundation\u002Fcommon-errors\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: solana-dev-common-errors\ndescription: Diagnose and fix common errors encountered when building on Solana, including GLIBC issues, Anchor version conflicts, and RPC errors.\nlicense: MIT\nmetadata:\n  author: Solana Foundation\n  version: \"2.7.0\"\n  source: https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill\n  category: Reference\n---\n\n# Common Errors & Solutions\n\n> **Solana Foundation skill — mirrored in the Musebook skills hub.**\n> This entry reproduces, verbatim, the `common-errors.md` reference of the\n> foundation-maintained **solana-dev** skill (v2.7.0, MIT) from\n> https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill. It is one of the 16 topic\n> references the solana-dev router discloses progressively; for the full\n> skill (router + all references + nested guides), install the upstream\n> original: `npx skills add https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill` — also mirrored in this hub as the\n> `solana-dev` entry. Maintained by the Solana Foundation; Musebook does\n> not author or maintain this content. Relative links in the body point\n> at the upstream skill's file layout and resolve in the full install.\n\n# Common Solana Development Errors & Solutions\n\n## Contents\n\n- [GLIBC Errors](#glibc-errors)\n- [Rust \u002F Cargo Errors](#rust--cargo-errors)\n- [Build Errors](#build-errors)\n- [Installation Errors](#installation-errors)\n- [Testing Errors](#testing-errors)\n- [Anchor Version Migration Issues](#anchor-version-migration-issues)\n- [Miscellaneous Errors](#miscellaneous-errors)\n- [Transaction v1 Errors](#transaction-v1-errors)\n- [LiteSVM Errors](#litesvm-errors)\n- [Platform Tools Errors](#platform-tools-errors)\n- [edition2024 Crate Incompatibility (Cargo 1.84.0)](#edition2024-crate-incompatibility-cargo-1840)\n- [Verified Test Results (Debian 12, Jan 2026)](#verified-test-results-debian-12-jan-2026)\n\n## GLIBC Errors\n\n### `GLIBC_2.39 not found` \u002F `GLIBC_2.38 not found`\n```\nanchor: \u002Flib\u002Fx86_64-linux-gnu\u002Flibc.so.6: version `GLIBC_2.39' not found (required by anchor)\n```\n\n**Cause:** Anchor 0.31+ binaries are built on newer Linux and require GLIBC ≥2.38. Anchor 0.32+ requires ≥2.39.\n\n**Solutions (pick one):**\n1. **Upgrade OS** (best): Ubuntu 24.04+ has GLIBC 2.39\n2. **Build from source:**\n   ```bash\n   # For Anchor 1.2.x (current):\n   cargo install --git https:\u002F\u002Fgithub.com\u002Fotter-sec\u002Fanchor --tag v1.2.1 anchor-cli\n\n   # For Anchor 0.31.x:\n   cargo install --git https:\u002F\u002Fgithub.com\u002Fotter-sec\u002Fanchor --tag v0.31.2 anchor-cli\n\n   # For Anchor 0.32.x:\n   cargo install --git https:\u002F\u002Fgithub.com\u002Fotter-sec\u002Fanchor --tag v0.32.2 anchor-cli\n   ```\n3. **Use Docker:**\n   ```bash\n   docker run -v $(pwd):\u002Fworkspace -w \u002Fworkspace solanafoundation\u002Fanchor:0.31.1 anchor build\n   ```\n4. **Use AVM with source build:**\n   ```bash\n   avm install 0.31.1 --from-source\n   ```\n\n---\n\n## Rust \u002F Cargo Errors\n\n### `anchor-cli` fails to install with Rust 1.80 (`time` crate issue)\n```\nerror[E0635]: unknown feature `proc_macro_span_shrink`\n --> .cargo\u002Fregistry\u002Fsrc\u002F...\u002Ftime-macros-0.2.16\u002Fsrc\u002Flib.rs\n```\n\n**Cause:** Anchor 0.30.x uses a `time` crate version incompatible with Rust ≥1.80 ([anchor#3143](https:\u002F\u002Fgithub.com\u002Fcoral-xyz\u002Fanchor\u002Fpull\u002F3143)).\n\n**Solutions:**\n1. **Use AVM** — it auto-selects `rustc 1.79.0` for Anchor \u003C 0.31 ([anchor#3315](https:\u002F\u002Fgithub.com\u002Fcoral-xyz\u002Fanchor\u002Fpull\u002F3315))\n2. **Pin Rust version:**\n   ```bash\n   rustup install 1.79.0\n   rustup default 1.79.0\n   cargo install --git https:\u002F\u002Fgithub.com\u002Fcoral-xyz\u002Fanchor --tag v0.30.1 anchor-cli --locked\n   ```\n3. **Upgrade to Anchor 0.31+** which fixes this issue\n\n### `unexpected_cfgs` warnings flooding build output\n```\nwarning: unexpected `cfg` condition name: `feature`\n```\n\n**Cause:** Newer Rust versions (1.80+) are stricter about `cfg` conditions.\n\n**Solution:** Add to your program's `Cargo.toml`:\n```toml\n[lints.rust]\nunexpected_cfgs = { level = \"allow\" }\n```\nOr upgrade to Anchor 0.31+ which handles this.\n\n### `error[E0603]: module inner is private`\n**Cause:** Version mismatch between `anchor-lang` crate and Anchor CLI.\n\n**Solution:** Ensure `anchor-lang` in Cargo.toml matches your `anchor --version`.\n\n---\n\n## Build Errors\n\n### `cargo build-sbf` not found\n```\nerror: no such command: `build-sbf`\n```\n\n**Cause:** Solana CLI not installed, or PATH not set.\n\n**Solutions:**\n1. Install Solana CLI: `sh -c \"$(curl -sSfL https:\u002F\u002Frelease.anza.xyz\u002Fstable\u002Finstall)\"`\n2. Add to PATH: `export PATH=\"$HOME\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Factive_release\u002Fbin:$PATH\"`\n3. Verify: `solana --version`\n\n### `cargo build-bpf` is deprecated\n```\nWarning: cargo-build-bpf is deprecated. Use cargo-build-sbf instead.\n```\n\n**Cause:** As of Anchor 0.30.0, `cargo build-sbf` is the default. BPF target is deprecated in favor of SBF.\n\n**Solution:** This is just a warning if you're using older tooling. Anchor 0.30+ handles this automatically. If calling manually, use `cargo build-sbf`.\n\n### Platform tools download failure\n```\nError: Failed to download platform-tools\n```\nor\n```\nerror: could not compile `solana-program`\n```\n\n**Solutions:**\n1. **Clear cache and retry:**\n   ```bash\n   rm -rf ~\u002F.cache\u002Fsolana\u002F\n   cargo build-sbf\n   ```\n2. **Manual platform tools install:**\n   ```bash\n   # Check which version you need\n   solana --version\n   # Download manually from:\n   # https:\u002F\u002Fgithub.com\u002Fanza-xyz\u002Fplatform-tools\u002Freleases\n   ```\n3. **Check disk space** (see \"No space left\" error below)\n\n### `anchor build` IDL generation fails\n```\nError: IDL build failed\n```\nor\n```\nBPF SDK: \u002Fhome\u002Fuser\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Freleases\u002F2.1.7\u002Fsolana-release\u002Fbin\u002Fsdk\u002Fsbf\nError: Function _ZN5anchor...\n```\n\n**Solutions:**\n1. **Ensure `idl-build` feature is enabled (required since 0.30.0):**\n   ```toml\n   [features]\n   default = []\n   idl-build = [\"anchor-lang\u002Fidl-build\", \"anchor-spl\u002Fidl-build\"]\n   ```\n2. **Set ANCHOR_LOG for debugging:**\n   ```bash\n   ANCHOR_LOG=1 anchor build\n   ```\n3. **Skip IDL generation:**\n   ```bash\n   anchor build --no-idl\n   ```\n4. **Check for nightly Rust interference:**\n   ```bash\n   # IDL generation uses proc-macro2 which may need nightly features\n   # Override with stable:\n   RUSTUP_TOOLCHAIN=stable anchor build\n   ```\n\n### `anchor build` error with `proc_macro2` \u002F `local_file` method not found\n```\nerror[E0599]: no method named `local_file` found for struct `proc_macro2::Span`\n```\n\n**Cause:** proc-macro2 API change in newer nightly Rust.\n\n**Solutions:**\n1. Upgrade to Anchor 0.31.1+ (fixed in [#3663](https:\u002F\u002Fgithub.com\u002Fotter-sec\u002Fanchor\u002Fpull\u002F3663))\n2. Use stable Rust: `RUSTUP_TOOLCHAIN=stable anchor build`\n3. Pin proc-macro2: `cargo update -p proc-macro2 --precise 1.0.86`\n\n---\n\n## Installation Errors\n\n### `No space left on device` during Solana install\n```\nerror: No space left on device (os error 28)\n```\n\n**Cause:** Solana CLI + platform tools can use 2-5 GB. Multiple versions compound this.\n\n**Solutions:**\n1. **Clean old versions:**\n   ```bash\n   # List installed versions\n   ls ~\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Freleases\u002F\n   \n   # Remove old ones (keep only what you need)\n   rm -rf ~\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Freleases\u002F1.16.*\n   rm -rf ~\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Freleases\u002F1.17.*\n   \n   # Also clean cache\n   rm -rf ~\u002F.cache\u002Fsolana\u002F\n   ```\n2. **Clean Cargo\u002FRust caches:**\n   ```bash\n   cargo cache --autoclean  # if cargo-cache is installed\n   # or manually:\n   rm -rf ~\u002F.cargo\u002Fregistry\u002Fcache\u002F\n   rm -rf target\u002F\n   ```\n3. **Clean AVM:**\n   ```bash\n   ls ~\u002F.avm\u002Fbin\u002F\n   # Remove unused anchor versions\n   ```\n\n### `agave-install` not found\n```\nerror: agave-install: command not found\n```\n\n**Cause:** Anchor CLI 0.31+ migrates to `agave-install` for Solana versions ≥1.18.19.\n\n**Solution:** Install via the Solana install script (which installs both):\n```bash\nsh -c \"$(curl -sSfL https:\u002F\u002Frelease.anza.xyz\u002Fstable\u002Finstall)\"\n```\n\n---\n\n## Testing Errors\n\n### `solana-test-validator` crashes or hangs\n```\nError: failed to start validator\n```\n\n**Solutions:**\n1. **Kill existing validators:**\n   ```bash\n   pkill -f solana-test-validator\n   # or\n   solana-test-validator --kill\n   ```\n2. **Clean ledger:**\n   ```bash\n   rm -rf test-ledger\u002F\n   ```\n3. **Check port availability:**\n   ```bash\n   lsof -i :8899  # RPC port\n   lsof -i :8900  # Websocket port\n   ```\n4. **Consider Surfpool** as a modern alternative to `solana-test-validator`:\n   ```bash\n   curl -sL https:\u002F\u002Frun.surfpool.run\u002F | bash\n   ```\n\n### Anchor test fails with `Connection refused` \u002F IPv6 issue\n```\nError: connect ECONNREFUSED ::1:8899\n```\n\n**Cause:** Node.js 17+ resolves `localhost` to IPv6 `::1` by default, but `solana-test-validator` binds to `127.0.0.1`.\n\n**Solutions:**\n1. **Use Anchor 0.30+** which defaults to `127.0.0.1` instead of `localhost`\n2. **Set NODE_OPTIONS:**\n   ```bash\n   NODE_OPTIONS=\"--dns-result-order=ipv4first\" anchor test\n   ```\n3. **Edit Anchor.toml:**\n   ```toml\n   [provider]\n   cluster = \"http:\u002F\u002F127.0.0.1:8899\"\n   ```\n\n---\n\n## Anchor Version Migration Issues\n\n### Anchor 0.29 → 0.30 Migration Errors\n\n**`accounts` method type errors in TypeScript:**\n```\nArgument of type '{ ... }' is not assignable to parameter of type 'ResolvedAccounts\u003C...>'\n```\n\n**Solution:** Change `.accounts({...})` to `.accountsPartial({...})` or remove auto-resolved accounts from the call.\n\n**Missing `idl-build` feature:**\n```\nError: `idl-build` feature is missing\n```\n\n**Solution:** Add to each program's Cargo.toml:\n```toml\n[features]\nidl-build = [\"anchor-lang\u002Fidl-build\"]\n```\n\n**`overflow-checks` not specified:**\n```\nError: overflow-checks must be specified in workspace Cargo.toml\n```\n\n**Solution:** Add to workspace `Cargo.toml`:\n```toml\n[profile.release]\noverflow-checks = true\n```\n\n### Anchor 0.30 → 0.31 Migration Errors\n\n**Solana v1 → v2 crate conflicts:**\n```\nerror[E0308]: mismatched types\nexpected `solana_program::pubkey::Pubkey`\nfound `solana_sdk::pubkey::Pubkey`\n```\n\n**Solution:** Remove direct `solana-program` and `solana-sdk` dependencies. Use them through `anchor-lang`:\n```rust\nuse anchor_lang::prelude::*;\n\u002F\u002F NOT: use solana_program::pubkey::Pubkey;\n```\n\n**`Discriminator` trait changes:**\n```\nerror[E0277]: the trait bound `MyAccount: Discriminator` is not satisfied\n```\n\n**Solution:** Ensure you derive `#[account]` on your structs. The discriminator is now dynamically sized.\n\n### Anchor 0.31 → 0.32 Migration Errors\n\n**`solana-program` dependency warning becomes error:**\nAnchor 0.32 fully removes `solana-program` as a dependency. If your code imports from `solana_program::*`, change to the smaller crates:\n```rust\n\u002F\u002F Before (0.31):\nuse solana_program::pubkey::Pubkey;\n\n\u002F\u002F After (0.32):\nuse solana_pubkey::Pubkey;\n\u002F\u002F Or use anchor's re-export:\nuse anchor_lang::prelude::*;\n```\n\n**Duplicate mutable accounts error:**\n```\nError: Duplicate mutable account\n```\nAnchor 0.32+ disallows duplicate mutable accounts by default. Use the `dup` constraint:\n```rust\n#[derive(Accounts)]\npub struct MyInstruction\u003C'info> {\n    #[account(mut)]\n    pub account_a: Account\u003C'info, MyAccount>,\n    #[account(mut, dup = account_a)]\n    pub account_b: Account\u003C'info, MyAccount>,\n}\n```\n\n---\n\n## Miscellaneous Errors\n\n### `solana airdrop` fails\n```\nError: airdrop request failed\n```\n\n**Cause:** Rate limiting on devnet\u002Ftestnet.\n\n**Solutions:**\n1. Wait and retry\n2. Use the web faucet: https:\u002F\u002Ffaucet.solana.com\n3. For testing, use localnet where airdrops are unlimited\n\n### Anchor IDL account authority mismatch\n```\nError: Authority did not sign\n```\n\n**Solution:** The IDL authority is the program's upgrade authority. Check with:\n```bash\nsolana program show \u003CPROGRAM_ID>\n```\n\n### `declare_program!` not finding IDL file\n```\nError: file not found: idls\u002Fmy_program.json\n```\n\n**Solution:** Place the IDL JSON in the `idls\u002F` directory at the workspace root. The filename must match the program name (snake_case):\n```\nworkspace\u002F\n├── idls\u002F\n│   └── my_program.json\n├── programs\u002F\n│   └── my_program\u002F\n└── Anchor.toml\n```\n\n---\n\n## Transaction v1 Errors\n\nFull reference: [transactions-v1.md](.\u002Ftransactions-v1.md).\n\n### `MaxLoadedAccountsDataSizeExceeded` on a v1 transaction\n\n```\nTransaction failed: MaxLoadedAccountsDataSizeExceeded\n```\n\n**Cause:** Unset fields in a v1 `TransactionConfig` budget **zero**, not a runtime default. A v1 transaction with an empty config fails at account loading. Only `heapSize` falls back (32 KiB).\n\n**Fix:** Set `computeUnitLimit` and `loadedAccountsDataSizeLimit` explicitly, or measure them by simulation:\n\n```ts\nconst estimateResourceLimits = estimateResourceLimitsFactory({ rpc });\nconst message = await estimateAndSetResourceLimitsFactory(estimateResourceLimits)(\n  fillTransactionMessageProvisoryResourceLimits(draft),\n);\n```\n\nThe estimate is the exact cost of one simulated run with no margin. Add headroom and round the data size up to the next 32 KiB page — an account created between simulation and send jumps from 0 to at least 64 bytes.\n\n### JSON-RPC error `-32015` \u002F \"Transaction version (1) is not supported\"\n\n**Cause:** `maxSupportedTransactionVersion` is absent or set to `0` on `getTransaction`, `getBlock`, or `blockSubscribe`. The parameter is a ceiling, not a hint.\n\n**Fix:** Pass the JSON **integer** `1`. On `getBlock` this matters twice over — a single v1 transaction fails the *entire block*, with no partial result. `blockSubscribe` emits `block: null` and stops advancing.\n\n### `Version 1 transactions are not yet supported by rpcTransactionPlanner`\n\n**Cause:** `@solana\u002Fkit-plugin-rpc` ≤0.18. Those releases typed the `version: 1` planner config but threw at runtime; 0.19.0 plans v1 natively.\n\n**Fix:** `pnpm add @solana\u002Fkit@^8.3.0 @solana\u002Fkit-plugin-rpc@^0.19.0 @solana\u002Fkit-plugin-signer@^0.19.0`, then `solanaRpc({ rpcUrl, transactionConfig: { version: 1 } })`.\n\n### Wallet rejects the transaction after upgrading to v1\n\n**Cause:** The connected wallet has not shipped v1 support, so it refuses to sign a message with version byte `0x81`.\n\n**Fix:** Check `connected.supportedTransactionVersions.has(1)` (from `client.wallet.getState()` or `useConnectedWallet`) before sending, and route those users through a `version: 0` client. See [transactions-v1.md](.\u002Ftransactions-v1.md#wallets).\n\n### `createTransactionMessage({ version: 1 })` is a type error\n\n**Cause:** `@solana\u002Fkit` 7.x carries the v1 codecs, config setters, and `maxSupportedTransactionVersion: 1`, but 8.0.0 is the first release whose types accept the v1 builder.\n\n**Fix:** `pnpm add @solana\u002Fkit@^8.0.0`.\n\n### Priority fee or compute unit limit reads as 0 in an indexer\n\n**Cause:** Deriving the budget by scanning instructions for the ComputeBudget program. On v1 those values live in the message config, so the scan finds nothing and reports zero **without erroring**. Over gRPC there is no version gate at all, so nothing signals the problem.\n\n**Fix:** Read `transactionConfig` (JSON-RPC) or `Message.config` (gRPC). Discriminate on `config` presence, never on the `versioned` boolean — it is `true` for both v0 and v1. Bump `yellowstone-grpc-proto` to 12.6.0+, the geyser plugin to 15.1.1+, or `@triton-one\u002Fyellowstone-grpc` to 6.0.0+; older stubs drop field 7 silently.\n\n---\n\n## LiteSVM Errors\n\n### `undefined symbol: __isoc23_strtol` (litesvm native binary)\n```\nError: Cannot find native binding.\ncause: litesvm.linux-x64-gnu.node: undefined symbol: __isoc23_strtol\n```\n\n**Root cause:** the old LiteSVM 0.5.0 npm binary was compiled against GLIBC 2.38+. The `__isoc23_strtol` symbol was introduced in GLIBC 2.38 (C23 standard functions), so systems with GLIBC \u003C 2.38 (Ubuntu 22.04, Debian 12, etc.) could not load it.\n\n**Verified on:** Debian 12 (GLIBC 2.36) with `litesvm` 0.5.0 — Jan 2026\n\n**Solutions:**\n1. **Upgrade `litesvm`** to the current 1.x (1.6.0 as of Oct 2026). Its gnu binaries are cross-built on Ubuntu 22.04 runners, and musl builds (`litesvm-linux-{x64,arm64}-musl`) ship alongside them. Delete `node_modules` and the lockfile entry so the right optional binary is installed.\n2. **Use Docker:**\n   ```dockerfile\n   FROM ubuntu:24.04\n   RUN apt-get update && apt-get install -y nodejs npm\n   ```\n3. **Upgrade the OS** to Ubuntu 24.04+ or Debian 13+.\n\nDo not switch to `solana-bankrun`: it is deprecated in favor of LiteSVM.\n\n### `Cannot find module '.\u002Flitesvm.linux-x64-gnu.node'`\n```\nError: Cannot find module '.\u002Flitesvm.linux-x64-gnu.node'\n```\n\n**Root cause:** pnpm hoisting doesn't always correctly link native optional dependencies for native Node addons.\n\n**Solutions:**\n1. Delete `node_modules` and reinstall: `rm -rf node_modules && pnpm install`\n2. Use `node-linker=hoisted` in `.npmrc`:\n   ```\n   node-linker=hoisted\n   ```\n3. Install the platform-specific package explicitly:\n   ```bash\n   pnpm add -D litesvm-linux-x64-gnu\n   ```\n\n---\n\n## Platform Tools Errors\n\n### `The Solana toolchain is corrupted` after fresh install\n```\n[ERROR cargo_build_sbf] The Solana toolchain is corrupted. Please, run cargo-build-sbf with the --force-tools-install argument to fix it.\n```\n\n**Root cause:** Solana CLI 2.2.x downloads platform-tools v1.48 (~516MB compressed, ~2GB extracted). On systems with limited root partition space (\u003C3GB free in `~\u002F.cache\u002Fsolana\u002F`), extraction can fail silently, leaving a corrupted toolchain (e.g., `rust\u002F` directory missing `rustc` binary).\n\n**Verified on:** Debian 12, Solana CLI 2.2.16, root partition 9.7GB with 2.1GB free — Jan 2026\n\n**Solutions:**\n1. **Run with `--force-tools-install`:**\n   ```bash\n   cargo build-sbf --force-tools-install\n   ```\n   This re-downloads and re-extracts. Takes 5-10 minutes on average connections.\n\n2. **Ensure sufficient disk space** (~3GB free needed on partition containing `~\u002F.cache\u002Fsolana\u002F`):\n   ```bash\n   df -h ~\u002F.cache\u002Fsolana\u002F\n   # If too small, symlink to bigger disk:\n   rm -rf ~\u002F.cache\u002Fsolana\u002Fv1.48\u002Fplatform-tools\n   mkdir -p \u002Fmnt\u002Fdata\u002Fsolana-cache\u002Fv1.48\u002Fplatform-tools\n   ln -sf \u002Fmnt\u002Fdata\u002Fsolana-cache\u002Fv1.48\u002Fplatform-tools ~\u002F.cache\u002Fsolana\u002Fv1.48\u002Fplatform-tools\n   ```\n\n3. **Manual extraction** (if `--force-tools-install` keeps cycling):\n   ```bash\n   # Download manually\n   wget https:\u002F\u002Fgithub.com\u002Fanza-xyz\u002Fplatform-tools\u002Freleases\u002Fdownload\u002Fv1.48\u002Fplatform-tools-linux-x86_64.tar.bz2\n   # Extract to a disk with space\n   mkdir -p \u002Fmnt\u002Fdata\u002Fsolana-platform-tools\u002Fv1.48\n   cd \u002Fmnt\u002Fdata\u002Fsolana-platform-tools\u002Fv1.48\n   tar xjf \u002Fpath\u002Fto\u002Fplatform-tools-linux-x86_64.tar.bz2\n   # Symlink\n   ln -sf \u002Fmnt\u002Fdata\u002Fsolana-platform-tools\u002Fv1.48 ~\u002F.cache\u002Fsolana\u002Fv1.48\u002Fplatform-tools\n   ```\n\n**Note:** The `version.md` file is the last file extracted. Its presence confirms successful extraction.\n\n### Anchor CLI version mismatch warnings (non-fatal)\n```\nWARNING: `anchor-lang` version(0.32.1) and the current CLI version(0.30.1) don't match.\nWARNING: `@coral-xyz\u002Fanchor` version(^0.32.1) and the current CLI version(0.30.1) don't match.\n```\n\n**Root cause:** Using Anchor CLI 0.30.1 with `anchor-lang = \"0.32.1\"` in Cargo.toml. The build **succeeds** but prints warnings.\n\n**Verified on:** Debian 12, Anchor CLI 0.30.1 building anchor-lang 0.32.1 — builds and generates IDL correctly — Jan 2026\n\n**Impact:** Builds work. IDL generation works. But subtle runtime issues may occur with IDL format differences between 0.30 and 0.32.\n\n**Solutions:**\n1. **Match versions** (recommended):\n   ```toml\n   # Anchor.toml\n   [toolchain]\n   anchor_version = \"0.32.1\"\n   ```\n   Then install matching CLI: `avm install 0.32.1`\n2. **Or downgrade crate:** Change `anchor-lang = \"0.30.1\"` in Cargo.toml\n3. **Ignore if just building:** The mismatch is cosmetic for `anchor build` and `anchor idl build`\n\n---\n\n## edition2024 Crate Incompatibility (Cargo 1.84.0)\n\n### `feature edition2024 is required` during `cargo build-sbf`\n```\nerror: failed to download `constant_time_eq v0.4.2`\n\nCaused by:\n  failed to parse manifest at `...\u002Fconstant_time_eq-0.4.2\u002FCargo.toml`\n\nCaused by:\n  feature `edition2024` is required\n\n  The package requires the Cargo feature called `edition2024`, but that feature is not\n  stabilized in this version of Cargo (1.84.0 (12fe57a9d 2025-04-07)).\n```\n\n**Root cause:** Platform-tools v1.48 (used by Solana CLI 2.2.16 and CI with Solana stable 3.0.14) bundles `cargo 1.84.0` (Solana Rust fork), which does **not** support `edition = \"2024\"`. Multiple crates in the Solana dependency tree have released versions requiring edition2024.\n\n### ⚠️ Known edition2024 Crates (Updated Jan 31, 2026)\n\n| Crate | Breaking Version | Safe Version | Pulled By |\n|---|---|---|---|\n| `blake3` | ≥1.8.3 | **1.8.2** | `solana-blake3-hasher` → `solana-program` |\n| `constant_time_eq` | ≥0.4.2 | **0.3.1** | `blake3` |\n| `base64ct` | ≥1.8.3 | **1.7.3** | `pkcs8`, `spki` → various crypto crates |\n| `indexmap` | ≥2.13.0 | **2.11.4** | `toml_edit` → `proc-macro-crate` → `borsh-derive` → `anchor-lang` |\n\n**New crates may ship edition2024 at any time.** If you see this error with a crate not listed above, pin it to the previous version.\n\n**Why existing repos break:** Projects without a `Cargo.lock` (or with a stale one) resolve to the latest crate versions at build time, pulling in edition2024-requiring releases. This is especially common in CI environments.\n\n**Verified on:**\n- Debian 12, Solana CLI 2.2.16, platform-tools v1.48 — Jan 30, 2026\n- GitHub Actions (ubuntu-latest), Solana stable 3.0.14, Cargo 1.84.0 — Jan 31, 2026\n\n### Solutions\n\n**1. Pin all known problematic crates (recommended for CI):**\n```bash\ncargo generate-lockfile\ncargo update -p blake3 --precise 1.8.2\ncargo update -p constant_time_eq --precise 0.3.1\ncargo update -p base64ct --precise 1.7.3\ncargo update -p indexmap --precise 2.11.4\n```\n\n**2. Pin via workspace Cargo.toml:**\n```toml\n# In workspace Cargo.toml\n[workspace.dependencies]\nblake3 = \"=1.8.2\"\nbase64ct = \"=1.7.3\"\n```\n\n**3. Always commit Cargo.lock for programs and Anchor projects:**\n```bash\n# Force-add if .gitignore excludes it\ngit add -f Cargo.lock\n```\nThis is the single most effective prevention — a committed lockfile prevents cargo from resolving to newer breaking versions.\n\n**4. For monorepos with per-project Cargo.lock files (e.g., program-examples):**\nEach Anchor project that has its own `Cargo.toml` outside the workspace needs its own `Cargo.lock`. Generate and pin for each:\n```bash\nfor dir in $(find . -path \"*\u002Fanchor\u002FCargo.toml\" -exec dirname {} \\;); do\n  cd \"$dir\"\n  cargo generate-lockfile\n  cargo update -p blake3 --precise 1.8.2 2>\u002Fdev\u002Fnull\n  cargo update -p constant_time_eq --precise 0.3.1 2>\u002Fdev\u002Fnull\n  cargo update -p base64ct --precise 1.7.3 2>\u002Fdev\u002Fnull\n  cargo update -p indexmap --precise 2.11.4 2>\u002Fdev\u002Fnull\n  cd -\ndone\ngit add -f **\u002FCargo.lock\n```\n\n**5. Wait for platform-tools update** — a future platform-tools version will ship a cargo that supports edition2024. Track at [anza-xyz\u002Fplatform-tools](https:\u002F\u002Fgithub.com\u002Fanza-xyz\u002Fplatform-tools\u002Freleases).\n\n### `Could not find specification for target \"sbpf-solana-solana\"` with `--tools-version`\n```\nerror: Error loading target specification: Could not find specification for target \"sbpf-solana-solana\".\nRun `rustc --print target-list` for a list of built-in targets\n```\n\n**Root cause:** Using `cargo build-sbf --tools-version v1.43` with Solana CLI 2.2.16. The CLI generates `--target sbpf-solana-solana` but platform-tools v1.43 only knows older target triples (e.g., `sbf-solana-solana`). The SBPF target rename happened between v1.43 and v1.48.\n\n**Verified on:** Debian 12, Solana CLI 2.2.16 — Jan 30, 2026\n\n**Solution:** Don't downgrade platform-tools below your CLI's default version. Use the default tools version (v1.48 for CLI 2.2.16).\n\n---\n\n## Verified Test Results (Debian 12, Jan 2026)\n\nEnvironment: Rust 1.93, Solana CLI 2.2.16, Anchor CLI 0.30.1, Node 22.22.0, GLIBC 2.36\n\n| Test | Command | Result | Notes |\n|------|---------|--------|-------|\n| Anchor CLI\u002Fcrate mismatch | `anchor build` (CLI 0.30.1 \u002F anchor-lang 0.32.1) | ⚠️ PASS with warnings | Builds succeed; prints version mismatch warnings |\n| cargo build-sbf (native) | `cargo build-sbf` on hello-solana, counter, transfer-sol, create-account, checking-accounts | ✅ PASS | All build after platform-tools v1.48 installed correctly |\n| solana-bankrun (GLIBC 2.36) | `npm install solana-bankrun && require('solana-bankrun')` | ✅ PASS | `start` function available, works on GLIBC 2.36 |\n| litesvm npm (GLIBC 2.36) | `npm install litesvm && require('litesvm')` | ❌ FAIL | `undefined symbol: __isoc23_strtol` — requires GLIBC ≥2.38 |\n| @solana\u002Fweb3.js CJS | `require('@solana\u002Fweb3.js')` | ✅ PASS | Keypair, Connection etc. available |\n| @solana\u002Fweb3.js ESM | `import * as web3 from '@solana\u002Fweb3.js'` | ✅ PASS | Full ESM support on Node 22 |\n| @solana\u002Fkit ESM | `import('@solana\u002Fkit')` | ✅ PASS | ESM-only, works on Node 22 |\n| @coral-xyz\u002Fanchor CJS | `require('@coral-xyz\u002Fanchor')` | ✅ PASS | Program, Provider etc. available |\n| @coral-xyz\u002Fanchor ESM | `import * as anchor from '@coral-xyz\u002Fanchor'` | ✅ PASS | Full ESM support on Node 22 |\n| IDL generation | `anchor idl build` (from program dir) | ✅ PASS | Generates valid JSON IDL with CLI 0.30.1 |\n| Cargo duplicate deps | `cargo tree -d` on program-examples | ⚠️ INFO | 2295 lines of duplicate deps (ahash, base64, borsh, curve25519-dalek, ed25519-dalek, etc.) — normal for Solana workspace |\n| Platform tools corruption | `cargo build-sbf` on fresh install | ❌ FAIL then PASS | Initial corruption due to disk space; fixed with `--force-tools-install` on adequate disk |\n\n### Key Findings\n1. **litesvm 0.5.0 npm was broken on Debian 12** (GLIBC 2.36) — upgrade to litesvm 1.x, which ships cross-built gnu and musl binaries\n2. **solana-bankrun loaded** on GLIBC 2.36, but it is now deprecated — do not adopt it for new work\n3. **Platform-tools v1.48 needs ~2GB disk** for extraction — symlink `~\u002F.cache\u002Fsolana\u002F` to a larger partition if root is small\n4. **Anchor CLI 0.30.1 successfully builds anchor-lang 0.32.1** — warnings only, no errors\n5. **Node 22 has full ESM+CJS support** for all Solana JS packages tested\n6. **Cargo duplicate dependencies are normal** in Solana monorepos (borsh 0.9\u002F0.10\u002F1.x, curve25519-dalek 3.x\u002F4.x, etc.)\n","# Common Errors & Solutions\n\n> **Solana Foundation skill — mirrored in the Musebook skills hub.**\n> This entry reproduces, verbatim, the `common-errors.md` reference of the\n> foundation-maintained **solana-dev** skill (v2.7.0, MIT) from\n> https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill. It is one of the 16 topic\n> references the solana-dev router discloses progressively; for the full\n> skill (router + all references + nested guides), install the upstream\n> original: `npx skills add https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill` — also mirrored in this hub as the\n> `solana-dev` entry. Maintained by the Solana Foundation; Musebook does\n> not author or maintain this content. Relative links in the body point\n> at the upstream skill's file layout and resolve in the full install.\n\n# Common Solana Development Errors & Solutions\n\n## Contents\n\n- [GLIBC Errors](#glibc-errors)\n- [Rust \u002F Cargo Errors](#rust--cargo-errors)\n- [Build Errors](#build-errors)\n- [Installation Errors](#installation-errors)\n- [Testing Errors](#testing-errors)\n- [Anchor Version Migration Issues](#anchor-version-migration-issues)\n- [Miscellaneous Errors](#miscellaneous-errors)\n- [Transaction v1 Errors](#transaction-v1-errors)\n- [LiteSVM Errors](#litesvm-errors)\n- [Platform Tools Errors](#platform-tools-errors)\n- [edition2024 Crate Incompatibility (Cargo 1.84.0)](#edition2024-crate-incompatibility-cargo-1840)\n- [Verified Test Results (Debian 12, Jan 2026)](#verified-test-results-debian-12-jan-2026)\n\n## GLIBC Errors\n\n### `GLIBC_2.39 not found` \u002F `GLIBC_2.38 not found`\n```\nanchor: \u002Flib\u002Fx86_64-linux-gnu\u002Flibc.so.6: version `GLIBC_2.39' not found (required by anchor)\n```\n\n**Cause:** Anchor 0.31+ binaries are built on newer Linux and require GLIBC ≥2.38. Anchor 0.32+ requires ≥2.39.\n\n**Solutions (pick one):**\n1. **Upgrade OS** (best): Ubuntu 24.04+ has GLIBC 2.39\n2. **Build from source:**\n   ```bash\n   # For Anchor 1.2.x (current):\n   cargo install --git https:\u002F\u002Fgithub.com\u002Fotter-sec\u002Fanchor --tag v1.2.1 anchor-cli\n\n   # For Anchor 0.31.x:\n   cargo install --git https:\u002F\u002Fgithub.com\u002Fotter-sec\u002Fanchor --tag v0.31.2 anchor-cli\n\n   # For Anchor 0.32.x:\n   cargo install --git https:\u002F\u002Fgithub.com\u002Fotter-sec\u002Fanchor --tag v0.32.2 anchor-cli\n   ```\n3. **Use Docker:**\n   ```bash\n   docker run -v $(pwd):\u002Fworkspace -w \u002Fworkspace solanafoundation\u002Fanchor:0.31.1 anchor build\n   ```\n4. **Use AVM with source build:**\n   ```bash\n   avm install 0.31.1 --from-source\n   ```\n\n---\n\n## Rust \u002F Cargo Errors\n\n### `anchor-cli` fails to install with Rust 1.80 (`time` crate issue)\n```\nerror[E0635]: unknown feature `proc_macro_span_shrink`\n --> .cargo\u002Fregistry\u002Fsrc\u002F...\u002Ftime-macros-0.2.16\u002Fsrc\u002Flib.rs\n```\n\n**Cause:** Anchor 0.30.x uses a `time` crate version incompatible with Rust ≥1.80 ([anchor#3143](https:\u002F\u002Fgithub.com\u002Fcoral-xyz\u002Fanchor\u002Fpull\u002F3143)).\n\n**Solutions:**\n1. **Use AVM** — it auto-selects `rustc 1.79.0` for Anchor \u003C 0.31 ([anchor#3315](https:\u002F\u002Fgithub.com\u002Fcoral-xyz\u002Fanchor\u002Fpull\u002F3315))\n2. **Pin Rust version:**\n   ```bash\n   rustup install 1.79.0\n   rustup default 1.79.0\n   cargo install --git https:\u002F\u002Fgithub.com\u002Fcoral-xyz\u002Fanchor --tag v0.30.1 anchor-cli --locked\n   ```\n3. **Upgrade to Anchor 0.31+** which fixes this issue\n\n### `unexpected_cfgs` warnings flooding build output\n```\nwarning: unexpected `cfg` condition name: `feature`\n```\n\n**Cause:** Newer Rust versions (1.80+) are stricter about `cfg` conditions.\n\n**Solution:** Add to your program's `Cargo.toml`:\n```toml\n[lints.rust]\nunexpected_cfgs = { level = \"allow\" }\n```\nOr upgrade to Anchor 0.31+ which handles this.\n\n### `error[E0603]: module inner is private`\n**Cause:** Version mismatch between `anchor-lang` crate and Anchor CLI.\n\n**Solution:** Ensure `anchor-lang` in Cargo.toml matches your `anchor --version`.\n\n---\n\n## Build Errors\n\n### `cargo build-sbf` not found\n```\nerror: no such command: `build-sbf`\n```\n\n**Cause:** Solana CLI not installed, or PATH not set.\n\n**Solutions:**\n1. Install Solana CLI: `sh -c \"$(curl -sSfL https:\u002F\u002Frelease.anza.xyz\u002Fstable\u002Finstall)\"`\n2. Add to PATH: `export PATH=\"$HOME\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Factive_release\u002Fbin:$PATH\"`\n3. Verify: `solana --version`\n\n### `cargo build-bpf` is deprecated\n```\nWarning: cargo-build-bpf is deprecated. Use cargo-build-sbf instead.\n```\n\n**Cause:** As of Anchor 0.30.0, `cargo build-sbf` is the default. BPF target is deprecated in favor of SBF.\n\n**Solution:** This is just a warning if you're using older tooling. Anchor 0.30+ handles this automatically. If calling manually, use `cargo build-sbf`.\n\n### Platform tools download failure\n```\nError: Failed to download platform-tools\n```\nor\n```\nerror: could not compile `solana-program`\n```\n\n**Solutions:**\n1. **Clear cache and retry:**\n   ```bash\n   rm -rf ~\u002F.cache\u002Fsolana\u002F\n   cargo build-sbf\n   ```\n2. **Manual platform tools install:**\n   ```bash\n   # Check which version you need\n   solana --version\n   # Download manually from:\n   # https:\u002F\u002Fgithub.com\u002Fanza-xyz\u002Fplatform-tools\u002Freleases\n   ```\n3. **Check disk space** (see \"No space left\" error below)\n\n### `anchor build` IDL generation fails\n```\nError: IDL build failed\n```\nor\n```\nBPF SDK: \u002Fhome\u002Fuser\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Freleases\u002F2.1.7\u002Fsolana-release\u002Fbin\u002Fsdk\u002Fsbf\nError: Function _ZN5anchor...\n```\n\n**Solutions:**\n1. **Ensure `idl-build` feature is enabled (required since 0.30.0):**\n   ```toml\n   [features]\n   default = []\n   idl-build = [\"anchor-lang\u002Fidl-build\", \"anchor-spl\u002Fidl-build\"]\n   ```\n2. **Set ANCHOR_LOG for debugging:**\n   ```bash\n   ANCHOR_LOG=1 anchor build\n   ```\n3. **Skip IDL generation:**\n   ```bash\n   anchor build --no-idl\n   ```\n4. **Check for nightly Rust interference:**\n   ```bash\n   # IDL generation uses proc-macro2 which may need nightly features\n   # Override with stable:\n   RUSTUP_TOOLCHAIN=stable anchor build\n   ```\n\n### `anchor build` error with `proc_macro2` \u002F `local_file` method not found\n```\nerror[E0599]: no method named `local_file` found for struct `proc_macro2::Span`\n```\n\n**Cause:** proc-macro2 API change in newer nightly Rust.\n\n**Solutions:**\n1. Upgrade to Anchor 0.31.1+ (fixed in [#3663](https:\u002F\u002Fgithub.com\u002Fotter-sec\u002Fanchor\u002Fpull\u002F3663))\n2. Use stable Rust: `RUSTUP_TOOLCHAIN=stable anchor build`\n3. Pin proc-macro2: `cargo update -p proc-macro2 --precise 1.0.86`\n\n---\n\n## Installation Errors\n\n### `No space left on device` during Solana install\n```\nerror: No space left on device (os error 28)\n```\n\n**Cause:** Solana CLI + platform tools can use 2-5 GB. Multiple versions compound this.\n\n**Solutions:**\n1. **Clean old versions:**\n   ```bash\n   # List installed versions\n   ls ~\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Freleases\u002F\n   \n   # Remove old ones (keep only what you need)\n   rm -rf ~\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Freleases\u002F1.16.*\n   rm -rf ~\u002F.local\u002Fshare\u002Fsolana\u002Finstall\u002Freleases\u002F1.17.*\n   \n   # Also clean cache\n   rm -rf ~\u002F.cache\u002Fsolana\u002F\n   ```\n2. **Clean Cargo\u002FRust caches:**\n   ```bash\n   cargo cache --autoclean  # if cargo-cache is installed\n   # or manually:\n   rm -rf ~\u002F.cargo\u002Fregistry\u002Fcache\u002F\n   rm -rf target\u002F\n   ```\n3. **Clean AVM:**\n   ```bash\n   ls ~\u002F.avm\u002Fbin\u002F\n   # Remove unused anchor versions\n   ```\n\n### `agave-install` not found\n```\nerror: agave-install: command not found\n```\n\n**Cause:** Anchor CLI 0.31+ migrates to `agave-install` for Solana versions ≥1.18.19.\n\n**Solution:** Install via the Solana install script (which installs both):\n```bash\nsh -c \"$(curl -sSfL https:\u002F\u002Frelease.anza.xyz\u002Fstable\u002Finstall)\"\n```\n\n---\n\n## Testing Errors\n\n### `solana-test-validator` crashes or hangs\n```\nError: failed to start validator\n```\n\n**Solutions:**\n1. **Kill existing validators:**\n   ```bash\n   pkill -f solana-test-validator\n   # or\n   solana-test-validator --kill\n   ```\n2. **Clean ledger:**\n   ```bash\n   rm -rf test-ledger\u002F\n   ```\n3. **Check port availability:**\n   ```bash\n   lsof -i :8899  # RPC port\n   lsof -i :8900  # Websocket port\n   ```\n4. **Consider Surfpool** as a modern alternative to `solana-test-validator`:\n   ```bash\n   curl -sL https:\u002F\u002Frun.surfpool.run\u002F | bash\n   ```\n\n### Anchor test fails with `Connection refused` \u002F IPv6 issue\n```\nError: connect ECONNREFUSED ::1:8899\n```\n\n**Cause:** Node.js 17+ resolves `localhost` to IPv6 `::1` by default, but `solana-test-validator` binds to `127.0.0.1`.\n\n**Solutions:**\n1. **Use Anchor 0.30+** which defaults to `127.0.0.1` instead of `localhost`\n2. **Set NODE_OPTIONS:**\n   ```bash\n   NODE_OPTIONS=\"--dns-result-order=ipv4first\" anchor test\n   ```\n3. **Edit Anchor.toml:**\n   ```toml\n   [provider]\n   cluster = \"http:\u002F\u002F127.0.0.1:8899\"\n   ```\n\n---\n\n## Anchor Version Migration Issues\n\n### Anchor 0.29 → 0.30 Migration Errors\n\n**`accounts` method type errors in TypeScript:**\n```\nArgument of type '{ ... }' is not assignable to parameter of type 'ResolvedAccounts\u003C...>'\n```\n\n**Solution:** Change `.accounts({...})` to `.accountsPartial({...})` or remove auto-resolved accounts from the call.\n\n**Missing `idl-build` feature:**\n```\nError: `idl-build` feature is missing\n```\n\n**Solution:** Add to each program's Cargo.toml:\n```toml\n[features]\nidl-build = [\"anchor-lang\u002Fidl-build\"]\n```\n\n**`overflow-checks` not specified:**\n```\nError: overflow-checks must be specified in workspace Cargo.toml\n```\n\n**Solution:** Add to workspace `Cargo.toml`:\n```toml\n[profile.release]\noverflow-checks = true\n```\n\n### Anchor 0.30 → 0.31 Migration Errors\n\n**Solana v1 → v2 crate conflicts:**\n```\nerror[E0308]: mismatched types\nexpected `solana_program::pubkey::Pubkey`\nfound `solana_sdk::pubkey::Pubkey`\n```\n\n**Solution:** Remove direct `solana-program` and `solana-sdk` dependencies. Use them through `anchor-lang`:\n```rust\nuse anchor_lang::prelude::*;\n\u002F\u002F NOT: use solana_program::pubkey::Pubkey;\n```\n\n**`Discriminator` trait changes:**\n```\nerror[E0277]: the trait bound `MyAccount: Discriminator` is not satisfied\n```\n\n**Solution:** Ensure you derive `#[account]` on your structs. The discriminator is now dynamically sized.\n\n### Anchor 0.31 → 0.32 Migration Errors\n\n**`solana-program` dependency warning becomes error:**\nAnchor 0.32 fully removes `solana-program` as a dependency. If your code imports from `solana_program::*`, change to the smaller crates:\n```rust\n\u002F\u002F Before (0.31):\nuse solana_program::pubkey::Pubkey;\n\n\u002F\u002F After (0.32):\nuse solana_pubkey::Pubkey;\n\u002F\u002F Or use anchor's re-export:\nuse anchor_lang::prelude::*;\n```\n\n**Duplicate mutable accounts error:**\n```\nError: Duplicate mutable account\n```\nAnchor 0.32+ disallows duplicate mutable accounts by default. Use the `dup` constraint:\n```rust\n#[derive(Accounts)]\npub struct MyInstruction\u003C'info> {\n    #[account(mut)]\n    pub account_a: Account\u003C'info, MyAccount>,\n    #[account(mut, dup = account_a)]\n    pub account_b: Account\u003C'info, MyAccount>,\n}\n```\n\n---\n\n## Miscellaneous Errors\n\n### `solana airdrop` fails\n```\nError: airdrop request failed\n```\n\n**Cause:** Rate limiting on devnet\u002Ftestnet.\n\n**Solutions:**\n1. Wait and retry\n2. Use the web faucet: https:\u002F\u002Ffaucet.solana.com\n3. For testing, use localnet where airdrops are unlimited\n\n### Anchor IDL account authority mismatch\n```\nError: Authority did not sign\n```\n\n**Solution:** The IDL authority is the program's upgrade authority. Check with:\n```bash\nsolana program show \u003CPROGRAM_ID>\n```\n\n### `declare_program!` not finding IDL file\n```\nError: file not found: idls\u002Fmy_program.json\n```\n\n**Solution:** Place the IDL JSON in the `idls\u002F` directory at the workspace root. The filename must match the program name (snake_case):\n```\nworkspace\u002F\n├── idls\u002F\n│   └── my_program.json\n├── programs\u002F\n│   └── my_program\u002F\n└── Anchor.toml\n```\n\n---\n\n## Transaction v1 Errors\n\nFull reference: [transactions-v1.md](.\u002Ftransactions-v1.md).\n\n### `MaxLoadedAccountsDataSizeExceeded` on a v1 transaction\n\n```\nTransaction failed: MaxLoadedAccountsDataSizeExceeded\n```\n\n**Cause:** Unset fields in a v1 `TransactionConfig` budget **zero**, not a runtime default. A v1 transaction with an empty config fails at account loading. Only `heapSize` falls back (32 KiB).\n\n**Fix:** Set `computeUnitLimit` and `loadedAccountsDataSizeLimit` explicitly, or measure them by simulation:\n\n```ts\nconst estimateResourceLimits = estimateResourceLimitsFactory({ rpc });\nconst message = await estimateAndSetResourceLimitsFactory(estimateResourceLimits)(\n  fillTransactionMessageProvisoryResourceLimits(draft),\n);\n```\n\nThe estimate is the exact cost of one simulated run with no margin. Add headroom and round the data size up to the next 32 KiB page — an account created between simulation and send jumps from 0 to at least 64 bytes.\n\n### JSON-RPC error `-32015` \u002F \"Transaction version (1) is not supported\"\n\n**Cause:** `maxSupportedTransactionVersion` is absent or set to `0` on `getTransaction`, `getBlock`, or `blockSubscribe`. The parameter is a ceiling, not a hint.\n\n**Fix:** Pass the JSON **integer** `1`. On `getBlock` this matters twice over — a single v1 transaction fails the *entire block*, with no partial result. `blockSubscribe` emits `block: null` and stops advancing.\n\n### `Version 1 transactions are not yet supported by rpcTransactionPlanner`\n\n**Cause:** `@solana\u002Fkit-plugin-rpc` ≤0.18. Those releases typed the `version: 1` planner config but threw at runtime; 0.19.0 plans v1 natively.\n\n**Fix:** `pnpm add @solana\u002Fkit@^8.3.0 @solana\u002Fkit-plugin-rpc@^0.19.0 @solana\u002Fkit-plugin-signer@^0.19.0`, then `solanaRpc({ rpcUrl, transactionConfig: { version: 1 } })`.\n\n### Wallet rejects the transaction after upgrading to v1\n\n**Cause:** The connected wallet has not shipped v1 support, so it refuses to sign a message with version byte `0x81`.\n\n**Fix:** Check `connected.supportedTransactionVersions.has(1)` (from `client.wallet.getState()` or `useConnectedWallet`) before sending, and route those users through a `version: 0` client. See [transactions-v1.md](.\u002Ftransactions-v1.md#wallets).\n\n### `createTransactionMessage({ version: 1 })` is a type error\n\n**Cause:** `@solana\u002Fkit` 7.x carries the v1 codecs, config setters, and `maxSupportedTransactionVersion: 1`, but 8.0.0 is the first release whose types accept the v1 builder.\n\n**Fix:** `pnpm add @solana\u002Fkit@^8.0.0`.\n\n### Priority fee or compute unit limit reads as 0 in an indexer\n\n**Cause:** Deriving the budget by scanning instructions for the ComputeBudget program. On v1 those values live in the message config, so the scan finds nothing and reports zero **without erroring**. Over gRPC there is no version gate at all, so nothing signals the problem.\n\n**Fix:** Read `transactionConfig` (JSON-RPC) or `Message.config` (gRPC). Discriminate on `config` presence, never on the `versioned` boolean — it is `true` for both v0 and v1. Bump `yellowstone-grpc-proto` to 12.6.0+, the geyser plugin to 15.1.1+, or `@triton-one\u002Fyellowstone-grpc` to 6.0.0+; older stubs drop field 7 silently.\n\n---\n\n## LiteSVM Errors\n\n### `undefined symbol: __isoc23_strtol` (litesvm native binary)\n```\nError: Cannot find native binding.\ncause: litesvm.linux-x64-gnu.node: undefined symbol: __isoc23_strtol\n```\n\n**Root cause:** the old LiteSVM 0.5.0 npm binary was compiled against GLIBC 2.38+. The `__isoc23_strtol` symbol was introduced in GLIBC 2.38 (C23 standard functions), so systems with GLIBC \u003C 2.38 (Ubuntu 22.04, Debian 12, etc.) could not load it.\n\n**Verified on:** Debian 12 (GLIBC 2.36) with `litesvm` 0.5.0 — Jan 2026\n\n**Solutions:**\n1. **Upgrade `litesvm`** to the current 1.x (1.6.0 as of Oct 2026). Its gnu binaries are cross-built on Ubuntu 22.04 runners, and musl builds (`litesvm-linux-{x64,arm64}-musl`) ship alongside them. Delete `node_modules` and the lockfile entry so the right optional binary is installed.\n2. **Use Docker:**\n   ```dockerfile\n   FROM ubuntu:24.04\n   RUN apt-get update && apt-get install -y nodejs npm\n   ```\n3. **Upgrade the OS** to Ubuntu 24.04+ or Debian 13+.\n\nDo not switch to `solana-bankrun`: it is deprecated in favor of LiteSVM.\n\n### `Cannot find module '.\u002Flitesvm.linux-x64-gnu.node'`\n```\nError: Cannot find module '.\u002Flitesvm.linux-x64-gnu.node'\n```\n\n**Root cause:** pnpm hoisting doesn't always correctly link native optional dependencies for native Node addons.\n\n**Solutions:**\n1. Delete `node_modules` and reinstall: `rm -rf node_modules && pnpm install`\n2. Use `node-linker=hoisted` in `.npmrc`:\n   ```\n   node-linker=hoisted\n   ```\n3. Install the platform-specific package explicitly:\n   ```bash\n   pnpm add -D litesvm-linux-x64-gnu\n   ```\n\n---\n\n## Platform Tools Errors\n\n### `The Solana toolchain is corrupted` after fresh install\n```\n[ERROR cargo_build_sbf] The Solana toolchain is corrupted. Please, run cargo-build-sbf with the --force-tools-install argument to fix it.\n```\n\n**Root cause:** Solana CLI 2.2.x downloads platform-tools v1.48 (~516MB compressed, ~2GB extracted). On systems with limited root partition space (\u003C3GB free in `~\u002F.cache\u002Fsolana\u002F`), extraction can fail silently, leaving a corrupted toolchain (e.g., `rust\u002F` directory missing `rustc` binary).\n\n**Verified on:** Debian 12, Solana CLI 2.2.16, root partition 9.7GB with 2.1GB free — Jan 2026\n\n**Solutions:**\n1. **Run with `--force-tools-install`:**\n   ```bash\n   cargo build-sbf --force-tools-install\n   ```\n   This re-downloads and re-extracts. Takes 5-10 minutes on average connections.\n\n2. **Ensure sufficient disk space** (~3GB free needed on partition containing `~\u002F.cache\u002Fsolana\u002F`):\n   ```bash\n   df -h ~\u002F.cache\u002Fsolana\u002F\n   # If too small, symlink to bigger disk:\n   rm -rf ~\u002F.cache\u002Fsolana\u002Fv1.48\u002Fplatform-tools\n   mkdir -p \u002Fmnt\u002Fdata\u002Fsolana-cache\u002Fv1.48\u002Fplatform-tools\n   ln -sf \u002Fmnt\u002Fdata\u002Fsolana-cache\u002Fv1.48\u002Fplatform-tools ~\u002F.cache\u002Fsolana\u002Fv1.48\u002Fplatform-tools\n   ```\n\n3. **Manual extraction** (if `--force-tools-install` keeps cycling):\n   ```bash\n   # Download manually\n   wget https:\u002F\u002Fgithub.com\u002Fanza-xyz\u002Fplatform-tools\u002Freleases\u002Fdownload\u002Fv1.48\u002Fplatform-tools-linux-x86_64.tar.bz2\n   # Extract to a disk with space\n   mkdir -p \u002Fmnt\u002Fdata\u002Fsolana-platform-tools\u002Fv1.48\n   cd \u002Fmnt\u002Fdata\u002Fsolana-platform-tools\u002Fv1.48\n   tar xjf \u002Fpath\u002Fto\u002Fplatform-tools-linux-x86_64.tar.bz2\n   # Symlink\n   ln -sf \u002Fmnt\u002Fdata\u002Fsolana-platform-tools\u002Fv1.48 ~\u002F.cache\u002Fsolana\u002Fv1.48\u002Fplatform-tools\n   ```\n\n**Note:** The `version.md` file is the last file extracted. Its presence confirms successful extraction.\n\n### Anchor CLI version mismatch warnings (non-fatal)\n```\nWARNING: `anchor-lang` version(0.32.1) and the current CLI version(0.30.1) don't match.\nWARNING: `@coral-xyz\u002Fanchor` version(^0.32.1) and the current CLI version(0.30.1) don't match.\n```\n\n**Root cause:** Using Anchor CLI 0.30.1 with `anchor-lang = \"0.32.1\"` in Cargo.toml. The build **succeeds** but prints warnings.\n\n**Verified on:** Debian 12, Anchor CLI 0.30.1 building anchor-lang 0.32.1 — builds and generates IDL correctly — Jan 2026\n\n**Impact:** Builds work. IDL generation works. But subtle runtime issues may occur with IDL format differences between 0.30 and 0.32.\n\n**Solutions:**\n1. **Match versions** (recommended):\n   ```toml\n   # Anchor.toml\n   [toolchain]\n   anchor_version = \"0.32.1\"\n   ```\n   Then install matching CLI: `avm install 0.32.1`\n2. **Or downgrade crate:** Change `anchor-lang = \"0.30.1\"` in Cargo.toml\n3. **Ignore if just building:** The mismatch is cosmetic for `anchor build` and `anchor idl build`\n\n---\n\n## edition2024 Crate Incompatibility (Cargo 1.84.0)\n\n### `feature edition2024 is required` during `cargo build-sbf`\n```\nerror: failed to download `constant_time_eq v0.4.2`\n\nCaused by:\n  failed to parse manifest at `...\u002Fconstant_time_eq-0.4.2\u002FCargo.toml`\n\nCaused by:\n  feature `edition2024` is required\n\n  The package requires the Cargo feature called `edition2024`, but that feature is not\n  stabilized in this version of Cargo (1.84.0 (12fe57a9d 2025-04-07)).\n```\n\n**Root cause:** Platform-tools v1.48 (used by Solana CLI 2.2.16 and CI with Solana stable 3.0.14) bundles `cargo 1.84.0` (Solana Rust fork), which does **not** support `edition = \"2024\"`. Multiple crates in the Solana dependency tree have released versions requiring edition2024.\n\n### ⚠️ Known edition2024 Crates (Updated Jan 31, 2026)\n\n| Crate | Breaking Version | Safe Version | Pulled By |\n|---|---|---|---|\n| `blake3` | ≥1.8.3 | **1.8.2** | `solana-blake3-hasher` → `solana-program` |\n| `constant_time_eq` | ≥0.4.2 | **0.3.1** | `blake3` |\n| `base64ct` | ≥1.8.3 | **1.7.3** | `pkcs8`, `spki` → various crypto crates |\n| `indexmap` | ≥2.13.0 | **2.11.4** | `toml_edit` → `proc-macro-crate` → `borsh-derive` → `anchor-lang` |\n\n**New crates may ship edition2024 at any time.** If you see this error with a crate not listed above, pin it to the previous version.\n\n**Why existing repos break:** Projects without a `Cargo.lock` (or with a stale one) resolve to the latest crate versions at build time, pulling in edition2024-requiring releases. This is especially common in CI environments.\n\n**Verified on:**\n- Debian 12, Solana CLI 2.2.16, platform-tools v1.48 — Jan 30, 2026\n- GitHub Actions (ubuntu-latest), Solana stable 3.0.14, Cargo 1.84.0 — Jan 31, 2026\n\n### Solutions\n\n**1. Pin all known problematic crates (recommended for CI):**\n```bash\ncargo generate-lockfile\ncargo update -p blake3 --precise 1.8.2\ncargo update -p constant_time_eq --precise 0.3.1\ncargo update -p base64ct --precise 1.7.3\ncargo update -p indexmap --precise 2.11.4\n```\n\n**2. Pin via workspace Cargo.toml:**\n```toml\n# In workspace Cargo.toml\n[workspace.dependencies]\nblake3 = \"=1.8.2\"\nbase64ct = \"=1.7.3\"\n```\n\n**3. Always commit Cargo.lock for programs and Anchor projects:**\n```bash\n# Force-add if .gitignore excludes it\ngit add -f Cargo.lock\n```\nThis is the single most effective prevention — a committed lockfile prevents cargo from resolving to newer breaking versions.\n\n**4. For monorepos with per-project Cargo.lock files (e.g., program-examples):**\nEach Anchor project that has its own `Cargo.toml` outside the workspace needs its own `Cargo.lock`. Generate and pin for each:\n```bash\nfor dir in $(find . -path \"*\u002Fanchor\u002FCargo.toml\" -exec dirname {} \\;); do\n  cd \"$dir\"\n  cargo generate-lockfile\n  cargo update -p blake3 --precise 1.8.2 2>\u002Fdev\u002Fnull\n  cargo update -p constant_time_eq --precise 0.3.1 2>\u002Fdev\u002Fnull\n  cargo update -p base64ct --precise 1.7.3 2>\u002Fdev\u002Fnull\n  cargo update -p indexmap --precise 2.11.4 2>\u002Fdev\u002Fnull\n  cd -\ndone\ngit add -f **\u002FCargo.lock\n```\n\n**5. Wait for platform-tools update** — a future platform-tools version will ship a cargo that supports edition2024. Track at [anza-xyz\u002Fplatform-tools](https:\u002F\u002Fgithub.com\u002Fanza-xyz\u002Fplatform-tools\u002Freleases).\n\n### `Could not find specification for target \"sbpf-solana-solana\"` with `--tools-version`\n```\nerror: Error loading target specification: Could not find specification for target \"sbpf-solana-solana\".\nRun `rustc --print target-list` for a list of built-in targets\n```\n\n**Root cause:** Using `cargo build-sbf --tools-version v1.43` with Solana CLI 2.2.16. The CLI generates `--target sbpf-solana-solana` but platform-tools v1.43 only knows older target triples (e.g., `sbf-solana-solana`). The SBPF target rename happened between v1.43 and v1.48.\n\n**Verified on:** Debian 12, Solana CLI 2.2.16 — Jan 30, 2026\n\n**Solution:** Don't downgrade platform-tools below your CLI's default version. Use the default tools version (v1.48 for CLI 2.2.16).\n\n---\n\n## Verified Test Results (Debian 12, Jan 2026)\n\nEnvironment: Rust 1.93, Solana CLI 2.2.16, Anchor CLI 0.30.1, Node 22.22.0, GLIBC 2.36\n\n| Test | Command | Result | Notes |\n|------|---------|--------|-------|\n| Anchor CLI\u002Fcrate mismatch | `anchor build` (CLI 0.30.1 \u002F anchor-lang 0.32.1) | ⚠️ PASS with warnings | Builds succeed; prints version mismatch warnings |\n| cargo build-sbf (native) | `cargo build-sbf` on hello-solana, counter, transfer-sol, create-account, checking-accounts | ✅ PASS | All build after platform-tools v1.48 installed correctly |\n| solana-bankrun (GLIBC 2.36) | `npm install solana-bankrun && require('solana-bankrun')` | ✅ PASS | `start` function available, works on GLIBC 2.36 |\n| litesvm npm (GLIBC 2.36) | `npm install litesvm && require('litesvm')` | ❌ FAIL | `undefined symbol: __isoc23_strtol` — requires GLIBC ≥2.38 |\n| @solana\u002Fweb3.js CJS | `require('@solana\u002Fweb3.js')` | ✅ PASS | Keypair, Connection etc. available |\n| @solana\u002Fweb3.js ESM | `import * as web3 from '@solana\u002Fweb3.js'` | ✅ PASS | Full ESM support on Node 22 |\n| @solana\u002Fkit ESM | `import('@solana\u002Fkit')` | ✅ PASS | ESM-only, works on Node 22 |\n| @coral-xyz\u002Fanchor CJS | `require('@coral-xyz\u002Fanchor')` | ✅ PASS | Program, Provider etc. available |\n| @coral-xyz\u002Fanchor ESM | `import * as anchor from '@coral-xyz\u002Fanchor'` | ✅ PASS | Full ESM support on Node 22 |\n| IDL generation | `anchor idl build` (from program dir) | ✅ PASS | Generates valid JSON IDL with CLI 0.30.1 |\n| Cargo duplicate deps | `cargo tree -d` on program-examples | ⚠️ INFO | 2295 lines of duplicate deps (ahash, base64, borsh, curve25519-dalek, ed25519-dalek, etc.) — normal for Solana workspace |\n| Platform tools corruption | `cargo build-sbf` on fresh install | ❌ FAIL then PASS | Initial corruption due to disk space; fixed with `--force-tools-install` on adequate disk |\n\n### Key Findings\n1. **litesvm 0.5.0 npm was broken on Debian 12** (GLIBC 2.36) — upgrade to litesvm 1.x, which ships cross-built gnu and musl binaries\n2. **solana-bankrun loaded** on GLIBC 2.36, but it is now deprecated — do not adopt it for new work\n3. **Platform-tools v1.48 needs ~2GB disk** for extraction — symlink `~\u002F.cache\u002Fsolana\u002F` to a larger partition if root is small\n4. **Anchor CLI 0.30.1 successfully builds anchor-lang 0.32.1** — warnings only, no errors\n5. **Node 22 has full ESM+CJS support** for all Solana JS packages tested\n6. **Cargo duplicate dependencies are normal** in Solana monorepos (borsh 0.9\u002F0.10\u002F1.x, curve25519-dalek 3.x\u002F4.x, etc.)\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"source":26,"version":27,"category":28},"Solana Foundation","https:\u002F\u002Fgithub.com\u002Fsolana-foundation\u002Fsolana-dev-skill","2.7.0","Reference","main","1c523aba5cdf867a79f078847075492d7778092a","skills\u002Fsolana-foundation\u002Fcommon-errors",1,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002Fthemusebook","https:\u002F\u002Fmusebook.trade","The official Github of musebook","2026-11-02 23:42:26",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add themusebook\u002Fskills --skill solana-dev-common-errors",{"tool":45,"command":46},"bunx","bunx skills add themusebook\u002Fskills --skill solana-dev-common-errors",{"tool":48,"command":49},"pnpm","pnpm dlx skills add themusebook\u002Fskills --skill solana-dev-common-errors","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsolana-foundation\u002Fcommon-errors\u002FSKILL.md",true,[],[54,62,69,76,83,90],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7AB34SPKVSDRRG009PM1CZH","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7AB18BH6N7KR7939HRNWVMQ","viem-integration","Integrate EVM blockchains using viem. Use when user says \"read blockchain data\", \"send transaction\", \"interact with smart contract\", \"connect to Ethereum\", \"use viem\", \"use wagmi\", \"wallet integration\", \"viem setup\", or mentions blockchain\u002FEVM development with TypeScript.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fviem-integration\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7AB12GHGP48WCNXDQQ9222H","v4-security-foundations","Security-first Uniswap v4 hook development. Use when user mentions \"v4 hooks\", \"hook security\", \"PoolManager\", \"beforeSwap\", \"afterSwap\", or asks about V4 hook best practices, vulnerabilities, or audit requirements.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-security-foundations\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7AB0XM3PSR7V3Q2ZRR0Q0FB","v4-sdk-integration","App-layer SDK guide for building swap and liquidity experiences directly with the Uniswap v4 SDK. Use when user asks about \"v4 sdk\", \"uniswap v4\", \"v4 swap\", \"v4 liquidity\", \"PoolManager\", \"V4Planner\", \"StateView\", \"PositionManager\", \"pool state\", \"v4 position\", \"uniswap sdk\", or when building swap\u002Fliquidity UX directly with SDKs rather than via the Trading API.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-sdk-integration\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7AB0SGA93ASA588DJW4P9WT","v4-hook-generator","Generate Uniswap v4 hook contracts via OpenZeppelin MCP. Use when building custom swap logic, async swaps, hook-owned liquidity, custom curves, dynamic fees, MEV protection, limit orders, or oracle hooks.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-hook-generator\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7AAZYH75H4CS03WSW2EZ8DM","testing","For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002FSKILL.md",[],[]]