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.
I use migrations quite extensively, not only for deploying contracts, but also to execute a lot of other transactions like assigning permissions etc. in the v4 migration output you could see all tx hashes, in v5 I only see the contract deployments. Is it possible to put the others back?
The text was updated successfully, but these errors were encountered:
The non-deploy transaction hash logging was removed because it was difficult to represent meaningfully (although you were able to interpret it :) ). Web3 1.0 exposes event listeners for transaction hash and receipt so a work-around for your case might look something like:
More broadly, the Migrations module has been rewritten to emit await-able events and have output managed by an extensible reporter service that tracks state across a series of migrations files. This feature needs a little more work and lots of documentation but you should soon be able to plug in your own reporter and control it from the migrations file. Example:
The reporter might just log to the command line, or track additional gas usage, but it could basically do anything - like text you if your deployment errors or wrap a server that connects the migrations to a browser interface.
I use migrations quite extensively, not only for deploying contracts, but also to execute a lot of other transactions like assigning permissions etc. in the v4 migration output you could see all tx hashes, in v5 I only see the contract deployments. Is it possible to put the others back?
The text was updated successfully, but these errors were encountered: