Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Jul 26, 2024
1 parent 05918c1 commit 9448238
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions check/src/activate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@ pub async fn activate_program(cfg: &ActivateConfig) -> Result<()> {
"obtained estimated activation data fee {}",
format_units(data_fee, "ether")?.debug_lavender()
);
if let Some(bump_percent) = cfg.data_fee_bump_percent {
greyln!(
"bumping estimated activation data fee by {}%",
bump_percent.debug_lavender()
);
data_fee = bump_data_fee(data_fee, bump_percent);
}
greyln!(
"bumping estimated activation data fee by {}%",
cfg.data_fee_bump_percent.debug_lavender()
);
data_fee = bump_data_fee(data_fee, cfg.data_fee_bump_percent);

let program: Address = cfg.address.to_fixed_bytes().into();
let data = ArbWasm::activateProgramCall { program }.abi_encode();
Expand Down

0 comments on commit 9448238

Please sign in to comment.