Skip to content

Commit

Permalink
Unhides --accounts-db-access-storages-method (solana-labs#3588)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Nov 13, 2024
1 parent 3fce80f commit 73f94d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Release channels have their own copy of this changelog:
* Changes
* CLI:
* Add global `--skip-preflight` option for skipping preflight checks on all transactions sent through RPC. This flag, along with `--use-rpc`, can improve success rate with program deployments using the public RPC nodes.
* Unhide `--accounts-db-access-storages-method` for agave-validator and agave-ledger-tool

## [2.1.0]
* Breaking:
Expand Down
3 changes: 1 addition & 2 deletions ledger-tool/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ pub fn accounts_db_args<'a, 'b>() -> Box<[Arg<'a, 'b>]> {
.value_name("METHOD")
.takes_value(true)
.possible_values(&["mmap", "file"])
.help("Access account storage using this method")
.hidden(hidden_unless_forced()),
.help("Access account storages using this method"),
Arg::with_name("accounts_db_experimental_accumulator_hash")
.long("accounts-db-experimental-accumulator-hash")
.help("Enables the experimental accumulator hash")
Expand Down
3 changes: 1 addition & 2 deletions validator/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1358,8 +1358,7 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
.value_name("METHOD")
.takes_value(true)
.possible_values(&["mmap", "file"])
.help("Access account storage using this method")
.hidden(hidden_unless_forced()),
.help("Access account storages using this method")
)
.arg(
Arg::with_name("accounts_db_ancient_append_vecs")
Expand Down

0 comments on commit 73f94d5

Please sign in to comment.