Skip to content

Commit

Permalink
Merge pull request #2783 from IntersectMBO/artur/update-db-sync-utils
Browse files Browse the repository at this point in the history
Update db-sync utils for 13.6.0.1 release
  • Loading branch information
mkoura authored Nov 21, 2024
2 parents ec51d7f + f12b35d commit 221774b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/env_nightly_dbsync
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ COMMAND_ERA=conway
MARKEXPR=dbsync
CLUSTERS_COUNT=4
ENABLE_LEGACY=true
DBSYNC_REV=13.5.0.0
DBSYNC_TAR_URL=https://github.com/IntersectMBO/cardano-db-sync/releases/download/13.5.0.0/cardano-db-sync-13.5.0.0-linux.tar.gz
DBSYNC_REV=13.6.0.1
DBSYNC_TAR_URL=https://github.com/IntersectMBO/cardano-db-sync/releases/download/13.6.0.1/cardano-db-sync-13.6.0.1-linux.tar.gz
DBSYNC_SKIP_INDEXES=true
4 changes: 2 additions & 2 deletions .github/env_nightly_dbsync_pv10
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ COMMAND_ERA=conway
PV10=true
MARKEXPR=dbsync
CLUSTERS_COUNT=4
DBSYNC_REV=13.5.0.0
DBSYNC_TAR_URL=https://github.com/IntersectMBO/cardano-db-sync/releases/download/13.5.0.0/cardano-db-sync-13.5.0.0-linux.tar.gz
DBSYNC_REV=13.6.0.1
DBSYNC_TAR_URL=https://github.com/IntersectMBO/cardano-db-sync/releases/download/13.6.0.1/cardano-db-sync-13.6.0.1-linux.tar.gz
DBSYNC_SKIP_INDEXES=true
5 changes: 2 additions & 3 deletions cardano_node_tests/utils/dbsync_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1270,12 +1270,11 @@ def check_treasury_withdrawal(stake_address: str, transfer_amts: tp.List[int], t
rem_amts.remove(r_amount)
assert row.ratified_epoch, "Action not marked as ratified in db-sync"
assert row.enacted_epoch, "Action not marked as enacted in db-sync"
assert not row.dropped_epoch, "Action marked as dropped in db-sync"
assert not row.expired_epoch, "Action marked as expired in db-sync"
assert (
row.enacted_epoch == row.ratified_epoch + 1
), "Wrong relation between enacted and ratified epochs in db-sync"
assert (
row.enacted_epoch == row.dropped_epoch
), "Wrong relation between enacted and dropped epochs in db-sync"


def check_reward_rest(stake_address: str, transfer_amts: tp.List[int], type: str = "") -> None:
Expand Down

0 comments on commit 221774b

Please sign in to comment.