Skip to content

feat: add x/protocolpool #23933

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

Merged
merged 87 commits into from
Mar 29, 2025
Merged

feat: add x/protocolpool #23933

merged 87 commits into from
Mar 29, 2025

Conversation

aljo242
Copy link
Contributor

@aljo242 aljo242 commented Mar 7, 2025

keeping as a draft

  • add module
  • add proto
  • add to legacy and di applications
  • update readme
  • add legacy amino
  • make compatible with v53

TODO:

  • reintegrate sims
  • get all fixes into x/distr
  • add switchover logic to x/distr

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

gosec found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

func (am AppModule) BeginBlock(ctx context.Context) error {
sdkCtx := sdk.UnwrapSDKContext(ctx)

return am.keeper.BeginBlocker(sdkCtx)

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods Warning

path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
@aljo242 aljo242 enabled auto-merge March 28, 2025 22:45
Copy link
Contributor

@technicallyty technicallyty left a comment

Choose a reason for hiding this comment

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

LGTM. just missing some documentation on x/distribution about what happens when you use an external pool. our docs / comments should be very loud and obnoxious about this to prevent any devx issues

@technicallyty technicallyty changed the title chore: add x/protocolpool feat: add x/protocolpool Mar 29, 2025

This comment has been minimized.

@aljo242 aljo242 added this pull request to the merge queue Mar 29, 2025
Merged via the queue into release/v0.53.x with commit d68d169 Mar 29, 2025
48 checks passed
@aljo242 aljo242 deleted the chore/pp branch March 29, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants