Closed amilz closed 6 months ago
Adds support for --deactivate-feature flag to the solana-test-validator config in Anchor.toml. User must pass an array of feature pubkeys.
--deactivate-feature
solana-test-validator
Example Anchor.toml
[test.validator] bind_address = "0.0.0.0" url = "https://api.mainnet-beta.solana.com" ledger = ".anchor/test-ledger" rpc_port = 8899 slots_per_epoch = "32" warp_slot = "18464" deactivate_feature = ["GDH5TVdbTPUpRnXaRyQqiKUa7uZAbZ28Q2N9bhbKoMLm", "zkiTNuzBKxrCLMKehzuQeKZyLtX2yvFcEKMML8nExU8"]
After local validator is running you can run solana feature status -ul to check that features are deactivated.
solana feature status -ul
deactivate_feature
validator_flags
Fixes #2871
@amilz is attempting to deploy a commit to the coral-xyz Team on Vercel.
A member of the Team first needs to authorize it.
Adds support for
--deactivate-feature
flag to thesolana-test-validator
config in Anchor.toml. User must pass an array of feature pubkeys.Example Anchor.toml
After local validator is running you can run
solana feature status -ul
to check that features are deactivated.Changes
deactivate_feature
to Validator struct and relevant impls in CLI configdeactivate_feature
invalidator_flags
functionFixes #2871
Ref