IntersectMBO / cardano-db-sync

A component that follows the Cardano chain and stores blocks and transactions in PostgreSQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Conway

kderme opened this issue · comments

After transfering existing tests to Conway with #1525, we need to add new tests with the new functionality. A WIP list:

  • Tests that were not transferable because the underslying mechanism has changed: These are MIR tests mirReward, mirRewardDereg, mirReward and tests that require funds in the treasury rewardsDeregistration, rewardsReregistration.
  • Tests for all COnway feautures: drep registrations, voting, voting delegations, ratified and enacted gov actions (TODO: extend)
  • HF tests which use a voted governance action instead of hard coded hard fork based on the epoch number.

Tests that were not transferable because the underlying mechanism has changed:

The only tests that weren't transferred to Conway were in the "rewards" suite:

  • rewardsDeregistration
  • rewardsReregistration
  • mirReward
  • mirRewardDereg
  • mirReward

So the Conway equivalents will need to be added (if there are any).

All tests that used Shelley certs were updated to use Conway certs, but AFAICT no other behavior changed (other than governance actions)

The only other change in behavior I saw was that the Conway ledger removed duplicate transactions, so we might want to add some tests that verify this in the database.