Skip to content

Commit 8e67878

Browse files
committed
fix: fix gas use out in nft contract
1 parent c43ab16 commit 8e67878

File tree

2 files changed

+4
-4
lines changed
  • packages/near-contract-standards

2 files changed

+4
-4
lines changed

packages/near-contract-standards/lib/non_fungible_token/impl.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/near-contract-standards/src/non_fungible_token/impl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ import { NonFungibleTokenCore } from "./core";
2727
import { NonFungibleTokenApproval } from "./approval";
2828
import { NonFungibleTokenEnumeration } from "./enumeration";
2929

30-
const GAS_FOR_RESOLVE_TRANSFER = 15_000_000_000_000n;
30+
const GAS_FOR_RESOLVE_TRANSFER = 16_000_000_000_000n;
3131
const GAS_FOR_NFT_TRANSFER_CALL =
3232
30_000_000_000_000n + GAS_FOR_RESOLVE_TRANSFER;
33-
const GAS_FOR_NFT_APPROVE = 20_000_000_000_000n;
33+
const GAS_FOR_NFT_APPROVE = 21_000_000_000_000n;
3434

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

0 commit comments

Comments
 (0)