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 |
| 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.
Why is this one changed ? This looks like a breaking change
There was a problem hiding this comment.
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 testfails (see my comment below)