Skip to content

Move checkSymmetry to serializer, introduce checkFromBinary#724

Merged
AndrejMitrovic merged 2 commits intobosagora:v0.x.xfrom
Geod24:serialize-utils
Apr 5, 2020
Merged

Move checkSymmetry to serializer, introduce checkFromBinary#724
AndrejMitrovic merged 2 commits intobosagora:v0.x.xfrom
Geod24:serialize-utils

Conversation

@Geod24
Copy link
Contributor

@Geod24 Geod24 commented Apr 3, 2020

See each commit and their description. Related to #687

Geod24 added 2 commits April 3, 2020 18:20
Because it really does belong here.
Originally it was put in Types because Serializer and Deserializer were split,
so there was no 'common' module, but now that they are one, it makes sense to have it there.
As explained in the documentation, a common issue is non-compiling `fromBinary`.
@Geod24 Geod24 added the type-enhancement An improvement of existing functionalities label Apr 3, 2020
@codecov
Copy link

codecov bot commented Apr 3, 2020

Codecov Report

Merging #724 into v0.x.x will increase coverage by 0.19%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           v0.x.x     #724      +/-   ##
==========================================
+ Coverage   91.14%   91.33%   +0.19%     
==========================================
  Files          63       62       -1     
  Lines        4809     4892      +83     
==========================================
+ Hits         4383     4468      +85     
+ Misses        426      424       -2     
Flag Coverage Δ
#integration 53.85% <ø> (ø)
#unittests 90.11% <75.00%> (+0.21%) ⬆️
Impacted Files Coverage Δ
source/agora/common/Amount.d 100.00% <ø> (ø)
source/agora/consensus/Genesis.d 100.00% <ø> (ø)
source/agora/consensus/data/ConsensusData.d 100.00% <ø> (ø)
source/agora/consensus/data/Enrollment.d 100.00% <ø> (ø)
source/agora/consensus/data/PreimageInfo.d 100.00% <ø> (ø)
source/agora/common/Serializer.d 95.89% <75.00%> (-1.65%) ⬇️
source/agora/network/NetworkManager.d 79.61% <0.00%> (+0.63%) ⬆️
source/agora/common/Hash.d 98.33% <0.00%> (+1.66%) ⬆️
source/agora/consensus/protocol/Nominator.d 91.39% <0.00%> (+6.93%) ⬆️

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 7a99b4d...8916065. Read the comment docs.

@AndrejMitrovic AndrejMitrovic merged commit 34fd36b into bosagora:v0.x.x Apr 5, 2020
@Geod24 Geod24 deleted the serialize-utils branch April 5, 2020 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-enhancement An improvement of existing functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants