Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.
This repository was archived by the owner on May 16, 2019. It is now read-only.

tronbox migrating can not use the .at(contract address) #63

@bigopher

Description

@bigopher

when writing following migratation script in tronbox, there will happen to some error. but that can work well in truffle, please check it, thanks!
let a = await A.at('4174ca9d500f00601b8e1db69734c05e04b7b67be8');

the errors show that:
(node:3722) UnhandledPromiseRejectionWarning: TypeError: this.getContract is not a function
at TronWrap.tronWrap._getContract (/usr/local/Cellar/node/11.2.0/lib/node_modules/tronbox/build/webpack:/packages/tronwrap/index.js:135:1)
at /usr/local/Cellar/node/11.2.0/lib/node_modules/tronbox/build/webpack:/packages/truffle-contract/contract.js:413:1
at new Promise ()
at /usr/local/Cellar/node/11.2.0/lib/node_modules/tronbox/build/webpack:/packages/truffle-contract/contract.js:412:1
at new Promise ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    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