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

rust: bump serde crates #3294

Merged
merged 4 commits into from
Sep 21, 2020
Merged

rust: bump serde crates #3294

merged 4 commits into from
Sep 21, 2020

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented Sep 21, 2020

Part of: #3245

TODO:

  • serde_bytes

@codecov
Copy link

codecov bot commented Sep 21, 2020

Codecov Report

Merging #3294 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3294      +/-   ##
==========================================
- Coverage   65.28%   65.23%   -0.06%     
==========================================
  Files         371      371              
  Lines       33039    33039              
==========================================
- Hits        21571    21552      -19     
- Misses       8273     8309      +36     
+ Partials     3195     3178      -17     
Impacted Files Coverage Δ
go/storage/mkvs/checkpoint/restorer.go 82.00% <0.00%> (-10.00%) ⬇️
go/staking/api/grpc.go 51.26% <0.00%> (-6.73%) ⬇️
go/consensus/tendermint/apps/staking/query.go 35.71% <0.00%> (-4.77%) ⬇️
...n/crypto/signature/signers/memory/memory_signer.go 72.41% <0.00%> (-3.45%) ⬇️
go/worker/storage/committee/checkpoint_sync.go 76.04% <0.00%> (-3.43%) ⬇️
go/consensus/tendermint/abci/mux.go 50.46% <0.00%> (-3.19%) ⬇️
go/consensus/tendermint/staking/staking.go 52.83% <0.00%> (-2.52%) ⬇️
...consensus/tendermint/apps/registry/transactions.go 55.80% <0.00%> (-1.66%) ⬇️
go/storage/client/client.go 65.82% <0.00%> (-1.01%) ⬇️
go/consensus/tendermint/full/full.go 60.52% <0.00%> (-0.67%) ⬇️
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f19387e...70bdca0. Read the comment docs.

@ptrus ptrus force-pushed the ptrus/feature/bump-serde branch 2 times, most recently from f998703 to cddfca5 Compare September 21, 2020 13:05
@@ -25,7 +25,6 @@ impl SessionID {
/// Frame.
#[derive(Debug, Serialize, Deserialize)]
pub struct Frame {
#[serde(with = "serde_bytes")]
Copy link
Member Author

@ptrus ptrus Sep 21, 2020

Choose a reason for hiding this comment

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

Note: serde_bytes now internally uses serde_bytes::{Serialize,Deserialize} traits, and is missing implementations for fixed sized byte arrays, so we cannot use it here anymore.

However serde_bytes is not even needed here since we implement "byte-array aware" serde serialization and deserialization methods in impl_bytes! anyway.

@ptrus ptrus marked this pull request as ready for review September 21, 2020 13:16
@ptrus ptrus merged commit 81a4143 into master Sep 21, 2020
@ptrus ptrus deleted the ptrus/feature/bump-serde branch September 21, 2020 16:13
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