-
Notifications
You must be signed in to change notification settings - Fork 85
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
feat(network): add wrapper for Option<SignedBlockHeader> and add converters to/from Vec<u8> #2063
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2063 +/- ##
==========================================
- Coverage 69.73% 69.66% -0.08%
==========================================
Files 131 131
Lines 17196 17202 +6
Branches 17196 17202 +6
==========================================
- Hits 11992 11983 -9
- Misses 3880 3896 +16
+ Partials 1324 1323 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ShahakShama)
crates/papyrus_protobuf/src/sync.rs
line 41 at r1 (raw file):
// We have this struct in order to implement on it traits. #[derive(Debug, Clone, PartialEq, Eq)] pub struct BlockHeaderResponse(pub Option<SignedBlockHeader>);
use the same name as in the protobuf, or add TODO to rename it for consistency
bdd85e8
to
cee22cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 2 of 3 files reviewed, 1 unresolved discussion (waiting on @asmaastarkware)
crates/papyrus_protobuf/src/sync.rs
line 41 at r1 (raw file):
Previously, asmaastarkware (asmaa-starkware) wrote…
use the same name as in the protobuf, or add TODO to rename it for consistency
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 2 of 3 files reviewed, all discussions resolved (waiting on @ShahakShama)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @ShahakShama)
…erters to/from Vec<u8>
8d44a14
cee22cb
to
8d44a14
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @ShahakShama)
This change is