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

Implement several utility trait #70

Conversation

yihuang
Copy link
Contributor

@yihuang yihuang commented Nov 19, 2019

  • Debug of Error is for printing error.
  • Serialize/Deserialize of validator::Set is because it's a part of the trusted state, which needs to be stored somewhere.

@@ -102,6 +102,7 @@ pub trait Vote {
fn signature(&self) -> &[u8];
}

#[derive(Debug)]
Copy link
Member

Choose a reason for hiding this comment

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

Didn't this change already make into lite_impl_simple_merkle_merged via 9e00e99#diff-b1b6c7ff77dbf13838f76b8403715185?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My mistake, just rebased this PR, only one line of change left.

Copy link
Member

@liamsi liamsi left a comment

Choose a reason for hiding this comment

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

👍 Thanks!

@liamsi liamsi merged commit 63e0928 into informalsystems:lite_impl_simple_merkle_merged Nov 28, 2019
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.

None yet

2 participants