Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add hardcoded override to ElectionScore #455

Merged
merged 3 commits into from
Feb 16, 2022
Merged

Add hardcoded override to ElectionScore #455

merged 3 commits into from
Feb 16, 2022

Conversation

jsdw
Copy link
Collaborator

@jsdw jsdw commented Feb 16, 2022

This is intended as an interim solution until we devise a better approach (see #454 for a suggestion on that).

Hardcode a type seen in the metadata so that we can add the derives it needs to be a key in a BTreeMap.

closes #454

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

@jsdw jsdw merged commit eeb8b4b into master Feb 16, 2022
@jsdw jsdw deleted the jsdw-btreemap-ord branch February 16, 2022 17:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the trait Decode is not implemented for BoundedBTreeMap<ElectionScore, u32>
4 participants