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

keyamanger-runtime: replace with test/simple-keymanager #2837

Merged
merged 2 commits into from
Apr 14, 2020

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented Apr 13, 2020

Common keymanager initalization code is extracted into the keymanager-lib
crate. This enables for the actual key manager implementation to only
provide a set of key manager policy signers.

Aditionally the keymanager-runtime crate is removed and replaced with
a test simple-keymanager runtime that is used in E2E tests.

(not sure if "simple-keymanager" is the correct name)

TODO:

@codecov
Copy link

codecov bot commented Apr 13, 2020

Codecov Report

Merging #2837 into master will increase coverage by 0.14%.
The diff coverage is 82.35%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2837      +/-   ##
==========================================
+ Coverage   67.37%   67.51%   +0.14%     
==========================================
  Files         344      344              
  Lines       33071    33089      +18     
==========================================
+ Hits        22280    22340      +60     
+ Misses       7910     7863      -47     
- Partials     2881     2886       +5     
Impacted Files Coverage Δ
go/consensus/genesis/genesis.go 50.00% <ø> (ø)
go/consensus/tendermint/crypto/priv_val.go 48.83% <0.00%> (ø)
...o/oasis-node/cmd/identity/tendermint/tendermint.go 58.06% <0.00%> (ø)
go/consensus/tendermint/db/badger/badger.go 70.84% <77.77%> (+3.79%) ⬆️
go/consensus/tendermint/seed.go 70.00% <87.50%> (ø)
go/consensus/tendermint/api/api.go 73.58% <100.00%> (-15.10%) ⬇️
go/consensus/tendermint/roothash/roothash.go 71.53% <100.00%> (+5.99%) ⬆️
go/consensus/tendermint/tendermint.go 68.34% <100.00%> (+0.72%) ⬆️
go/consensus/tendermint/tests/evidence.go 95.74% <100.00%> (+0.18%) ⬆️
go/oasis-node/cmd/genesis/genesis.go 53.05% <100.00%> (+0.22%) ⬆️
... and 26 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 10f9623...bf9365d. Read the comment docs.

.changelog/2837.internal.md Outdated Show resolved Hide resolved
keymanager-api-common/src/lib.rs Outdated Show resolved Hide resolved
keymanager-client/src/client.rs Outdated Show resolved Hide resolved
tests/runtimes/simple-keymanager/src/main.rs Outdated Show resolved Hide resolved
@ptrus ptrus force-pushed the ptrus/internal/cleanup-keymanager-runtime branch from 797e56c to de2f3ca Compare April 14, 2020 07:39
@ptrus ptrus requested a review from kostko April 14, 2020 07:39
@ptrus ptrus force-pushed the ptrus/internal/cleanup-keymanager-runtime branch 3 times, most recently from f55cdff to 20e2c32 Compare April 14, 2020 08:26
@ptrus ptrus self-assigned this Apr 14, 2020
Common keymanager initalization code is extracted into the `keymanager-lib`
crate. This enables for the actual key manager implementation to only
provide a set of key manager policy signers.

Aditionally the `keymanager-runtime` crate is removed and replaced with
a test `simple-keymanager` runtime that is used in E2E tests.
@ptrus ptrus force-pushed the ptrus/internal/cleanup-keymanager-runtime branch from 45d98da to bf9365d Compare April 14, 2020 09:46
@ptrus ptrus added c:build Category: build environment c:runtime Category: runtime labels Apr 14, 2020
@ptrus ptrus merged commit 0757868 into master Apr 14, 2020
@ptrus ptrus deleted the ptrus/internal/cleanup-keymanager-runtime branch April 14, 2020 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:build Category: build environment c:runtime Category: runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants