I get this callbackGasLimit error when trying to deploy 02-deploy-random-ipfs-nft.js:
An unexpected error occurred:
Error: ERROR processing /home/codebind/local_development/hardhat-nft/deploy/02-deploy-random-ipfs-nft.js:
Error: value out-of-bounds (argument="callbackGasLimit", value="10000000000000000", code=INVALID_ARGUMENT, version=abi/5.7.0)
at Logger.makeError (/home/codebind/local_development/hardhat-nft/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
at Logger.throwError (/home/codebind/local_development/hardhat-nft/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
at Logger.throwArgumentError (/home/codebind/local_development/hardhat-nft/node_modules/@ethersproject/logger/src.ts/index.ts:285:21)
at NumberCoder.Coder._throwError (/home/codebind/local_development/hardhat-nft/node_modules/@ethersproject/abi/src.ts/coders/abstract-coder.ts:68:16)
at NumberCoder.encode (/home/codebind/local_development/hardhat-nft/node_modules/@ethersproject/abi/src.ts/coders/number.ts:35:18)
at /home/codebind/local_development/hardhat-nft/node_modules/@ethersproject/abi/src.ts/coders/array.ts:71:19
at Array.forEach (<anonymous>)
at pack (/home/codebind/local_development/hardhat-nft/node_modules/@ethersproject/abi/src.ts/coders/array.ts:54:12)
at TupleCoder.encode (/home/codebind/local_development/hardhat-nft/node_modules/@ethersproject/abi/src.ts/coders/tuple.ts:54:20)
at AbiCoder.encode (/home/codebind/local_development/hardhat-nft/node_modules/@ethersproject/abi/src.ts/abi-coder.ts:111:15)
at DeploymentsManager.executeDeployScripts (/home/codebind/local_development/hardhat-nft/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1222:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at runNextTicks (node:internal/process/task_queues:65:3)
at listOnTimeout (node:internal/timers:528:9)
at processTimers (node:internal/timers:502:7)
at DeploymentsManager.runDeploy (/home/codebind/local_development/hardhat-nft/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1052:5)
at SimpleTaskDefinition.action (/home/codebind/local_development/hardhat-nft/node_modules/hardhat-deploy/src/index.ts:438:5)
at Environment._runTaskDefinition (/home/codebind/local_development/hardhat-nft/node_modules/hardhat/src/internal/core/runtime-environment.ts:219:14)
at Environment.run (/home/codebind/local_development/hardhat-nft/node_modules/hardhat/src/internal/core/runtime-environment.ts:131:14)
at SimpleTaskDefinition.action (/home/codebind/local_development/hardhat-nft/node_modules/hardhat-deploy/src/index.ts:584:32)
error Command failed with exit code 1.
I can't see why it shows value="10000000000000000" as I set it to 500000 in my helper-hardhat-config.
Here is my deploy script and helper-hardhat-config.js:
I get this callbackGasLimit error when trying to deploy
02-deploy-random-ipfs-nft.js
:I can't see why it shows
value="10000000000000000"
as I set it to 500000 in my helper-hardhat-config.Here is my deploy script and helper-hardhat-config.js:
Any ideas?