question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment on Ropsten doesn't work

See original GitHub issue

This is on master. Running:

$ truffle migrate --network ropsten

Compiling .\contracts\CertificateController\CertificateController.sol...
Compiling .\contracts\ERC1400.sol...
Compiling .\contracts\IERC1400.sol...
Compiling .\contracts\mocks\CertificateControllerMock.sol...
Compiling .\contracts\token\ERC1400Partition\ERC1400Partition.sol...
Compiling .\contracts\token\ERC1400Partition\IERC1400Partition.sol...
Compiling .\contracts\token\ERC1400Raw\ERC1400Raw.sol...
Compiling .\contracts\token\ERC1400Raw\ERC1400RawIssuable.sol...
Compiling .\contracts\token\ERC1400Raw\IERC1400Raw.sol...
Compiling .\contracts\token\ERC1400Raw\IERC1400TokensChecker.sol...
Compiling .\contracts\token\ERC1400Raw\IERC1400TokensRecipient.sol...
Compiling .\contracts\token\ERC1400Raw\IERC1400TokensSender.sol...
Compiling .\contracts\token\ERC1400Raw\IERC1400TokensValidator.sol...
Compiling .\contracts\token\ERC1820\ERC1820Implementer.sol...
Compiling .\contracts\tokenExtension\roles\BlacklistAdminRole.sol...
Compiling .\contracts\tokenExtension\roles\BlacklistedRole.sol...
Writing artifacts to .\build\contracts

⚠️  Important ⚠️
If you're using an HDWalletProvider, it must be Web3 1.0 enabled or your migration will hang.


Migrations dry-run (simulation)
===============================
> Network name:    'ropsten-fork'
> Network id:      3
> Block gas limit: 8000029


1_initial_migration.js
======================
Account to load with ETH:  0xC6***.....

   Deploying 'Migrations'
   ----------------------
Error:  *** Deployment Failed ***

"Migrations" hit an invalid opcode while deploying. Try:
   * Verifying that your constructor params satisfy all assert conditions.
   * Verifying your constructor code doesn't access an array out of bounds.
   * Adding reason strings to your assert statements.

    at ...\node_modules\truffle\build\webpack:\packages\truffle-deployer\src\deployment.js:364:1
Truffle v5.0.1 (core: 5.0.1)
Node v10.15.3

Not sure how to proceed with this. I am using a valid infura key as env variable. I think it has something to do with truffle and hdwallet provider? Please advise me how to fix this.

I have been able to use this on localhost ganache-cli so far, even adding my own contract migrations

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
deantheicemancommented, Apr 12, 2020

Is there any information on how the DvP and fund issuance contract will be implemented and used?

0reactions
stale[bot]commented, Sep 29, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

When trying to deploy a smart contract, I keep getting `Error ...
When trying to deploy a smart contract, I keep getting `Error HH100: Network ropsten doesn't exist` -- how do I resolve? Ask Question....
Read more >
Stuck on Ropsten testnet hardhat config, : r/ethdev - Reddit
when trying to run ``` npx hardhat run scripts/deploy.js --network ropsten``` i keep getting this error: https://ibb.co/HhDx859
Read more >
Deploy on Ropsten fails but no message explaining why #974
Expected either: a successful deploy of MyMagicalContract.sol; an indication/error of why it won't deploy MyMagicalContract.sol. Actual Results.
Read more >
Network ropsten doesn't exist - Stack Overflow
I get this error everytime I try to launch the contract with npx hardhat --network ropsten run scripts/deployPizzaHeadNFT.
Read more >
Unable to deploy on truffle ropsten - OpenZeppelin Forum
I am not able to deploy on ropsten. truffle deploy --network ropsten-infura --reset does not do anything after. Compiling your contracts.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found