Skip to content

Commit 56609ef

Browse files
Move payment history types
1 parent 7a31b92 commit 56609ef

File tree

6 files changed

+8
-67
lines changed

6 files changed

+8
-67
lines changed

rust/rbac-registration/src/cardano/cip509/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
pub use cip509::Cip509;
66
pub use rbac::{C509Cert, SimplePublicKeyType, X509DerCert};
77
pub use types::{
8-
CertKeyHash, KeyLocalRef, LocalRefInt, RoleData, RoleNumber, TxInputHash, ValidationSignature,
8+
CertKeyHash, KeyLocalRef, LocalRefInt, PaymentHistory, PointTxIdx, RoleData, RoleNumber,
9+
TxInputHash, ValidationSignature,
910
};
1011
pub use utils::Cip0134UriSet;
1112

rust/rbac-registration/src/cardano/cip509/types/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
33
pub use cert_key_hash::CertKeyHash;
44
pub use key_local_ref::{KeyLocalRef, LocalRefInt};
5+
pub use payment_history::PaymentHistory;
6+
pub use point_tx_idx::PointTxIdx;
57
pub use role_data::RoleData;
68
pub use role_number::RoleNumber;
79
pub use tx_input_hash::TxInputHash;
810
pub use validation_signature::ValidationSignature;
911

1012
mod cert_key_hash;
1113
mod key_local_ref;
14+
mod payment_history;
15+
mod point_tx_idx;
1216
mod role_data;
1317
mod role_number;
1418
mod tx_input_hash;

rust/rbac-registration/src/registration/cardano/mod.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
//! Chain of Cardano registration data
22
3-
pub mod payment_history;
4-
pub mod point_tx_idx;
5-
63
use std::{collections::HashMap, sync::Arc};
74

85
use anyhow::bail;
@@ -16,15 +13,13 @@ use pallas::{
1613
},
1714
network::miniprotocols::Point,
1815
};
19-
use payment_history::PaymentHistory;
20-
use point_tx_idx::PointTxIdx;
2116
use tracing::{error, warn};
2217
use uuid::Uuid;
2318
use x509_cert::certificate::Certificate as X509Certificate;
2419

2520
use crate::cardano::cip509::{
26-
C509Cert, CertKeyHash, Cip0134UriSet, Cip509, RoleData, RoleNumber, SimplePublicKeyType,
27-
X509DerCert,
21+
C509Cert, CertKeyHash, Cip0134UriSet, Cip509, PaymentHistory, PointTxIdx, RoleData, RoleNumber,
22+
SimplePublicKeyType, X509DerCert,
2823
};
2924

3025
/// Registration chains.

rust/rbac-registration/src/registration/cardano/role_data.rs

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)