我在尝试在安全帽开发链上部署模拟合约时收到以下错误。我正在关注:Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course by Patrick Collins on FreeCodeCamp YT channel我在上述课程的 10:48:53 时收到此错误。我几乎尝试了
2022-06-01
我正在使用 solidity 构建 NFT 智能合约,并且在部署合约时尝试将结构数组传递到构造函数中。但是我收到以下错误。TypeError: Cannot read property 'length' of undefined联系代码是:contract MetropolisWorldGenesis {using Counters for Counters.Counter;Counters.Co