dethcrypto / truffle-typings

Typescript typings for Truffle
11 stars 9 forks source link

Makes `Contract<T>.at(...)` return a `Promise<T>` instead of `T`. #13

Open MicahZoltu opened 5 years ago

MicahZoltu commented 5 years ago

At least in Truffle 5.0.x, this function returns a promise.

krzkaczor commented 5 years ago

It's basically the same story as https://github.com/ethereum-ts/TypeChain/pull/184

Currently, this works great with truffle@4 this package probably should be simply fixed to work with truffle@5 and deployed as 5.x.x