【问题标题】:Getting error while deploying smart contract using truffle使用 truffle 部署智能合约时出错
【发布时间】:2021-10-09 12:08:45
【问题描述】:
2_deploy_contracts.js
=====================

   Replacing 'SimpleStorage'
   -------------------------
Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({
  code: -32603,
  message: 'ETIMEDOUT',
  data: { originalError: { code: 'ETIMEDOUT', connect: true } },
  stack: 'Error: ETIMEDOUT\n' +
    '    at Timeout.<anonymous> (D:\\Downloads\\eattheblocks-master\\screencast\\321-connect-frontend-contract-bsc\\node_modules\\request\\request.js:848:19)\n' +
    '    at listOnTimeout (internal/timers.js:557:17)\n' +
    '    at processTimers (internal/timers.js:500:7)'
})
    at Web3ProviderEngine.emit (events.js:364:17)
    at D:\Downloads\eattheblocks-master\screencast\321-connect-frontend-contract-bsc\node_modules\@trufflesuite\web3-provider-engine\index.js:57:14
  • Truffle v5.4.3(核心:5.4.3)
  • Solidity - 0.8.0 (solc-js)
  • 节点 v14.17.3
  • Web3.js v1.5.0

【问题讨论】:

    标签: ethereum solidity smartcontracts truffle binance-smart-chain


    【解决方案1】:

    如果您正在使用 ganache,请确保它正在运行。还请提供您的 truffle 配置文件和迁移文件以获取更多信息。

    【讨论】:

      猜你喜欢
      • 2018-10-12
      • 2020-11-14
      • 1970-01-01
      • 1970-01-01
      • 2021-11-10
      • 1970-01-01
      • 2019-12-12
      • 1970-01-01
      • 2022-08-05
      相关资源
      最近更新 更多