Skip to content
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

Merged
merged 11 commits into from
Mar 18, 2024
Merged

vote offchain data support #1654

merged 11 commits into from
Mar 18, 2024

Conversation

kderme
Copy link
Contributor

@kderme kderme commented Mar 18, 2024

Description

Partial implementation of CIp-100 and CIP-108

Checklist

  • Commit sequence broadly makes sense
  • Commits have useful messages
  • New tests are added if needed and existing tests are updated
  • Any changes are noted in the changelog
  • Code is formatted with fourmolu on version 0.10.1.0 (which can be run with scripts/fourmolize.sh)
  • Self-reviewed the diff

Migrations

  • The pr causes a breaking change of type a,b or c
  • If there is a breaking change, the pr includes a database migration and/or a fix process for old values, so that upgrade is possible
  • Resyncing and running the migrations provided will result in the same database semantically

b type migration to add offchain vote data support

@kderme kderme force-pushed the kderme/offchain branch 2 times, most recently from 55e934b to df61aca Compare March 18, 2024 12:19
cardano-db-sync/src/Cardano/DbSync/Types.hs Outdated Show resolved Hide resolved
cardano-db-sync/src/Cardano/DbSync/Types.hs Outdated Show resolved Hide resolved
@kderme kderme force-pushed the kderme/offchain branch 2 times, most recently from 28d0bb3 to af46a88 Compare March 18, 2024 14:48
@kderme
Copy link
Contributor Author

kderme commented Mar 18, 2024

@Cmdv addressed and fixed a bug with getUrl.

Cmdv
Cmdv previously approved these changes Mar 18, 2024
Copy link
Contributor

@Cmdv Cmdv left a 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

@kderme kderme merged commit b882cbb into master Mar 18, 2024
12 of 17 checks passed
OffChainVoteDataOther dt -> language $ context dt
OffChainVoteDataGa dt -> language $ context dt

data OffChainVoteDataTp tp = OffChainVoteDataTp
Copy link
Contributor

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
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants