next_block

Function next_block 

Source
pub fn next_block(block: &mut BlockInfo)
Expand description

Advances the blockchain environment to the next block in tests, enabling developers to simulate time-dependent contract behaviors and block-related triggers efficiently.