Skip to content

Commit

Permalink
fix: fix gas use out in nft contract
Browse files Browse the repository at this point in the history
  • Loading branch information
fospring committed Dec 18, 2023
1 parent c43ab16 commit 8e67878
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.

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

Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import { NonFungibleTokenCore } from "./core";
import { NonFungibleTokenApproval } from "./approval";
import { NonFungibleTokenEnumeration } from "./enumeration";

const GAS_FOR_RESOLVE_TRANSFER = 15_000_000_000_000n;
const GAS_FOR_RESOLVE_TRANSFER = 16_000_000_000_000n;
const GAS_FOR_NFT_TRANSFER_CALL =
30_000_000_000_000n + GAS_FOR_RESOLVE_TRANSFER;
const GAS_FOR_NFT_APPROVE = 20_000_000_000_000n;
const GAS_FOR_NFT_APPROVE = 21_000_000_000_000n;

function repeat(str: string, n: number) {
return Array(n + 1).join(str);
Expand Down

0 comments on commit 8e67878

Please sign in to comment.