Expand description
Test utilities for Mithril STM types
Structs§
- KesSigner
Fake - Fake KES Signer implementation.
Traits§
- MKProof
Test Extension - Extension trait adding test utilities to MKProof
- Protocol
Initializer Test Extension - Extension trait adding test utilities to ProtocolInitializer
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.