Expand description
Functions§
- consume_
weight_ inherent - Consume weight via inherent call (clears the storage after consuming).
- queue_
hrmp_ messages - Queues
nsmall HRMP messages torecipient. - queue_
hrmp_ messages_ to_ n_ recipients - Queues one HRMP message each to
nconsecutive recipients starting fromfirst_recipient. - read_
and_ write_ big_ value - Reads a key and writes a big value under this key.
- read_
and_ write_ child_ tries - A dispatchable that first reads two values from two different child tries, asserts they are the expected values (if the values exist in the state) and then writes two different values to these child tries.
- remove_
value_ from_ map - Removes the value associated with
keyfromTestMap. - schedule_
weight_ registration - Schedule a 1 second weight registration in the next
on_initialize. - send_
n_ upward_ messages - Directly sets
nsmall UMP messages inPendingUpwardMessages. - send_
upward_ message_ of_ size - Sends a UMP message of specific size (in bytes).
- set_
custom_ validation_ head_ data - A test dispatchable for setting a custom head data in
validate_block. - set_
inherent_ weight_ consume - Set the weight to be consumed by the next inherent call.
- set_
use_ full_ core - Deposits the
UseFullCoredigest item to signal that this block should use the full core. - store_
values_ in_ map - Stores
()inTestMapfor keys from 0 up tomax_key. - use_
more_ weight_ than_ announced - This function registers a high weight usage manually, while it actually only announces
to use a weight of
0:)