Skip to content

Commit aedf6c5

Browse files
authored
Merge branch 'main' into refactor/rbac-validation-logic
2 parents 0f1ed38 + 4b8a4e8 commit aedf6c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rust/rbac-registration/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "rbac-registration"
33
description = "Role Based Access Control Registration"
44
keywords = ["cardano", "catalyst", "rbac registration"]
5-
version = "0.0.11"
5+
version = "0.0.12"
66
authors = [
77
"Arissara Chotivichit <[email protected]>"
88
]
@@ -35,5 +35,5 @@ thiserror = "2.0.11"
3535
c509-certificate = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "c509-certificate-v0.0.3" }
3636
cardano-chain-follower = { version = "0.0.15", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "cardano-chain-follower/v0.0.15" }
3737
cbork-utils = { version = "0.0.2", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "cbork-utils-v0.0.2" }
38-
cardano-blockchain-types = { version = "0.0.6", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "cardano-blockchain-types/v0.0.6" }
38+
cardano-blockchain-types = { version = "0.0.7", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "cardano-blockchain-types/v0.0.7" }
3939
catalyst-types = { version = "0.0.8", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "catalyst-types/v0.0.8" }

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ fn validate_x509_self_signed_cert(
357357
#[allow(clippy::similar_names)]
358358
pub fn validate_role_data(
359359
metadata: &Cip509RbacMetadata,
360-
subnet: Network,
360+
subnet: &Network,
361361
report: &ProblemReport,
362362
) -> Option<CatalystId> {
363363
let context = "Role data validation";
@@ -474,7 +474,7 @@ pub fn validate_role_data(
474474
fn validate_role_0(
475475
role: &RoleData,
476476
metadata: &Cip509RbacMetadata,
477-
subnet: Network,
477+
subnet: &Network,
478478
context: &str,
479479
report: &ProblemReport,
480480
) -> Option<CatalystId> {

0 commit comments

Comments
 (0)