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

Initial module boilerplate #322

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

Thomasvdam
Copy link
Member

Motivation

Splitting this up into several PRs to try and keep it reviewable... This one's already pretty big and contains a little bit of logic, in hindsight I should have started with an empty module rather than taking the PKR work and changing that until the linter and compiler stopped yelling at me.

I'd appreciate feedback on the following areas in particular:

  • All the protobuf files
  • Naming of the types in the protobuf files
  • Name of the module directory ("data-proxy-registry")
  • Name of the module ("data-proxy-registry")
  • Name of the package ("dataproxyregistry")

Explanation of Changes

Mainly boilerplate code in terms of Cosmos side implementation, with the exception of the Params message handling, some message validation basics, and part of the collections on the keeper.

Most of the protobuf definitions are close to what they will probably end up being. However I'm sure I'm misusing some of the annotations with regards to nullability, that will most likely change once I start working with the types and figure out what all the annotations do exactly.

Testing

None, there is barely any implementation that's worth testing by itself, it should all be covered once we start implementing the actual features and testing those.

Related PRs and Issues

Part-of: #316

@Thomasvdam Thomasvdam force-pushed the chore/data-proxy-boilerplate branch 2 times, most recently from 4870b66 to 8a693c3 Compare August 15, 2024 14:38
@Thomasvdam Thomasvdam merged commit 26927e1 into feat/data-proxy-registry Aug 16, 2024
14 of 17 checks passed
@Thomasvdam Thomasvdam deleted the chore/data-proxy-boilerplate branch August 16, 2024 12:31
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.

2 participants