Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8dbeae7
runtime/vstaging: unapplied_slashes runtime API
Feb 1, 2023
d3273d7
runtime/vstaging: key_ownership_proof runtime API
Feb 2, 2023
8394592
runtime/ParachainHost: submit_report_dispute_lost
Feb 2, 2023
d31edbb
fix key_ownership_proof API
Feb 2, 2023
5808d0b
runtime: submit_report_dispute_lost runtime API
Feb 3, 2023
78d9da0
nits
Feb 3, 2023
7caf651
Update node/subsystem-types/src/messages.rs
Feb 5, 2023
ab08d67
merge master and resolve ExecutorParams conflicts
Feb 27, 2023
62e3831
revert unrelated fmt changes
Feb 27, 2023
f2119e4
Merge branch 'master' into ao-past-session-slashing-runtime
Mar 7, 2023
35d76d3
merge master, resolve conflicts, bump to v5
Mar 16, 2023
a150569
Merge branch 'master' into ao-past-session-slashing-runtime
Mar 21, 2023
fbc0e9d
Merge branch 'master' into ao-past-session-slashing-runtime
Mar 23, 2023
2ba635b
Merge branch 'master' into ao-past-session-slashing-runtime
Mar 29, 2023
ef78e51
post merge fixes
Mar 29, 2023
4f660d1
Merge branch 'master' into ao-past-session-slashing-runtime
Apr 12, 2023
a58b144
Merge branch 'master' into ao-past-session-slashing-runtime
Apr 26, 2023
bce0379
fix compilation
Apr 24, 2023
f45594d
Merge branch 'master' into ao-past-session-slashing-runtime
May 23, 2023
9cb0723
Merge branch 'master' into ao-past-session-slashing-runtime
May 24, 2023
1ae22c5
Merge branch 'master' into ao-past-session-slashing-runtime
May 24, 2023
f2bcd9b
Merge branch 'master' into ao-past-session-slashing-runtime
May 25, 2023
f621e4a
Merge branch 'master' into ao-past-session-slashing-runtime
May 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into ao-past-session-slashing-runtime
* master:
  Companion: wasm-builder support stable Rust (#6967)
  Fix feature (#6966)
  configuration: backport async backing parameters from the feature branch (#6961)
  Histogram support in runtime metrics (#6935)
  Bump openssl from 0.10.38 to 0.10.48 (#6955)
  Proxy for Nomination Pools (#6846)
  Nomination Pools migration v5: RewardPool fix (#6957)
  bump timestamp script to v0.2 (#6954)
  Subsystem channel tweaks (#6905)
  Companion for #13683 (#6944)
  inherent disputes: remove per block initializer and disputes timeout event (#6937)
  • Loading branch information
Andronik committed Mar 29, 2023
commit 2ba635b0738e2024180d9e6047bddac45cf91f44
23 changes: 22 additions & 1 deletion primitives/src/vstaging/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,26 @@
//! Staging Primitives.

// Put any primitives used by staging APIs functions here
pub use crate::v4::*;
use sp_std::prelude::*;

pub mod slashing;
use parity_scale_codec::{Decode, Encode};
use primitives::RuntimeDebug;
use scale_info::TypeInfo;

/// Candidate's acceptance limitations for asynchronous backing per relay parent.
#[derive(RuntimeDebug, Copy, Clone, PartialEq, Encode, Decode, TypeInfo)]
#[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))]
pub struct AsyncBackingParams {
/// The maximum number of para blocks between the para head in a relay parent
/// and a new candidate. Restricts nodes from building arbitrary long chains
/// and spamming other validators.
///
/// When async backing is disabled, the only valid value is 0.
pub max_candidate_depth: u32,
/// How many ancestors of a relay parent are allowed to build candidates on top
/// of.
///
/// When async backing is disabled, the only valid value is 0.
pub allowed_ancestry_len: u32,
}
You are viewing a condensed version of this merge commit. You can view the full changes here.