Expand description
Utilities for testing runtime code.
Structs
- A test account which can be used to sign messages.
- Configuration parameters when generating test GRANDPA justifications.
Constants
- Set of test accounts with friendly names.
Functions
- Get a list of “unique” accounts.
- Convenience function to get a list of Grandpa authority addresses.
- Convenience function to get a list of Grandpa authorities.
- Convenience function for generating a Header ID at a given block number.
- Make a valid GRANDPA justification with sensible defaults
- Generate justifications in a way where we are able to tune the number of pre-commits and vote ancestries which are included in the justification.
- Create signed precommit with given target.
- Get a header for testing.
- Get a header for testing, with correct parent_hash
- Get the corresponding identities from the keyring for the “standard” authority set.
- Get a valid set of voters for a Grandpa round.