Skip to content

Commit

Permalink
update fee minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Apr 30, 2024
1 parent 4b03534 commit 731e8ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts_showcase/accesscontrol/interaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const web3Client: Client = await ClientFactory.createCustomClient(

// Send some coins to the user account
web3Client.wallet().sendTransaction({
fee: 0n,
fee: fromMAS(0.01),
amount: fromMAS(1),
recipientAddress: userAccount.address!,
});
Expand Down Expand Up @@ -177,7 +177,7 @@ const opId = await web3ClientUser.smartContracts().callSmartContract({
functionName: "changeAdmin",
parameter: new Args().addString(userAccount.address!),
maxGas: MAX_GAS_CALL,
fee: 0n,
fee: fromMAS(0.01),
});

const callEvents = await getEventsFromOp(opId);
Expand Down Expand Up @@ -222,7 +222,7 @@ const opId2 = await web3Client.smartContracts().callSmartContract({
functionName: "changeAdmin",
parameter: new Args().addString(userAccount.address!),
maxGas: MAX_GAS_CALL,
fee: 0n,
fee: fromMAS(0.01),
});

// Get the event for the call
Expand Down

0 comments on commit 731e8ec

Please sign in to comment.