1
vote
"Migrations" hit an invalid opcode while deploying on deploy Migrations.sol with Truffle
Downgrading solc from 0.8.20 to 0.8.13 resolved the problem for me.
I got to that version by downloading the metacoin truffle box, verifying that migration works and then getting the version of solc ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
truffle-compile × 113truffle × 74
solidity × 47
truffle-migration × 25
truffle-contract × 21
truffle-deployment × 12
contract-development × 8
solc × 7
contract-deployment × 5
truffle-test × 5
openzeppelin × 4
compiler × 4
remix × 3
error × 3
solidity-0.6.x × 3
go-ethereum × 2
blockchain × 2
erc-20 × 2
javascript × 2
etherscan × 2
ethereum-wallet-dapp × 2
events × 2
nodejs × 2
erc-721 × 2
oracles × 2