Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into update-some-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored Nov 9, 2022
2 parents de8f2d1 + 846e6ea commit 216f1f9
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 39 deletions.
43 changes: 12 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ members = [
# This list is ordered alphabetically.
[profile.dev.package]
blake2 = { opt-level = 3 }
blake2-rfc = { opt-level = 3 }
blake2b_simd = { opt-level = 3 }
chacha20poly1305 = { opt-level = 3 }
cranelift-codegen = { opt-level = 3 }
Expand Down
2 changes: 1 addition & 1 deletion bin/node/bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fs_extra = "1"
rand = { version = "0.7.2", features = ["small_rng"] }
lazy_static = "1.4.0"
parity-util-mem = { version = "0.12.0", default-features = false, features = ["primitive-types"] }
parity-db = { version = "0.3" }
parity-db = "0.4.2"
sc-transaction-pool = { version = "4.0.0-dev", path = "../../../client/transaction-pool" }
sc-transaction-pool-api = { version = "4.0.0-dev", path = "../../../client/transaction-pool/api" }
futures = { version = "0.3.21", features = ["thread-pool"] }
2 changes: 1 addition & 1 deletion client/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ kvdb-memorydb = "0.12.0"
kvdb-rocksdb = { version = "0.16.0", optional = true }
linked-hash-map = "0.5.4"
log = "0.4.17"
parity-db = "0.3.16"
parity-db = "0.4.2"
parking_lot = "0.12.1"
sc-client-api = { version = "4.0.0-dev", path = "../api" }
sc-state-db = { version = "0.10.0-dev", path = "../state-db" }
Expand Down
2 changes: 1 addition & 1 deletion client/service/src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ where

// Ensure parent chain is finalized to maintain invariant that finality is called
// sequentially.
if finalized && parent_exists {
if finalized && parent_exists && info.finalized_hash != parent_hash {
self.apply_finality_with_block_hash(
operation,
parent_hash,
Expand Down
8 changes: 4 additions & 4 deletions frame/scheduler/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,15 +277,15 @@ pub mod pallet {
/// Dispatched some task.
Dispatched {
task: TaskAddress<T::BlockNumber>,
id: Option<[u8; 32]>,
id: Option<TaskName>,
result: DispatchResult,
},
/// The call for the provided hash was not found so the task has been aborted.
CallUnavailable { task: TaskAddress<T::BlockNumber>, id: Option<[u8; 32]> },
CallUnavailable { task: TaskAddress<T::BlockNumber>, id: Option<TaskName> },
/// The given task was unable to be renewed since the agenda is full at that block.
PeriodicFailed { task: TaskAddress<T::BlockNumber>, id: Option<[u8; 32]> },
PeriodicFailed { task: TaskAddress<T::BlockNumber>, id: Option<TaskName> },
/// The given task can never be executed since it is overweight.
PermanentlyOverweight { task: TaskAddress<T::BlockNumber>, id: Option<[u8; 32]> },
PermanentlyOverweight { task: TaskAddress<T::BlockNumber>, id: Option<TaskName> },
}

#[pallet::error]
Expand Down

0 comments on commit 216f1f9

Please sign in to comment.