Synopsis
PreBlocker is optional method module developers can implement in their module. They will be triggered before BeginBlock.Pre-requisite Readings
PreBlocker
There are two semantics around the new lifecycle method:- It runs before the
BeginBlockerof all modules - It can modify consensus parameters in storage, and signal the caller through the return value.
ConsensusParamsChanged=true, the caller must refresh the consensus parameter in the deliver context: