Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
8475048a
Unverified
Commit
8475048a
authored
Jun 17, 2021
by
asynchronous rob
Committed by
GitHub
Jun 17, 2021
Browse files
add revert consensus log (#3275)
parent
f6a789b0
Pipeline
#142987
passed with stages
in 41 minutes and 12 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
primitives/src/v1/mod.rs
View file @
8475048a
...
...
@@ -1046,6 +1046,16 @@ pub enum ConsensusLog {
/// number in the current chain, inclusive.
#[codec(index
=
3
)]
ForceApprove
(
BlockNumber
),
/// A signal to revert the block number in the same chain as the
/// header this digest is part of and all of its descendents.
///
/// It is a no-op for a block to contain a revert digest targeting
/// its own number or a higher number.
///
/// In practice, these are issued when on-chain logic has detected an
/// invalid parachain block within its own chain, due to a dispute.
#[codec(index
=
4
)]
Revert
(
BlockNumber
)
}
impl
ConsensusLog
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment