Skip to content

Commit

Permalink
fixed maxFee
Browse files Browse the repository at this point in the history
  • Loading branch information
notV4l committed Jul 8, 2024
1 parent 9013f4d commit bf79f02
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"create-events": "./bin/generateEvents.cjs"
},
"dependencies": {
"@cartridge/connector": "^0.3.30",
"@cartridge/connector": "^0.3.33",
"@chakra-ui/anatomy": "^2.1.1",
"@chakra-ui/react": "^2.8.1",
"@dojoengine/core": "0.7.4",
Expand Down
24 changes: 12 additions & 12 deletions web/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion web/src/dojo/hooks/useSystems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export const useSystems = (): SystemsInterface => {
let tx, receipt;

try {
tx = await dojoProvider.execute(account!, params);

tx = await dojoProvider.execute(account!, params, { maxFee: 1000000000000000n, });

// toast({
// message: `tx sent ${tx.transaction_hash.substring(0, 4)}...${tx.transaction_hash.slice(-4)}`,
Expand Down

0 comments on commit bf79f02

Please sign in to comment.