Skip to content

Commit

Permalink
Bump to cml 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed May 2, 2024
1 parent b97c546 commit 7aa1e06
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 33 deletions.
50 changes: 27 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ members = [


[workspace.dependencies]
cml-chain = { git = "https://github.com/dcSpark/cardano-multiplatform-lib", branch = "new-conway-cddl-updates" }
cml-core = { git = "https://github.com/dcSpark/cardano-multiplatform-lib", branch = "new-conway-cddl-updates" }
cml-crypto = { git = "https://github.com/dcSpark/cardano-multiplatform-lib", branch = "new-conway-cddl-updates" }
cml-multi-era = { git = "https://github.com/dcSpark/cardano-multiplatform-lib", branch = "new-conway-cddl-updates" }
cml-chain = { version = "5.3.0" }
cml-core = { version = "5.3.0" }
cml-crypto = { version = "5.3.0" }
cml-multi-era = { version = "5.3.0" }
8 changes: 5 additions & 3 deletions indexer/tasks/src/multiera/multiera_drep_delegation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ carp_task! {
read [multiera_txs, multiera_stake_credential];
write [];
should_add_task |block, _properties| {
// recall: txs may have no outputs if they just burn all inputs as fee
// TODO: this runs slightly more than it should
!block.1.is_empty()
block
.1
.transaction_bodies()
.iter()
.any(|x| x.certs().is_some());
};
execute |previous_data, task| handle(
task.db_tx,
Expand Down
4 changes: 1 addition & 3 deletions indexer/tasks/src/multiera/multiera_governance_voting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ carp_task! {
read [multiera_txs];
write [];
should_add_task |block, _properties| {
// recall: txs may have no outputs if they just burn all inputs as fee
// TODO: this runs slightly more than it should
!block.1.is_empty()
block.1.transaction_bodies().iter().any(|x| x.voting_procedures().is_some())
};
execute |previous_data, task| handle(
task.db_tx,
Expand Down

0 comments on commit 7aa1e06

Please sign in to comment.