Expand description
Test data builders for Mithril STM types, for testing purpose.
Functionsยง
- setup_
certificate_ chain - Instantiate a certificate chain, use this for tests only.
- setup_
message - Instantiate a ProtocolMessage using fake data, use this for tests only.
- setup_
protocol_ parameters - Instantiate a ProtocolParameters, use this for tests only.
- setup_
signers_ from_ stake_ distribution - Instantiate a list of protocol signers based on the given ProtocolStakeDistribution and ProtocolParameters, use this for tests only.
- setup_
temp_ directory_ for_ signer - Create or retrieve a temporary directory for storing cryptographic material for a signer, use this for tests only.