-
Notifications
You must be signed in to change notification settings - Fork 12
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
Forward slashing events to the contract for processing #187
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.
LGTM
4cf4e88
to
bcf1dae
Compare
for k, v := range maccPerms { | ||
dupMaccPerms[k] = v | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map Warning
for acc := range GetMaccPerms() { | ||
modAccAddrs[authtypes.NewModuleAddress(acc).String()] = true | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map Warning
Close: #174
Forward slashing events to the contract by using StakingKeeperAdapter