Skip to content

Commit

Permalink
rusk: test adjustments for deployment and piecrust changes
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed Sep 6, 2024
1 parent 7a9a06e commit 104f9fc
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions rusk/tests/services/owner_calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn initial_state<P: AsRef<Path>>(
bob_bytecode,
ContractData::builder()
.owner(owner.as_ref())
.constructor_arg(&BOB_INIT_VALUE)
.init_arg(&BOB_INIT_VALUE)
.contract_id(gen_contract_id(&bob_bytecode, 0u64, owner)),
POINT_LIMIT,
)
Expand All @@ -74,9 +74,17 @@ fn initial_state<P: AsRef<Path>>(

let (sender, _) = broadcast::channel(10);

let rusk =
Rusk::new(dir, CHAIN_ID, None, None, BLOCK_GAS_LIMIT, u64::MAX, sender)
.expect("Instantiating rusk should succeed");
let rusk = Rusk::new(
dir,
CHAIN_ID,
None,
None,
None,
BLOCK_GAS_LIMIT,
u64::MAX,
sender,
)
.expect("Instantiating rusk should succeed");
Ok(rusk)
}

Expand Down

0 comments on commit 104f9fc

Please sign in to comment.