Skip to content

Unable to deploy smart contract on Shasta testnet #4

Description

@sadelaifo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions