New answers tagged truffle-migration
0
votes
"Election" hit an invalid opcode while deploying. truffle migrate
just change your solc version " 0.8.19 ". beacuse 0.8.20 and above version only use mainnet to deploy....
0
votes
When using truffle command "truffle migrate", previously deployed contracts are re-deployed, is there a way to prevent this?
truffle has these options, that lets you to run just new migrations (not all of them). Maybe it can help you
--f <number> Run contracts from a specific migration. The number refers to the ...
0
votes
When using truffle command "truffle migrate", previously deployed contracts are re-deployed, is there a way to prevent this?
const AnotherContract = artifacts.require("./AnotherContract.sol");
module.exports = function (deployer) {
deployer.deploy(AnotherContract).then(function () {
return deployer.deploy(...
0
votes
"Migrations" hit an invalid opcode while deploying on deploy Migrations.sol with Truffle
It seems the new version of ganache GUI(at this moment) does not support 0.8.21 instructions. As the answers said I tried to downgrade the version of Solc. but it didn't work. I found out we should ...
Top 50 recent answers are included
Related Tags
truffle-migration × 477truffle × 335
solidity × 130
truffle-deployment × 84
contract-deployment × 70
truffle-contract × 54
go-ethereum × 33
ganache × 32
ropsten × 26
truffle-compile × 25
truffle-test × 21
contract-development × 19
web3js × 18
migration × 17
infura × 16
private-blockchain × 14
testrpc × 13
javascript × 11
testing × 10
rinkeby × 10
dapps × 9
dapp-development × 9
quorum × 8
ganache-cli × 8
openethereum × 8