I’ve read the document to deploy smart contracts with truffle in docs.zkevm.consensys/developers/quickstart. And I realize in Deploy your contract using truffle-config.js:
If I run truffle migrate --network consensys-zkevm-goerli. I got a bug: the network name in my Truffle configuration file does not match the network name I’m using when running Truffle commands.
The correct command is: truffle migrate --network consensyszkevmgoerli.
I think I followed the steps correctly and checked many times. I’m not sure if the document needs to be modified or something added.
Any members here who had problems when deploying your contract using truffle-config.js can try to use this command: truffle migrate --network consensyszkevmgoerli.
yes i thin its same bugs, I got a bug: the network name in my Truffle configuration file does not match the network name I’m using when running Truffle commands.