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

handling a POA chain from IBC #10

Open
hxrts opened this issue Nov 18, 2020 · 1 comment
Open

handling a POA chain from IBC #10

hxrts opened this issue Nov 18, 2020 · 1 comment

Comments

@hxrts
Copy link

hxrts commented Nov 18, 2020

Asked the IBC team about this, their response:

https://github.com/cosmos/cosmos-sdk/blob/589835dd98134da353e16d52cb733b538a5ac8f3/x/staking/abci.go#L19
They'd need to add Get/SetHistoricalInfo func and then call SetHistoricalInfo in begin blocker, similar to track historical info
TrackHistoricalInfo sets the current blocks historical info and prunes old historical info blocks. For simplicity, pruning could be left out and then you don't need a HistoricalInfo param as defined in types

@PaddyMc
Copy link
Contributor

PaddyMc commented Nov 23, 2020

Great, thanks for doing this initial investigation, I'll look into this issue soon and post my findings here 🤝

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

No branches or pull requests

2 participants