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

fix: mark deploy::wasm::Cmd fields as public #1366

Merged
merged 2 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cmd/soroban-cli/src/commands/contract/bindings/typescript.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ pub struct Cmd {
pub wasm: Option<std::path::PathBuf>,
/// Where to place generated project
#[arg(long)]
output_dir: PathBuf,
pub output_dir: PathBuf,
/// Whether to overwrite output directory if it already exists
#[arg(long)]
overwrite: bool,
pub overwrite: bool,
/// The contract ID/address on the network
#[arg(long, visible_alias = "id")]
contract_id: String,
pub contract_id: String,
#[command(flatten)]
locator: locator::Args,
pub locator: locator::Args,
#[command(flatten)]
network: network::Args,
pub network: network::Args,
}

#[derive(thiserror::Error, Debug)]
Expand Down
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
Loading