Skip to content

Conversation

@jasl
Copy link
Contributor

@jasl jasl commented Apr 1, 2021

Ref Substrate issue paritytech/substrate#8501

I'd like fix that issue, but I think subxt still need to do a workaround because it would crash inside subxt.

In short,
when pallet missing declare Error type, the errors field in metadata will be empty,
then, if Subxt parsing block meets error which not list in metadata, it will trigger https://github.com/paritytech/substrate-subxt/blob/master/src/metadata.rs#L256
then, it will crash inside Subxt

@jasl jasl force-pushed the workaround-missing-error-metadata branch from e679eaf to c355ad0 Compare April 1, 2021 20:37
@jasl jasl force-pushed the workaround-missing-error-metadata branch from c355ad0 to 9d75942 Compare April 1, 2021 20:40
@jasl
Copy link
Contributor Author

jasl commented Apr 2, 2021

Ops... seems CI failure not my mistake

@cla-bot-2021
Copy link

cla-bot-2021 bot commented May 11, 2021

User @jasl, please sign the CLA here.

@h4x3rotab
Copy link
Contributor

We can close it since #294 was merged

@jasl jasl closed this Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants