Trait sp_domains::DomainBundleSubmitted
source · pub trait DomainBundleSubmitted {
// Required method
fn domain_bundle_submitted(domain_id: DomainId);
}
Expand description
Post hook to know if the domain had bundle submitted in the previous block.
Required Methods§
sourcefn domain_bundle_submitted(domain_id: DomainId)
fn domain_bundle_submitted(domain_id: DomainId)
Called in the next block initialisation if there was a domain bundle in the previous block. This hook if called for domain represents that there is a new domain block for parent consensus block.
Object Safety§
This trait is not object safe.