Skip to main content

header

Standalone Functions

get_header_at_oracle

get_header_at_oracle(_block_number);

Parameters

NameType
_block_numberu32

get_header_at_internal

get_header_at_internal(block_number);

Parameters

NameType
block_numberu32

get_header_at

get_header_at(block_number, context);

Parameters

NameType
block_numberu32
contextPrivateContext

constrain_get_header_at_internal

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

Parameters

NameType
header_hintHeader
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.