-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
rpc/src/lib.rs
Outdated
B: Send + Sync + 'static + sc_client_api::Backend<Block>, | ||
<B as sc_client_api::Backend<Block>>::State: sp_state_machine::Backend<BlakeTwo256>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
B: Send + Sync + 'static + sc_client_api::Backend<Block>, | |
<B as sc_client_api::Backend<Block>>::State: sp_state_machine::Backend<BlakeTwo256>, | |
B: sc_client_api::Backend<Block> + Send + Sync + 'static, | |
B::State: sp_state_machine::Backend<sp_runtime::traits::HashFor<Block>>, |
rpc/src/lib.rs
Outdated
use sp_blockchain::{HeaderBackend, HeaderMetadata, Error as BlockChainError}; | ||
use sp_consensus::SelectChain; | ||
use sp_consensus_babe::BabeApi; | ||
use sp_runtime::traits::BlakeTwo256; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use sp_runtime::traits::BlakeTwo256; |
rpc/Cargo.toml
Outdated
@@ -13,6 +13,7 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master | |||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } | |||
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } | |||
sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } | |||
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it can be removed with the edits below.
Waiting for commit status. |
Blocked by #1734. Should be good to go after that. |
Head SHA changed; merge aborted. |
bot merge |
Waiting for commit status. |
Merge failed: |
(The pr also needs to update |
Thank you @octol, I realized I was stupid. |
Add an on-demand API that clients can call to catch up on the stream of proofs if they need to fill in missing proofs. For example after a period of being offline.
companion PR for: paritytech/substrate#6215