Hello Guys. 👍
One Question to truffle test.

I want to have always a new Instance of the Contract on every test (it ()). Thats normal or not?
The common way what i have seen is to use the beforeEachTest Hook where u can return a new fresh instance of your contract
return Contract.new()

I have the problem that i cant call methods on this instance. only when i use return Contract.deployed() i can use methods.

Any idea here?

Apr 1, 2019, 9:28 PM
Are here some developers who have interes in tron? and also have solidity experience? have to talk with you. whisper me.
Apr 1, 2019, 10:21 PM
I have interest in Tron, but don't have solidity experience
Apr 1, 2019, 10:21 PM
DM me
Apr 2, 2019, 6:37 AM

© 2024 Draquery.com All rights reserved.