Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Remove invalid and unneeded codec implementation. #9445

Merged
merged 1 commit into from
Jul 27, 2021

Conversation

gui1117
Copy link
Contributor

@gui1117 gui1117 commented Jul 27, 2021

Derivation of Encode/Decode for codec encodes the variant into a u8. But here the variant discriminant is u64.

Also the type doesn't needs to implement Encode/Decode.

The PR simply removes the implementation

@gui1117 gui1117 added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jul 27, 2021
Copy link
Contributor

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

LGTM

@bkchr bkchr merged commit 7be311a into master Jul 27, 2021
@bkchr bkchr deleted the gui-fix-invalid-codec branch July 27, 2021 21:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants