Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust/cardano-chain-follower/Cargo.toml
Original file line number Diff line number Diff line change
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 = "r20250217-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