Skip to main content

block_header

Standalone Functions

get_block_header_at_oracle

get_block_header_at_oracle(_block_number);

Parameters

NameType
_block_numberu32

get_block_header_at_internal

get_block_header_at_internal(block_number);

Parameters

NameType
block_numberu32

get_block_header_at

get_block_header_at(block_number, context);

Parameters

NameType
block_numberu32
contextPrivateContext

constrain_get_block_header_at_internal

constrain_get_block_header_at_internal(header_hint, block_number, last_archive_block_number, last_archive_root, );

Parameters

NameType
header_hintBlockHeader
block_numberu32
last_archive_block_numberu32
last_archive_rootField

fetching_a_valid_but_different_header_should_fail

fetching_a_valid_but_different_header_should_fail();

Takes no parameters.