Skip to content

Commit

Permalink
Update smart contract example (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey authored Dec 26, 2023
1 parent 0cafad0 commit a59e35e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/massa-web3/examples/smartContracts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ const pollAsyncEvents = async (
web3Client,
baseAccount,
0n,
1_000_000n,
fromMAS(0.2),
3000_000_000n,
fromMAS(1.5),
);

spinner.succeed(
Expand Down Expand Up @@ -279,7 +279,7 @@ const pollAsyncEvents = async (
const args = new Args().addString('1');
const result = await web3Client.smartContracts().readSmartContract({
fee: 0n,
maxGas: 700_000n,
maxGas: 2000_000_000n,
targetAddress: scAddress,
targetFunction: 'getMusicAlbum',
parameter: args.serialize(),
Expand Down

0 comments on commit a59e35e

Please sign in to comment.