diff --git a/check/src/activate.rs b/check/src/activate.rs index d2014ec..cabc77f 100644 --- a/check/src/activate.rs +++ b/check/src/activate.rs @@ -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 diff --git a/check/src/main.rs b/check/src/main.rs index 8ea1bee..9270dcd 100644 --- a/check/src/main.rs +++ b/check/src/main.rs @@ -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, + /// 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)]