We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97aa214 commit 2d31805Copy full SHA for 2d31805
mithril-common/src/crypto_helper/cardano/key_certification.rs
@@ -244,6 +244,13 @@ impl StmInitializerWrapper {
244
kes_signature,
245
})
246
}
247
+
248
+ cfg_test_tools! {
249
+ /// Override the protocol parameters of the `StmInitializer` for testing purposes only.
250
+ pub fn override_protocol_parameters(&mut self, protocol_parameters: &ProtocolParameters) {
251
+ self.stm_initializer.params = protocol_parameters.to_owned();
252
+ }
253
254
255
256
impl KeyRegWrapper {
0 commit comments