Skip to content

Commit

Permalink
default
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Jul 26, 2024
1 parent dccff0a commit 05918c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions check/src/activate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ sol! {
}
}

/// Activates an already deployed Stylus program by address.
pub async fn activate_program(cfg: &ActivateConfig) -> Result<()> {
let provider = sys::new_provider(&cfg.common_cfg.endpoint)?;
let chain_id = provider
Expand Down
6 changes: 3 additions & 3 deletions check/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ pub struct ActivateConfig {
/// Deployed Stylus program address to activate.
#[arg(long)]
address: H160,
/// Percent to bump the estimated activation data fee by.
#[arg(long)]
data_fee_bump_percent: Option<u64>,
/// Percent to bump the estimated activation data fee by. Default of 20%
#[arg(long, default_value = "20")]
data_fee_bump_percent: u64,
}

#[derive(Args, Clone, Debug)]
Expand Down

0 comments on commit 05918c1

Please sign in to comment.