This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
Failed to deploy contracts to ethermint with truffle and @truffle/hdwallet-provider. #665
Labels
stale
stale PRs that will be closed if no further action occurs
System info: [Include Ethermint commit, operating system name, and other relevant details]
MacSO 11.0.1
Ethermint commit : c15ba53
Truffle v5.1.51
@truffle/[email protected]
Steps to reproduce:
start node with init.sh
./init.sh
run the REST server and JSON-RPC
ethermintcli rest-server --laddr "tcp://localhost:8545" --unlock-key mykey --chain-id ethermint-1 --trace
Edit contract with truffle
truffle migrate --reset --network development
Expected behavior: [What you expected to happen]
Contract should be deployed to ethermint network successfully.
Actual behavior: [What actually happened]
Contracts can not be successfully deployed to ethermint network.
There is the error:
But the contracts can be successfully deployed to ganache-cli network with same steps.
Additional info: [Include gist of relevant config, logs, etc.]
there is the code of Counter.sol:
there is the code of 2_deploy_counter.js:
There is the code of truffle-config.js:
The text was updated successfully, but these errors were encountered: