I've downloaded and built the token 2022 program, and added to the Anchor.toml like this:
[[test.genesis]]
address = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
program = "spl_token_2022.so"
However, I'm now getting strange errors:
Instruction references an unknown account [xyz pubkey]...
An account required by the instruction is missing
and the account listed a) doesn't match up with anything I'm passing, and b) seems to change on each run.
Any thoughts? Thanks
solana program dump --url mainnet-beta TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA spl_token_2022.so