Skip to content
Merged
4 changes: 2 additions & 2 deletions rust/cardano-chain-follower/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ mithril-client = { version = "0.10.4", default-features = false, features = [
"full",
"num-integer-backend",
] }
cardano-blockchain-types = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250114-00" }
cardano-blockchain-types = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250214-00" }
catalyst-types = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250121-00" }

thiserror = "1.0.69"
Expand Down Expand Up @@ -63,7 +63,7 @@ test-log = { version = "0.2.16", default-features = false, features = [
"trace",
] }
clap = "4.5.23"
# rbac-registration = { version = "0.0.2", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "v0.0.8" }
rbac-registration = { version = "0.0.2", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250215-00" }

# Note, these features are for support of features exposed by dependencies.
[features]
Expand Down
12 changes: 10 additions & 2 deletions rust/cardano-chain-follower/examples/follow_chains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use cardano_blockchain_types::{
};
#[cfg(feature = "mimalloc")]
use mimalloc::MiMalloc;
use rbac_registration::cardano::cip509::Cip509;

/// Use Mimalloc for the global allocator.
#[cfg(feature = "mimalloc")]
Expand Down Expand Up @@ -457,8 +458,15 @@ fn log_bad_cip36_info(block: &MultiEraBlock, network: Network) {
}

/// Function for logging bad CIP509.
fn log_bad_cip509_info(_block: &MultiEraBlock, _network: Network) {
// TODO - Implement this function.
fn log_bad_cip509_info(block: &MultiEraBlock, network: Network) {
for cip509 in Cip509::from_block(block, &[]) {
if cip509.report().is_problematic() {
info!(
network = network.to_string(),
"CIP509 invalid: {:?}", cip509
);
}
}
}

#[tokio::main]
Expand Down