bloxbean/yaci-store

Missing pre-defined DReps (ABSTAIN, NO_CONFIDENCE) in "delegation_vote" table

satran004 opened this issue · 0 comments

DelegationVoteProcessor is currently storing DRep hash and DrepId. But it doesn't store pre-defined dreps ABSTAIN, NO_CONFIDENCE.

Solution:

  • Add a new column drep_type
  • Store all possible types (KEYHASH, SCRIPTHASH, ABSTAIN, NO_CONFIDENCE)