npx hardhat run scripts/run.js --network mumbai
(node:4676) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use node --trace-warnings ...
to show where the warning was created)
(node:15420) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use node --trace-warnings ...
to show where the warning was created)
Contract deployed to: 0x2062A26842Aa6bfB98Db60e3a813440b86170053
Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted:
Not enough Matic paid", method="estimateGas", transaction={"from":"0x09Df1467096Da65D0E1c5724C8F3b9384930C6d9","to":"0x2062A26842Aa6bfB98Db60e3a813440b86170053","value":{"type"
:"BigNumber","hex":"0x016345785d8a0000"},"data":"0xf2c298be0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000
00000000035733530000000000000000000000000000000000000000000000000000000000","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: HttpProviderError\n at
HttpProvider.request (D:\Web3Shift.co\web3shift-domains\Domains\node_modules\hardhat\src\internal\core\providers\http.ts:78:19)\n at LocalAccountsProvider.request (
D:\Web3Shift.co\web3shift-domains\Domains\node_modules\hardhat\src\internal\core\providers\accounts.ts:187:34)\n at processTicksAndRejections (node:internal/process
/task_queues:96:5)\n at EthersProviderWrapper.send (D:\Web3Shift.co\web3shift-domains\Domains\node_modules\@nomiclabs\hardhat-ethers\src\internal\ethers-provider-wra
pper.ts:13:20)","code":3,"_isProviderError":true,"data":"0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000
0000000000000000154e6f7420656e6f756768204d6174696320706169640000000000000000000000"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)
at Logger.makeError (D:\Web3Shift.co\web3shift-domains\Domains\node_modules@ethersproject\logger\src.ts\index.ts:269:28)
at Logger.throwError (D:\Web3Shift.co\web3shift-domains\Domains\node_modules@ethersproject\logger\src.ts\index.ts:281:20)
at checkError (D:\Web3Shift.co\web3shift-domains\Domains\node_modules@ethersproject\providers\src.ts\json-rpc-provider.ts:78:20)
at EthersProviderWrapper. (D:\Web3Shift.co\web3shift-domains\Domains\node_modules@ethersproject\providers\src.ts\json-rpc-provider.ts:642:20)
at step (D:\Web3Shift.co\web3shift-domains\Domains\node_modules@ethersproject\providers\lib\json-rpc-provider.js:48:23)
at Object.throw (D:\Web3Shift.co\web3shift-domains\Domains\node_modules@ethersproject\providers\lib\json-rpc-provider.js:29:53)
at rejected (D:\Web3Shift.co\web3shift-domains\Domains\node_modules@ethersproject\providers\lib\json-rpc-provider.js:21:65)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
reason: 'execution reverted: Not enough Matic paid',
code: 'UNPREDICTABLE_GAS_LIMIT',
method: 'estimateGas',
transaction: {
from: '0x09Df1467096Da65D0E1c5724C8F3b9384930C6d9',
to: '0x2062A26842Aa6bfB98Db60e3a813440b86170053',
value: BigNumber { value: "100000000000000000" },
data: '0xf2c298be000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000035733530000000000000000000000
000000000000000000000000000000000000',
accessList: null
},
error: ProviderError: HttpProviderError
at HttpProvider.request (D:\Web3Shift.co\web3shift-domains\Domains\node_modules\hardhat\src\internal\core\providers\http.ts:78:19)
at LocalAccountsProvider.request (D:\Web3Shift.co\web3shift-domains\Domains\node_modules\hardhat\src\internal\core\providers\accounts.ts:187:34)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at EthersProviderWrapper.send (D:\Web3Shift.co\web3shift-domains\Domains\node_modules@nomiclabs\hardhat-ethers\src\internal\ethers-provider-wrapper.ts:13:20)
}
Hi, welcome to the community!
I think just like the error message, check if there are enough Matic in your account, and then have a try.