Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Test Validator Account Cloning #833

Closed
wants to merge 2 commits into from

Conversation

bonedaddy
Copy link
Contributor

Overview

Solves #533 by allowing one to specify a list of account addresses to clone from a specified cluster. As is this is a breaking change to the configuration file format. However the change allows for future additions to tweaking test validator behaviour without introducing breaking changes.

Example of an anchor config file using the changes included in this PR:

[test.genesis]
url = "https://api.mainnet-beta.solana.com"
[[test.genesis.programs]]
address = "9KEPoZmtHUrBbhWN1v1KWLMkkvwY6WLtAVUCPRtRjP4z"
program = "./deps/raydium/stake_program_v5.so"
[[test.genesis.accounts]]
address = "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
name = "USDC-TOKEN-MINT"

@armaniferrante
Copy link
Member

This was coincidentally addressed by #834. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants