Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy smart contract on Shasta testnet #4

Open
sadelaifo opened this issue Jun 21, 2019 · 3 comments
Open

Unable to deploy smart contract on Shasta testnet #4

sadelaifo opened this issue Jun 21, 2019 · 3 comments

Comments

@sadelaifo
Copy link

I was following the instructions on readme. Everything went well until i run

tronbox migrate --reset --network shasta

It prints

Using network 'shasta'.

Running migration: 1_initial_migration.js
  Replacing Migrations...
  Migrations:
    (base58) TLszpcG8kXjW6yUtKWJLUn7djttCXqvyq4
    (hex) 4177ad22e56dece4268f647ba015f5c0d385f1e67c
Saving successful migration to network...
Saving artifacts...
Running migration: 2_deploy_contracts.js
  Deploying ECommerce...
ERROR: Contract ECommerce has not been deployed on the network.
For more details, check the transaction at:
https://api.shasta.trongrid.io/wallet/gettransactionbyid?value=635c20efee548376b67901165e4b08afc24802581c65f93f0a9d1a6c2bc858db
If the transaction above is empty, most likely, your address had no bandwidth/energy to deploy the contract.

I made a change to tronbox.js file. I commented fullNode, solidityNode, eventServer, and I uncommented fullHost variable.

I also checked the printed link. The link said my testnet account does not have enough energy.

For this issue, I found there should be no energy issue about shasta testnet. Can anybody help me with this error? Thanks.

@UjwalBattar
Copy link
Contributor

UjwalBattar commented Jun 21, 2019

This is due to the energyFee defaulting to 100 when Shasta was reset. There is a proposal on Shasta to change the limit to 10 which should take effect in a day or so.

@Ong123
Copy link

Ong123 commented Mar 9, 2021

@sadelaifo solved? if yes, how did you solved this issue? I am having the same issue

@stevenstc
Copy link

i directly use http://www.tronide.io/ to deploy and compile the archives

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants