Skip to content

Commit

Permalink
feat: make persistent the default storage type
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jan 25, 2024
1 parent 78a019a commit 2af47af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub struct Args {
)]
pub wasm_hash: Option<String>,
/// Storage entry durability
#[arg(long, value_enum, required = true)]
#[arg(long, value_enum, required = true, default_value = "persistent")]
pub durability: Durability,
}

Expand Down
6 changes: 6 additions & 0 deletions docs/soroban-cli-full-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,8 @@ If no keys are specified the contract itself is extended.
* `--wasm-hash <WASM_HASH>` — Path to Wasm file of contract code to extend
* `--durability <DURABILITY>` — Storage entry durability

Default value: `persistent`

Possible values:
- `persistent`:
Persistent
Expand Down Expand Up @@ -810,6 +812,8 @@ Print the current value of a contract-data ledger entry
* `--wasm-hash <WASM_HASH>` — Path to Wasm file of contract code to extend
* `--durability <DURABILITY>` — Storage entry durability

Default value: `persistent`

Possible values:
- `persistent`:
Persistent
Expand Down Expand Up @@ -843,6 +847,8 @@ If no keys are specificed the contract itself is restored.
* `--wasm-hash <WASM_HASH>` — Path to Wasm file of contract code to extend
* `--durability <DURABILITY>` — Storage entry durability

Default value: `persistent`

Possible values:
- `persistent`:
Persistent
Expand Down

0 comments on commit 2af47af

Please sign in to comment.