This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Async keystore + Authority-Discovery async/await #7000
Merged
Merged
Changes from 1 commit
Commits
Show all changes
139 commits
Select commit
Hold shift + click to select a range
6ca9f1b
Asyncify sign_with
139e31b
Asyncify generate/get keys
0a9ff21
Complete BareCryptoStore asyncification
2d4e2c9
Cleanup
dd001bb
Rebase
1949f7c
Add Proxy
88d48e6
Inject keystore proxy into extensions
a6f6ffc
Implement some methods
d7714e9
Await on send
73a32cf
Cleanup
b540f7a
Send result over the oneshot channel sender
391fd8a
Process one future at a time
0c352da
Fix cargo stuff
0bf4779
Asyncify sr25519_vrf_sign
700dcbf
Cherry-pick and fix changes
de8d0a9
Introduce SyncCryptoStore
ec5cc86
SQUASH ME WITH THE first commit
6fd1dfd
Implement into SyncCryptoStore
8c69a47
Implement BareCryptoStore for KeystoreProxyAdapter
0f4a993
authority-discovery
f199295
AURA
f1b9a50
BABE
a7dfb5b
finality-grandpa
8be5932
offchain-workers
05734ca
benchmarking-cli
e333cc6
sp_io
c25fc7b
test-utils
fcb9fff
application-crypto
8393835
Extensions and RPC
d428bc2
Client Service
1833dcf
bin
a51c40b
Update cargo.lock
437fb10
Implement BareCryptoStore on proxy directly
ce83c89
Simplify proxy setup
5632e8b
Fix authority-discover
49b58cb
Pass async keystore to authority-discovery
774c7d9
Fix tests
c3d976a
Use async keystore in authority-discovery
0a97a02
Rename BareCryptoStore to CryptoStore
e95ff86
WIP
bae8aee
Remote mutable borrow in CryptoStore trait
09c61ab
Implement Keystore with backends
4533975
Remove Proxy implementation
d0884ef
Fix service builder and keystore user-crates
54a0573
Fix tests
a0b73d2
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
3165841
Rework authority-discovery after refactoring
0eed201
futures::select!
9e2a0ac
Fix multiple mut borrows in authority-discovery
312cc5b
Merge fixes
b0cc694
Require sync
6bb48a2
Restore Cargo.lock
387da2e
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
cdf43e6
PR feedback - round 1
fd00d9b
Remove Keystore and use LocalKeystore directly
68965ce
Join
b0a6fce
Remove sync requirement
da4c039
Fix keystore tests
3fca456
Fix tests
325fe0d
client/authority-discovery: Remove event stream dynamic dispatching
mxinden 0be4d79
Make it compile
792292c
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
4d8654f
Fix submit_transaction
4f6a5e5
Fix block_on issue
54304e4
Use await in async context
a710060
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
b471f58
Fix manual seal keystore
e1f18cc
Fix authoring_blocks test
0ec4fde
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
230103a
fix aura authoring_blocks
100a09c
Try to fix tests for auth-discovery
8509a1b
client/authority-discovery: Fix lookup_throttling test
mxinden e4bb4b9
client/authority-discovery: Fix triggers_dht_get_query test
mxinden 873afc0
Fix epoch_authorship_works
e67e615
client/authority-discovery: Remove timing assumption in unit test
mxinden 7c4a12d
client/authority-discovery: Revert changes to termination test
mxinden bdf2e27
PR feedback
e9ef22f
Remove deadcode and mark test code
e53226b
Fix test_sync
3c1a606
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
d739ddf
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
bcfa470
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
cc0cf4e
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
9897f53
Use the correct keyring type
8124deb
Return when from_service stream is closed
ac63821
Convert SyncCryptoStore to a trait
64b4d9c
Fix line width
3ad796b
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
ac45a38
Fix line width - take 2
c26f7f6
Remove unused import
84f307f
Fix keystore instantiation
221e1f6
PR feedback
ca8e6a8
Merge branch 'master' into pr/7000
shawntabrizi 9aa1152
Remove KeystoreContainer
d9cf952
Merge branch 'async-keystore-auth-discovery' of github.com:rakanalh/s…
814eef0
Revert "Remove KeystoreContainer"
edb4ecb
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
576943e
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
b6b08a5
Take a ref of keystore
d44cfe8
Move keystore to dev-dependencies
adbba45
Address some PR feedback
89ccff5
Missed one
07134dd
Pass keystore reference - take 2
db70636
client/finality-grandpa: Use `Arc<dyn CryptoStore>` instead of SyncXXX
mxinden ad69c2c
Remove SyncCryptoStorePtr
453d944
Remove KeystoreContainer & SyncCryptoStorePtr
331807e
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
4622550
PR feedback
2885dd8
*: Use CryptoStorePtr whereever possible
mxinden 757061c
*: Define SyncCryptoStore as a pure extension trait of CryptoStore
mxinden 99e005f
Follow up to SyncCryptoStore extension trait
2bc499e
Adjust docs for SyncCryptoStore as Ben suggested
a71f01f
Cleanup unnecessary requirements
2c74c4d
sp-keystore
a56121e
Use async_std::task::block_on in keystore
667e878
Fix block_on std requirement
c6df3de
Update primitives/keystore/src/lib.rs
rakanalh 015866d
Fix wasm build
c789610
Merge branch 'async-keystore-auth-discovery' of github.com:rakanalh/s…
31d4176
Remove unused var
3e666fe
Fix wasm compilation - take 2
f5acb5d
Revert async-std in keystore
360d730
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
4c74e9d
Fix indent
b5a66db
Fix version and copyright
8d5f685
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
9e170f2
Cleanup feature = "std"
a176da9
Auth Discovery: Ignore if from_service is cloed
a5fa388
Max's suggestion
9a4ede4
Revert async-std usage for block_on
6346a13
Address PR feedback
086d702
Fix example offchain worker build
72fb7ad
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
a5f4bd1
Address PR feedback
eaae1ce
Merge remote-tracking branch 'upstream/master' into async-keystore-au…
ae6d14f
Update Cargo.lock
a8e96f8
Move unused methods to test helper functions
757a5d8
Restore accidentally deleted cargo.lock files
d2a5de4
Fix unused imports
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Client Service
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.