Conversation
There was a problem hiding this comment.
According to the scenario that we outlined here, since we are now bumping network-controller by a major and since all of the other packages depend on network-controller, I'm curious whether this scenario is possible:
- Today, a client is using the
getEthQuerymessenger action to get theethQuerythatnetwork-controllerexports. The type of this instance is defined ineth-query3.x, so they arguments they pass toethQuery.sendAsyncmatch this version as well. - Now, they upgrade
network-controllerto the new major version without making any other changes. Now the type ofethQuerycomes frometh-query4.x, so those arguments no longer match the type, and they get a type error.
Given this, should we actually go ahead and release these other packages too?
f3c100c to
14a0d49
Compare
|
There were a few more small breaking changes I was considering for the controller messenger; perhaps we could hold off on this release for a day or so to evaluate whether we can include those too? I don't want to hold up the release train any longer than we need to, but base controller breaking changes can be quite disruptive, so minimizing them might be worthwhile. Edit: Oh I'm sorry, nevermind. I've just noticed that the base controller isn't included in this. |
|
@Gudahtt Keeping this release on hold shouldn't be an issue, but maybe the Edit: No worries! |
|
Having a release just for the base controller changes is a great idea. I was thinking the same thing |
|
@mcmire I added releases for all of the downstream packages! |
Gudahtt
left a comment
There was a problem hiding this comment.
LGTM! But I'd definitely appreciate someone from the confirmation systems team taking a second look at the transaction controller changelog, I didn't review that as closely as the rest
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
|
@matthewwalsh0 Suggestions applied here: b9c6623. Thank you for going through this in detail! The |
Explanation
network-controller, which enables usage of updatedgetEthQuerymessenger action.transaction-controller, which includes a large number of significant changes.assets-controllers, which includes breaking changes inNfTController.{ens,gas-fee,polling,queued-request,selected-network}-controller, which are downstream ofnetwork-controller.References
Changelog
Checklist