Skip to content

Implement several utility trait#70

Merged
liamsi merged 1 commit intocometbft:lite_impl_simple_merkle_mergedfrom
yihuang:impl-utility-traits
Nov 28, 2019
Merged

Implement several utility trait#70
liamsi merged 1 commit intocometbft:lite_impl_simple_merkle_mergedfrom
yihuang:impl-utility-traits

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.

fn signature(&self) -> &[u8];
}

#[derive(Debug)]
Copy link
Contributor

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.

@yihuang yihuang force-pushed the impl-utility-traits branch from 226ee38 to 517068b Compare November 28, 2019 16:04
Copy link
Contributor

@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 cometbft: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.

2 participants