pub fn block_number<E>() -> E::BlockNumberwhere
    E: Environment,
Expand description

Returns the current block number.

Errors

If the returned value cannot be properly decoded.