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

runtime: Replace serde-cbor with oasis-cbor #4133

Merged
merged 3 commits into from
Jul 19, 2021
Merged

Conversation

kostko
Copy link
Member

@kostko kostko commented Jul 16, 2021

Includes two cleanup commits from #4101.

TODO

  • Use released version of oasis-cbor.

@kostko kostko force-pushed the kostko/feature/oasis-cbor branch 4 times, most recently from 458bb3a to a785d69 Compare July 18, 2021 12:31
@kostko kostko changed the title runtime: Add initial support for oasis-cbor runtime: Replace serde-cbor with oasis-cbor Jul 18, 2021
@kostko kostko force-pushed the kostko/feature/oasis-cbor branch 2 times, most recently from 6811ed7 to 69c4631 Compare July 18, 2021 19:39
@codecov
Copy link

codecov bot commented Jul 18, 2021

Codecov Report

Merging #4133 (5efb439) into master (fd9abd9) will decrease coverage by 0.53%.
The diff coverage is n/a.

❗ Current head 5efb439 differs from pull request most recent head 56c9a51. Consider uploading reports for the commit 56c9a51 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4133      +/-   ##
==========================================
- Coverage   69.18%   68.65%   -0.54%     
==========================================
  Files         411      410       -1     
  Lines       47363    47250     -113     
==========================================
- Hits        32770    32440     -330     
- Misses      10556    10790     +234     
+ Partials     4037     4020      -17     
Impacted Files Coverage Δ
...nsensus/tendermint/apps/keymanager/transactions.go 0.00% <0.00%> (-52.95%) ⬇️
go/ias/http/http.go 20.33% <0.00%> (-44.07%) ⬇️
go/keymanager/api/policy_sgx.go 33.33% <0.00%> (-13.34%) ⬇️
go/storage/api/context.go 87.87% <0.00%> (-12.13%) ⬇️
go/runtime/host/sandbox/sandbox.go 71.06% <0.00%> (-9.90%) ⬇️
go/oasis-node/cmd/ias/auth.go 68.96% <0.00%> (-6.90%) ⬇️
...consensus/tendermint/apps/keymanager/keymanager.go 59.34% <0.00%> (-6.60%) ⬇️
go/oasis-node/cmd/keymanager/keymanager.go 45.70% <0.00%> (-5.27%) ⬇️
go/storage/api/root_cache.go 75.00% <0.00%> (-4.17%) ⬇️
go/runtime/host/protocol/connection.go 65.25% <0.00%> (-3.87%) ⬇️
... and 43 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 fd9abd9...56c9a51. Read the comment docs.

@kostko kostko force-pushed the kostko/feature/oasis-cbor branch from 69c4631 to 5efb439 Compare July 19, 2021 07:15
@kostko kostko marked this pull request as ready for review July 19, 2021 07:15
@@ -161,8 +190,8 @@ pub enum Body {
header: Header,
epoch: EpochTime,
method: String,
#[serde(skip_serializing_if = "Option::is_none")]
args: Option<cbor::Value>,
#[cbor(optional)]
Copy link
Member

Choose a reason for hiding this comment

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

nice 👍

@kostko kostko force-pushed the kostko/feature/oasis-cbor branch from 5efb439 to 56c9a51 Compare July 19, 2021 18:16
@kostko kostko enabled auto-merge July 19, 2021 18:21
@kostko kostko merged commit a1c9fe9 into master Jul 19, 2021
@kostko kostko deleted the kostko/feature/oasis-cbor branch July 19, 2021 18:45
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

3 participants