Skip to content

Commit f58f9cf

Browse files
committed
fix(cardano-blockchain-types): derive debug
Signed-off-by: bkioshn <[email protected]>
1 parent cd9ed28 commit f58f9cf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rust/cardano-blockchain-types/src/cip36/key_registration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use crate::utils::decode_helper::{decode_array_len, decode_bytes, decode_helper,
2828
// }
2929
/// ```
3030
#[allow(clippy::module_name_repetitions)]
31-
#[derive(Clone, Default)]
31+
#[derive(Clone, Default, Debug)]
3232
pub struct Cip36KeyRegistration {
3333
/// Is this CIP36 or CIP15 format.
3434
#[allow(clippy::struct_field_names)]

rust/cardano-blockchain-types/src/cip36/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use voting_pk::VotingPubKey;
1515
use crate::{MetadatumValue, Network};
1616

1717
/// CIP-36 Catalyst registration
18-
#[derive(Clone, Default)]
18+
#[derive(Clone, Default, Debug)]
1919
pub struct Cip36 {
2020
/// Key registration - 61284
2121
key_registration: Cip36KeyRegistration,
@@ -27,7 +27,7 @@ pub struct Cip36 {
2727

2828
/// Validation value for CIP-36.
2929
#[allow(clippy::struct_excessive_bools, clippy::module_name_repetitions)]
30-
#[derive(Clone, Default)]
30+
#[derive(Clone, Default, Debug)]
3131
pub struct Cip36Validation {
3232
/// Is the signature valid? (signature in 61285)
3333
pub is_valid_signature: bool,

rust/cardano-blockchain-types/src/cip36/registration_witness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use crate::utils::decode_helper::{decode_bytes, decode_helper, decode_map_len};
1515
/// }
1616
/// ```
1717
#[allow(clippy::module_name_repetitions)]
18-
#[derive(Clone, Default)]
18+
#[derive(Clone, Default, Debug)]
1919
pub struct Cip36RegistrationWitness {
2020
/// Signature of the registration data.
2121
pub signature: Option<ed25519_dalek::Signature>,

0 commit comments

Comments
 (0)