Allow migration scripts to distinguish between networks when using Dashboard #4836
aviaisenberg
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
This is unfortunate, but I think for the time being, the best option is to use some other identifier, such as network ID or chain ID. Alternatively, you could set up separate networks yourself by configuring networks in truffle-config.js the old-fashioned way, specifying (Worth moving this to "issues" as a new feature enhancement request!) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ran into an issue when writing automated deployment scripts that were different based on the network I was using.
Noticed that when using dashboard, the network information is stored correct in the build files, but the network name is passed as dashboard to the migration script.
It would be really useful if the dashboard network would also convey which network it was connected to when being passed into the migration scripts.
Beta Was this translation helpful? Give feedback.
All reactions