Skip to content

Commit 5934fd4

Browse files
Fix after merge
1 parent ea67b47 commit 5934fd4

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
use std::{borrow::Cow, collections::HashMap};
66

77
use anyhow::anyhow;
8-
use cardano_blockchain_types::{
8+
use cardano_blockchain_types::{MultiEraBlock, TxnIndex};
9+
use catalyst_types::{
910
hashes::{Blake2b256Hash, BLAKE_2B256_SIZE},
10-
MultiEraBlock, TxnIndex,
11+
problem_report::ProblemReport,
1112
};
12-
use catalyst_types::problem_report::ProblemReport;
1313
use cbork_utils::decode_helper::{decode_bytes, decode_helper, decode_map_len};
1414
use minicbor::{
1515
decode::{self},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Transaction input hash type
22
33
use anyhow::Context;
4-
use cardano_blockchain_types::hashes::Blake2b128Hash;
4+
use catalyst_types::hashes::Blake2b128Hash;
55

66
/// A 16-byte hash of the transaction inputs field.
77
///

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
2424
use std::borrow::Cow;
2525

26-
use cardano_blockchain_types::{
26+
use cardano_blockchain_types::{TxnWitness, VKeyHash};
27+
use catalyst_types::{
2728
hashes::{Blake2b128Hash, Blake2b256Hash},
28-
TxnWitness, VKeyHash,
29+
problem_report::ProblemReport,
2930
};
30-
use catalyst_types::problem_report::ProblemReport;
3131
use pallas::{
3232
codec::{
3333
minicbor::{Encode, Encoder},
@@ -193,7 +193,6 @@ pub fn validate_role_signing_key(role_data: &RoleData, report: &ProblemReport) {
193193
mod tests {
194194
use std::str::FromStr;
195195

196-
use cardano_blockchain_types::hashes::Blake2b256Hash;
197196
use uuid::Uuid;
198197

199198
use super::*;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::{collections::HashMap, sync::Arc};
44

55
use anyhow::bail;
66
use c509_certificate::c509::C509;
7-
use cardano_blockchain_types::hashes::Blake2b256Hash;
7+
use catalyst_types::hashes::Blake2b256Hash;
88
use ed25519_dalek::VerifyingKey;
99
use tracing::{error, warn};
1010
use uuid::Uuid;

0 commit comments

Comments
 (0)