pub trait ConsensusUpdateRead: StateRead {
// Provided method
fn cometbft_validator_updates(&self) -> Option<Vec<Update>> { ... }
}
Available on crate feature
component
only.Provided Methods§
Sourcefn cometbft_validator_updates(&self) -> Option<Vec<Update>>
fn cometbft_validator_updates(&self) -> Option<Vec<Update>>
Returns a list of validator updates to send to Tendermint.
Set during end_block
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.