Skip to content

Commit 4fa26f3

Browse files
committed
chore: apply latest change
1 parent 52f3eef commit 4fa26f3

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

catalyst-gateway/bin/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ repository.workspace = true
1515
workspace = true
1616

1717
[dependencies]
18-
cardano-chain-follower = { version = "0.0.4", git = "https://github.com/input-output-hk/catalyst-libs.git", rev = "bb3b10e175114f7171a974809bf60ab6d7bc0a93"}
18+
cardano-chain-follower = { version = "0.0.4", git = "https://github.com/input-output-hk/catalyst-libs.git", rev = "39f7de8527b8d34c6ca6c1fbf2b06644af885547"}
1919
c509-certificate = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "v0.0.3" }
2020

21-
pallas = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" }
22-
pallas-traverse = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" }
23-
#pallas-crypto = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" }
21+
pallas = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "c66bb4f1bb38ace465f6d385c195f98f09043f48" }
22+
pallas-traverse = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "c66bb4f1bb38ace465f6d385c195f98f09043f48" }
23+
#pallas-crypto = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "c66bb4f1bb38ace465f6d385c195f98f09043f48" }
2424

2525
clap = { version = "4.5.18", features = ["derive", "env"] }
2626
tracing = { version = "0.1.40", features = ["log"] }

catalyst-gateway/bin/src/cardano/util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub fn extract_stake_credentials_from_certs(
104104
StakeCredential::AddrKeyhash(stake_credential) => {
105105
stake_credentials.push(hex::encode(stake_credential.as_slice()));
106106
},
107-
StakeCredential::Scripthash(_) => (),
107+
StakeCredential::ScriptHash(_) => (),
108108
}
109109
},
110110
_ => continue,

catalyst-gateway/bin/src/db/index/block/certs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl CertInsertQuery {
168168
// witnessed.
169169
(cred.to_vec(), addr.clone(), false)
170170
},
171-
pallas::ledger::primitives::conway::StakeCredential::Scripthash(script) => {
171+
pallas::ledger::primitives::conway::StakeCredential::ScriptHash(script) => {
172172
(script.to_vec(), default_addr, true)
173173
},
174174
};

catalyst-gateway/bin/src/db/index/block/txo/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ impl TxoInsertQuery {
159159
txn,
160160
txo_index,
161161
&address,
162-
txo.lovelace_amount(),
162+
txo.value().coin(),
163163
txn_hash,
164164
);
165165

@@ -171,13 +171,13 @@ impl TxoInsertQuery {
171171
slot_no,
172172
txn,
173173
&address,
174-
txo.lovelace_amount(),
174+
txo.value().coin(),
175175
);
176176

177177
self.unstaked_txo.push(params);
178178
}
179179

180-
for asset in txo.non_ada_assets() {
180+
for asset in txo.value().assets() {
181181
let policy_id = asset.policy().to_vec();
182182
for policy_asset in asset.assets() {
183183
if policy_asset.is_output() {

0 commit comments

Comments
 (0)