Expand description
Pump base mints we ship as cloned fixtures for local-validator tests.
clone_devnet_accounts walks this list and pulls each mint plus every
per-mint PDA the SDK touches (bonding curve, sharing/creator/v2 PDAs,
and — for graduated mints — the post-migration pump_amm Pool and
its base/quote/lp accounts). Tests under tests/ reference these by
name so the fixture set is the single source of truth.
Adding a new fixture: append a (label, base58_mint) entry below, run
cargo run --features local-validator --bin clone_devnet_accounts to
refresh artifacts/accounts_to_load.zst, then restart the local
validator.
Structs§
- Fixture
Mint - Stable label paired with each fixture mint. Cloning logs and test failure messages use the label so it’s obvious which fixture is involved when something breaks.
Constants§
- FIXTURE_
MINTS - All fixture mints in cloning order. New entries go at the end so the indices in any test that pins by index stay stable.
- GRADUATED_
DEVNET_ MINT - Devnet mint that has graduated from the bonding curve onto
pump_amm. Used by AMM buy/sell tests. - NOT_
GRADUATED_ DEVNET_ MINT - Devnet mint still on the bonding curve. Used by
buy_v2/sell_v2tests and by theAsyncPumpClientfetch tests.