Skip to content
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

Rename MessageId? #1151

Closed
aurexav opened this issue Sep 22, 2021 · 0 comments · Fixed by #1152
Closed

Rename MessageId? #1151

aurexav opened this issue Sep 22, 2021 · 0 comments · Fixed by #1152
Assignees
Labels
A-chores Something that has to be done, as part of regular maintenance

Comments

@aurexav
Copy link

aurexav commented Sep 22, 2021

type MessageId = (LaneId, MessageNonce);

I found that Cumulus also defines a type named MessageId.

https://sourcegraph.com/github.com/polkadot-js/api/-/blob/packages/types/src/interfaces/cumulus/definitions.ts?L13

I have to overwrite it. Otherwise, I got:

Unable to retrieve the specified block details. Unable to decode storage system.events:: 
createType(Vec<EventRecord>):: decodeU8a: failed at 0x000000500a000001… 
on : {"phase":"Phase","event":"Event","topics":"Vec<Hash>"}:: decodeU8a: failed at 0x2c01706167727274… 
on topics: Vec<Hash>:: decodeU8a: failed at 0x0000000000000000… 
on : H256:: Expected at least 32 bytes (256 bits), found 28 bytes
@tomusdrw tomusdrw self-assigned this Sep 22, 2021
@tomusdrw tomusdrw added A-chores Something that has to be done, as part of regular maintenance B-Substrate <> Substrate labels Sep 22, 2021
@tomusdrw tomusdrw added this to the Kusama <> Polkadot Release milestone Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-chores Something that has to be done, as part of regular maintenance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants