Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik committed Mar 25, 2024
1 parent a22923c commit f393740
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion primitives/runtime/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ macro_rules! decl_bridge_finality_runtime_apis {

/// Returns free headers interval, if it is configured in the runtime.
/// The caller expects that his transactions for every `N`th header
/// (where `N` is the configured interval) wil be fee-free.
/// (where `N` is the configured interval) will be fee-free.
///
/// See [`pallet_bridge_grandpa::Config::FreeHeadersInterval`] for details.
fn free_headers_interval() -> Option<BlockNumber>;
Expand Down
2 changes: 1 addition & 1 deletion relays/finality/src/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub enum JustifiedHeaderSelector<P: FinalitySyncPipeline> {
}

impl<P: FinalitySyncPipeline> JustifiedHeaderSelector<P> {
/// Selects last header with persitent justification, missing from the target and matching
/// Selects last header with persistent justification, missing from the target and matching
/// the `headers_to_relay` criteria.
pub(crate) async fn new<SC: SourceClient<P>, TC: TargetClient<P>>(
source_client: &SC,
Expand Down
1 change: 1 addition & 0 deletions relays/parachains/src/parachains_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ mod tests {
Result<Option<BlockNumberOf<TestChain>>, TestError>,
target_best_block: Result<HeaderIdOf<TestChain>, TestError>,
target_best_finalized_source_block: Result<HeaderIdOf<TestChain>, TestError>,
#[allow(clippy::type_complexity)]
target_head: Result<Option<(HeaderIdOf<TestChain>, HeaderIdOf<TestParachain>)>, TestError>,
target_submit_result: Result<(), TestError>,

Expand Down

0 comments on commit f393740

Please sign in to comment.