mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
Rewrap all comments to 100 line width (#9490)
* reformat everything again * manual formatting * last manual fix * Fix build
This commit is contained in:
@@ -128,12 +128,11 @@ pub enum ChangesTrieSignal {
|
||||
///
|
||||
/// The block that emits this signal will contain changes trie (CT) that covers
|
||||
/// blocks range [BEGIN; current block], where BEGIN is (order matters):
|
||||
/// - LAST_TOP_LEVEL_DIGEST_BLOCK+1 if top level digest CT has ever been created
|
||||
/// using current configuration AND the last top level digest CT has been created
|
||||
/// at block LAST_TOP_LEVEL_DIGEST_BLOCK;
|
||||
/// - LAST_CONFIGURATION_CHANGE_BLOCK+1 if there has been CT configuration change
|
||||
/// before and the last configuration change happened at block
|
||||
/// LAST_CONFIGURATION_CHANGE_BLOCK;
|
||||
/// - LAST_TOP_LEVEL_DIGEST_BLOCK+1 if top level digest CT has ever been created using current
|
||||
/// configuration AND the last top level digest CT has been created at block
|
||||
/// LAST_TOP_LEVEL_DIGEST_BLOCK;
|
||||
/// - LAST_CONFIGURATION_CHANGE_BLOCK+1 if there has been CT configuration change before and
|
||||
/// the last configuration change happened at block LAST_CONFIGURATION_CHANGE_BLOCK;
|
||||
/// - 1 otherwise.
|
||||
NewConfiguration(Option<ChangesTrieConfiguration>),
|
||||
}
|
||||
|
||||
@@ -55,8 +55,9 @@ pub enum Era {
|
||||
// phase = 1
|
||||
// n = Q(current - phase, period) + phase
|
||||
impl Era {
|
||||
/// Create a new era based on a period (which should be a power of two between 4 and 65536 inclusive)
|
||||
/// and a block number on which it should start (or, for long periods, be shortly after the start).
|
||||
/// Create a new era based on a period (which should be a power of two between 4 and 65536
|
||||
/// inclusive) and a block number on which it should start (or, for long periods, be shortly
|
||||
/// after the start).
|
||||
///
|
||||
/// If using `Era` in the context of `FRAME` runtime, make sure that `period`
|
||||
/// does not exceed `BlockHashCount` parameter passed to `system` module, since that
|
||||
|
||||
Reference in New Issue
Block a user