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

Add basic scaffolding for QGB module #208

Merged
merged 6 commits into from
Feb 14, 2022

Conversation

rach-id
Copy link
Member

@rach-id rach-id commented Feb 11, 2022

Description

Adds basic scaffolding for the QGB module.

closes #197


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@rach-id rach-id marked this pull request as draft February 11, 2022 00:46
@rach-id rach-id marked this pull request as ready for review February 11, 2022 09:23
@rach-id
Copy link
Member Author

rach-id commented Feb 11, 2022

@evan-forbes Please take a look when you have time

@rach-id
Copy link
Member Author

rach-id commented Feb 11, 2022

@evan-forbes if we need to include: #199 also in this PR. Then, I can turn it into draft to add that stuff

@evan-forbes
Copy link
Member

@evan-forbes if we need to include: #199 also in this PR. Then, I can turn it into draft to add that stuff

no that was my mistake, we shouldn't attempt to finish that in this PR. This PR introduces the DataCommitmentConfirm msg, which confused me briefly. #199 just needs to be clarified.

@rach-id
Copy link
Member Author

rach-id commented Feb 11, 2022

@evan-forbes For the DataCommitmnetConfirm, it only contains a dummy field... I can remove it from this PR, then introduce it in the next #199 one. What do you think ?

@evan-forbes
Copy link
Member

sounds good!

@rach-id
Copy link
Member Author

rach-id commented Feb 14, 2022

@evan-forbes Can you take a look now please. Removed the dummy field from DataCommitment

Copy link
Member

@evan-forbes evan-forbes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think PR is fairly uncontroversial considering that its mostly generated code. Let's change the description so that it doesn't close #197, as we still need another PR to bring over some of the logic of the QGB per #197 (comment)

option go_package = "github.com/celestiaorg/celestia-app/x/qgb/types";

// GenesisState defines the capability module's genesis state.
message GenesisState {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is something that we will have to think about in the future, do we want to incorporate the needed validator information in the genesis state, or do we want to add it later.

We're going to have to have some organization around when we actually start the QGB, either at genesis or at a later block height.

tbc, nothing todo in this PR, just talking out loud.

@rach-id
Copy link
Member Author

rach-id commented Feb 14, 2022

@evan-forbes Should we merge this one, then add the remaining logic in the next PR ?

@evan-forbes
Copy link
Member

@evan-forbes Should we merge this one, then add the remaining logic in the next PR ?

yep! I think so

@evan-forbes evan-forbes merged commit cfe3ecf into celestiaorg:master Feb 14, 2022
@rach-id rach-id deleted the add_qgb_module branch February 14, 2022 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Copy over portions of the gravity module
2 participants