-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat: add x/protocolpool
#23933
Conversation
There was a problem hiding this 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
There was a problem hiding this 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
keeping as a draft
TODO: