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

ICS28: Send SlashAcks only for downtime slash requests #744

Closed
mpoke opened this issue May 19, 2022 · 0 comments
Closed

ICS28: Send SlashAcks only for downtime slash requests #744

mpoke opened this issue May 19, 2022 · 0 comments
Assignees
Labels
app Application layer.

Comments

@mpoke
Copy link
Contributor

mpoke commented May 19, 2022

This issue was mentioned here cosmos/interchain-security#97 (comment)

The fix entails the following changes to onRecvSlashPacket

if packet.data.downtime {
  // add validator to list of slash requests for chainId
  slashRequests[chainId].Append(packet.data.valAddress)
}
@mpoke mpoke added the app Application layer. label May 19, 2022
@mpoke mpoke self-assigned this May 19, 2022
@mpoke mpoke closed this as completed May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app Application layer.
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant