Trait oasis_runtime_sdk::module::BlockHandler
source · pub trait BlockHandler {
// Provided methods
fn begin_block<C: Context>(_ctx: &C) { ... }
fn end_block<C: Context>(_ctx: &C) { ... }
}
Expand description
Block handler.
Provided Methods§
sourcefn begin_block<C: Context>(_ctx: &C)
fn begin_block<C: Context>(_ctx: &C)
Perform any common actions at the start of the block (before any transactions have been executed).
Object Safety§
This trait is not object safe.