Skip to content

Commit

Permalink
fix: mark deploy::wasm::Cmd fields as public
Browse files Browse the repository at this point in the history
This is currently unusable as a library because you either don't define
these fields, or get yelled at because you try to define private fields
  • Loading branch information
chadoh committed Jun 10, 2024
1 parent 9c6d23c commit fc3da16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/soroban-cli/src/commands/contract/deploy/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ use crate::{
pub struct Cmd {
/// WASM file to deploy
#[arg(long, group = "wasm_src")]
wasm: Option<std::path::PathBuf>,
pub wasm: Option<std::path::PathBuf>,
/// Hash of the already installed/deployed WASM file
#[arg(long = "wasm-hash", conflicts_with = "wasm", group = "wasm_src")]
wasm_hash: Option<String>,
pub wasm_hash: Option<String>,
/// Custom salt 32-byte salt for the token id
#[arg(
long,
help_heading = HEADING_RPC,
)]
salt: Option<String>,
pub salt: Option<String>,
#[command(flatten)]
config: config::Args,
pub config: config::Args,
#[command(flatten)]
pub fee: crate::fee::Args,
#[arg(long, short = 'i', default_value = "false")]
Expand Down

0 comments on commit fc3da16

Please sign in to comment.