You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Because of the switch to web3.js 1.0, more functions do now return a Promise.
The console of truffle 5 supports the await keyword, making it much more convenient to interact with Promise-returning functions. However the support is limited. This for example doesn't work yet:
Closing this as won't fix. Getting this to work right is tricky, better just wait until Node 10 when support here is much improved. Thanks for raising the concern!
Because of the switch to web3.js 1.0, more functions do now return a Promise.
The console of truffle 5 supports the
await
keyword, making it much more convenient to interact with Promise-returning functions. However the support is limited. This for example doesn't work yet:When executed in a non-interactive environment (e.g. as a truffle js test), this statement would work.
The text was updated successfully, but these errors were encountered: