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 rust code-generation from proto files #706

Merged
merged 2 commits into from
Jul 24, 2024
Merged

Add rust code-generation from proto files #706

merged 2 commits into from
Jul 24, 2024

Conversation

lubkoll
Copy link
Contributor

@lubkoll lubkoll commented Jul 24, 2024

No description provided.

@lubkoll lubkoll requested review from 0xLaurenzo and akure July 24, 2024 12:09
Copy link
Contributor

@0xLaurenzo 0xLaurenzo left a comment

Choose a reason for hiding this comment

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

Some comments on the naming in the generation code, rest looks good.
Follow up work I do clearly see coming forth from this PR:

  • Removing any Osmosis proto definitions from Quasar chain, so we don't generate gamm and lockup code from osmosis
  • Expanding our generated code with for example the osmosis-derive or something similar so that quasar-std can be used without a lot of boilerplate
  • potentially incorporating quasar-types into quasar-std

smart-contracts/proto-build/buf.yaml Outdated Show resolved Hide resolved
smart-contracts/proto-build/src/main.rs Outdated Show resolved Hide resolved
smart-contracts/proto-build/src/main.rs Outdated Show resolved Hide resolved
@0xLaurenzo 0xLaurenzo self-requested a review July 24, 2024 12:45
0xLaurenzo
0xLaurenzo previously approved these changes Jul 24, 2024
Copy link
Contributor

@0xLaurenzo 0xLaurenzo left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@0xLaurenzo 0xLaurenzo left a comment

Choose a reason for hiding this comment

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

lgtm

@lubkoll lubkoll merged commit d8b21fe into main Jul 24, 2024
4 checks passed
@lubkoll lubkoll deleted the feat/proto_gen branch July 24, 2024 13:56
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