header
Standalone Functions
get_header_at_oracle
get_header_at_oracle(_block_number);
Parameters
Name | Type |
---|---|
_block_number | u32 |
get_header_at_internal
get_header_at_internal(block_number);
Parameters
Name | Type |
---|---|
block_number | u32 |
get_header_at
get_header_at(block_number, context);
Parameters
Name | Type |
---|---|
block_number | u32 |
context | PrivateContext |
constrain_get_header_at_internal
constrain_get_header_at_internal(header_hint, block_number, last_archive_block_number, last_archive_root, );
Parameters
Name | Type |
---|---|
header_hint | Header |
block_number | u32 |
last_archive_block_number | u32 |
last_archive_root | Field |
fetching_a_valid_but_different_header_should_fail
fetching_a_valid_but_different_header_should_fail();
Takes no parameters.