-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.9.19 Dependency Update #1438
Conversation
|
As I said I reviewed that the types that we changed from v0 or v1 to v2 have not changed (HeadData, Id, AccountId). But please feel free to confirm |
The legacy implementation still available in https://github.com/paritytech/substrate/blob/f4157f44220f3382d8787c3cd348e2ea7aabb048/primitives/runtime/src/legacy/byte_sized_error.rs#L29-L38 |
@@ -94,7 +94,7 @@ describeDevMoonbeam("Pallet proxy - shouldn't accept removed proxy", (context) = | |||
alith, | |||
context.polkadotApi.tx.proxy.removeProxy(baltathar.address, "Any", 0) | |||
); | |||
expect(events2[4].method).to.be.eq("ExtrinsicSuccess"); | |||
expect(events2[5].method).to.be.eq("ExtrinsicSuccess"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this one changed ? This looks like a breaking change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've had to change these indices frequently, often because the ordering of the array changes (a new event is emitted, events are split into multiple ones, are combined, etc.)
I think we need a better way to express these expectations, something like "ExtrinsicSuccess" is followed by "SomeDepositEvent" but not "any error" would be awesome.
I'll try to see what caused this particular case...
What does it do?
Updates our dependencies to substrate v0.9.19.
Generated update issue: #1428
Frontier branch: https://github.com/PureStake/frontier/commits/moonbeam-polkadot-v0.9.19
TODO:
polkadot_primatives::v2
(instead ofv0
)cargo test
fails (see my comment below)