-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vote offchain data support #1654
Conversation
55e934b
to
df61aca
Compare
cardano-db-sync/src/Cardano/DbSync/Era/Universal/Insert/GovAction.hs
Outdated
Show resolved
Hide resolved
28d0bb3
to
af46a88
Compare
The types match CIP-100 and CIP-108
@Cmdv addressed and fixed a bug with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great thanks @kderme looks 👌 to me
OffChainVoteDataOther dt -> language $ context dt | ||
OffChainVoteDataGa dt -> language $ context dt | ||
|
||
data OffChainVoteDataTp tp = OffChainVoteDataTp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's TP? Can you add a comment that tells us?
} | ||
deriving (Show, Generic, FromJSON) | ||
|
||
data GABody = GABody |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I presume this is also Governance Action Body?
Description
Partial implementation of CIp-100 and CIP-108
Checklist
fourmolu
on version 0.10.1.0 (which can be run withscripts/fourmolize.sh
)Migrations
b type migration to add offchain vote data support