pub trait OnSystemEvent {
    fn on_validation_data(data: &PersistedValidationData);
    fn on_validation_code_applied();
}
Expand description

Something that should be informed about system related events.

This includes events like on_validation_data that is being called when the parachain inherent is executed that contains the validation data. Or like on_validation_code_applied that is called when the new validation is written to the state. This means that from the next block the runtime is being using this new code.

Required Methods§

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Implementations on Foreign Types§

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Called in each blocks once when the validation data is set by the inherent.

Called when the validation code is being applied, aka from the next block on this is the new runtime.

Implementors§