Hmm OUT_OF_ENERGY while deploy an ERC1155 contract

https://api.nileex.io/wallet/gettransactionbyid?value=5ca0957ccec3596afd74c778823b2025c19a81fca64b07ed73047d405d18b73e

I deploy the contract via tronbox and burn $1000 TRX and without the contract deploy success.

3 Likes

@admin.hackathon Might know

2 Likes

Please increase the fee_limit to 5000 TRX or even bigger if the error message is Out_OF_Energy.

1 Like

Can you try configure compilation settings in tronbox.js.

compilers: {
      solc: {
        version: '0.5.8',
        optimizer: {
          enabled: true, // default: false, true: enable solc optimize
          runs: 200
        },
        evmVersion: 'istanbul'
      }
    }
1 Like