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

Update decoder #589

Merged
merged 18 commits into from
Jun 20, 2023
Merged

Update decoder #589

merged 18 commits into from
Jun 20, 2023

Conversation

haerdib
Copy link
Contributor

@haerdib haerdib commented Jun 16, 2023

Exchanges the encoder and decoder with a no-std version of scale-decode and scale-encode from parity.

Check out:

Open issue for possible upstream merge: paritytech/scale-decode#25

For scale-bit there's an open PR and will hopefully be merged upstream soon: paritytech/scale-bits#2

Changes are mostly just copy paste from parity. The file & commit should be documented in the file header comment.

In a second step the events and error decoding will be adapted where sensible.
Preparatory step for #564

@haerdib haerdib self-assigned this Jun 16, 2023
@haerdib haerdib requested a review from echevrier June 20, 2023 10:51
@haerdib haerdib marked this pull request as ready for review June 20, 2023 10:51
@haerdib haerdib requested a review from masapr June 20, 2023 10:51
Copy link
Contributor

@echevrier echevrier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Thanks a lot

@haerdib haerdib merged commit b884bf3 into master Jun 20, 2023
@haerdib haerdib deleted the bh/udpate-decoder branch June 20, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants