摘要:
运行 truffle migrate 报错 *** Deployment Failed *** "TestT**" hit an invalid opcode while deploying. Try: * Verifying that your constructor params satisfy 阅读全文
摘要:
运行 truffle compile 报错 Error: Truffle is currently using solc 0.8.13, but one or more of your contracts specify "pragma solidity ^0.8.20". 修改 truffle-c 阅读全文
摘要:
运行以下 // SPDX-License-Identifier: MIT pragma solidity 0.7.5; import {Counters} from "@openzeppelin/contracts/utils/Counters.sol"; contract MyToken is E 阅读全文