[英]Transaction was not mined within 750 seconds while deploying to rinkeby testnet
我正在尝试在 rinkeby 测试网上部署智能合约。 但我不断收到以下错误
Deploying 'Migrations'
----------------------
> transaction hash: 0x86ad627d53f469648b8a32364572dafd93990c5ccaf839995fba79500875d660
** Deployment Failed **
"Migrations" -- Transaction was not mined within 750 seconds, please make sure your transaction was properly sent. Be aware that it might still be mined! -- Reason given: Custom error (could not decode)..
Exiting: Review successful transactions manually by checking the transaction hashes above on Etherscan.
我尝试在 ropsten 上进行部署,它成功了,一切正常。 我使用的 rinkeby 网络设置如下
rinkeby: {
provider: () => new HDWalletProvider(mnemonic, `https://rinkeby.infura.io/v3/${projectId}`),
network_id: 4, // Rinkeby's id
gas: 10000000,
gasPrice: 100000000, // 1 gwei (in wei) (default: 100 gwei)
confirmations: 2, // # of confs to wait between deployments. (default: 0)
timeoutBlocks: 200, // # of blocks before a deployment times out (minimum/default: 50)
skipDryRun: true // Skip dry run before migrations? (default: false for public nets )
},
这可能是什么原因? 提前致谢
交易仍在等待中(现在时间:1663140032)。 您应该检查您设置gasPrice
足够高。 只需尝试在部署时设置100 gwei
和gasLimit=5000000
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.