0

I am starting to test with creating tokens. My contracts deploy correctly in mainnet but fail to deploy on testnet (the transaction gets reverted).

  1. What are the main differences between mainnet and testnet? Is there any important difference that could explain this problem?
  2. How can I debug why a transaction that deploys a contract gets reverted?

Thanks

1 Answer 1

0

There should be no error. Can you check:

  1. Is it the same contract you deployed main net?
  2. Are you selecting right compiler version for deploying to test net?

If is there still error, please let me know.

5
  • Yes, it is exactly the same contract that I am deploying in the mainnet. I am using the same compiler version in both mainnet and testnet, should I not do that?
    – José D.
    Commented Aug 22, 2021 at 20:12
  • This is interesting. Can you give me the contract code that you are trying to deploy? Commented Aug 22, 2021 at 20:15
  • Are you willing to chat on discord / skype / telegram?
    – José D.
    Commented Aug 22, 2021 at 20:24
  • Telegram or Discord sounds good. Commented Aug 22, 2021 at 20:27
  • i know this is late but once look here.. none of us able to deploy on testnet. have a look. ethereum.stackexchange.com/questions/117108/… Commented Dec 23, 2021 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.