是什么阻止我部署这个智能合约?

问题描述 投票:0回答:0

我一直在关注并引用此 YouTube 视频存储库的更新版本 https://www.youtube.com/watch?v=Wn_Kb3MR_cU&list=PLBx8Eyw3km2mpbKPhoTDVYjM6TpvYCdv0。 GitHub https://github.com/adrianhajdin/project_web3.0/tree/main 大约一小时三十二分钟后,当需要将合约部署到测试网时,我收到此消息;
npx Hardhat 运行脚本/deploy.js --network sepolia

成功编译2个Solidity文件 类型错误:没有匹配的函数(参数=“键”,值=“部署”,代码= INVALID_ARGUMENT,版本= 6.6.7) 在 makeError (C:\Users\Web3_Proj1\smart_contract ode_modules thers\src.ts\utils rrors.ts:670:21) 在断言(C:\ Users \ Web3_Proj1 \ smart_contract ode_modules thers\src.ts\utils rrors.ts:694:25) 在assertArgument (C:\Users\Web3_Proj1\smart_contract ode_modules thers\src.ts\utils rrors.ts:706:5) 在 Interface.getFunctionName (C:\Users\Web3_Proj1\smart_contract ode_modules thers\src.ts bi\interface.ts:542:23) 在 buildWrappedMethod (C:\Users\Web3_Proj1\smart_contract ode_modules 其他\src.t

javascript deployment solidity smartcontracts web3
© www.soinside.com 2019 - 2024. All rights reserved.