Skip to content

Commit e182213

Browse files
bkioshnstevenj
andauthored
fix(rust/cardano-chain-follower): Refactor chain follower to use cardano-blockchain-types (#115)
* fix(cardano-chain-follower): use Network, MultiEraBlock, Point from cardano-blockchain-types Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): comments Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): comments Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): fix type * fix(cardano-chain-follower): fix type stat * fix(cardano-chain-follower): fix type * fix(cardano-chain-follower): remove raw_aux_data Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): remove decoded_transaction Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): update cip509 Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): update cip36 Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): update metadata Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): update cip509 Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): nonce Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): update get metadata by label Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): slot Signed-off-by: bkioshn <[email protected]> * fix(cardano-blockchain-types): follow_chains.rs Signed-off-by: bkioshn <[email protected]> * fix(cardano-blockchain-types): decodedmetadata Signed-off-by: bkioshn <[email protected]> * fix(cardano-blockchain-types): cleanup cip36 Signed-off-by: bkioshn <[email protected]> * fix(cardano-blockchain-types): follow_chains.rs Signed-off-by: bkioshn <[email protected]> * fix(cardano-blockchain-types): cleanup Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): remove blake2b hash Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): usecip36 contructor Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): naming chain -> network Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): remove unnecessary file Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): use function from catalyst-types Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): minor fixes Signed-off-by: bkioshn <[email protected]> * test(cardano-chain-follower): recheck test in follow.rs Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): add blockchain-types and cat-types lib Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): try out new cip36 Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): remove redundant file data Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): break down stats Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): example log cip36 Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): remove unused dependencies Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): modify logging metadata example Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): revert changes Signed-off-by: bkioshn <[email protected]> * Update rust/cardano-chain-follower/Cargo.toml Co-authored-by: Steven Johnson <[email protected]> * fix(cardano-chain-follower): revert changes Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): new fork Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): add more function Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): tag cardano-blockchain-types Signed-off-by: bkioshn <[email protected]> * fix(cardano-chain-follower): magic number Signed-off-by: bkioshn <[email protected]> --------- Signed-off-by: bkioshn <[email protected]> Co-authored-by: Steven Johnson <[email protected]>
1 parent 64529b5 commit e182213

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+656
-4222
lines changed

rust/cardano-chain-follower/Cargo.toml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ pallas = { version = "0.30.1", git = "https://github.com/input-output-hk/catalys
1515
pallas-hardano = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" }
1616
pallas-crypto = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" }
1717

18-
# mithril-client = { version = "0.10.4", git = "https://github.com/input-output-hk/mithril", rev = "c6c7ebafae0158b2c1672eb96f6ef832fd542f93", default-features = false, features = [
1918
mithril-client = { version = "0.10.4", default-features = false, features = [
2019
"full",
2120
"num-integer-backend",
2221
] }
23-
24-
rbac-registration = { version = "0.0.2", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "v0.0.8" }
22+
cardano-blockchain-types = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250114-00" }
23+
catalyst-types = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250108-00" }
2524

2625
thiserror = "1.0.69"
2726
tokio = { version = "1.42.0", features = [
@@ -37,26 +36,20 @@ url = "2.5.4"
3736
anyhow = "1.0.95"
3837
chrono = "0.4.39"
3938
async-trait = "0.1.83"
40-
dirs = "5.0.1"
4139
futures = "0.3.31"
4240
humantime = "2.1.0"
4341
crossbeam-skiplist = "0.1.3"
4442
crossbeam-channel = "0.5.14"
4543
crossbeam-epoch = "0.9.18"
4644
strum = "0.26.3"
47-
ouroboros = "0.18.4"
4845
hex = "0.4.3"
4946
rayon = "1.10.0"
5047
serde = "1.0.217"
5148
serde_json = "1.0.134"
5249
mimalloc = { version = "0.1.43", optional = true }
5350
memx = "0.1.32"
5451
fmmap = { version = "0.3.3", features = ["sync", "tokio-async"] }
55-
minicbor = { version = "0.25.1", features = ["alloc", "derive", "half"] }
5652
zstd = "0.13.2"
57-
ed25519-dalek = "2.1.1"
58-
blake2b_simd = "1.0.2"
59-
num-traits = "0.2.19"
6053
logcall = "0.1.11"
6154
tar = "0.4.43"
6255
ureq = { version = "2.12.1", features = ["native-certs"] }
@@ -65,12 +58,12 @@ hickory-resolver = { version = "0.24.2", features = ["dns-over-rustls"] }
6558
moka = { version = "0.12.9", features = ["sync"] }
6659

6760
[dev-dependencies]
68-
hex = "0.4.3"
6961
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
7062
test-log = { version = "0.2.16", default-features = false, features = [
7163
"trace",
7264
] }
7365
clap = "4.5.23"
66+
# rbac-registration = { version = "0.0.2", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "v0.0.8" }
7467

7568
# Note, these features are for support of features exposed by dependencies.
7669
[features]

0 commit comments

Comments
 (0)