Skip to content

Commit

Permalink
creation fee
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswanson-dfinity committed Sep 27, 2023
1 parent a1bdeea commit 577f0e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ref-tests/tests/ic-ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,9 @@ mod management_canister {

let args = Argument::from_candid((create_args,));

let creation_fee = 8000000000;
let (create_result,): (CreateResult,) = wallet
.call(Principal::management_canister(), "create_canister", args, 0)
.call(Principal::management_canister(), "create_canister", args, creation_fee)
.call_and_wait()
.await?;
let canister_id = create_result.canister_id;
Expand Down

0 comments on commit 577f0e6

Please sign in to comment.