cosmos / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Apache License 2.0
6.17k stars 3.57k forks source link

EPIC: validator consensus key rotation #5231

Closed Hyung-bharvest closed 10 months ago

Hyung-bharvest commented 4 years ago

1. Objectives

2. Use-case Overview

3. Considerations

alexanderbez commented 4 years ago

Thanks @dlguddus for proposing this as it's definitely a valid use case!

Some immediate questions I have:

  1. Why do we need this? What spam are you preventing here precisely?
a validator should contribute X atoms to community fund to rotate its consensus key, also to prevent spams

2. Is there still an issue in Tendermint? If not, there should be because I imagine there will be a significant amount of thought and work required in Tendermint too. You can't just submit a tx to Tendermint and have the state-machine take care of everything. Most likely, there will need to be some ABCI features and updates to allow this.

Hyung-bharvest commented 4 years ago
  1. Both limits are to prevent too much consensus key changes which will cause computational overhead especially for slashing module. But as you asked, fee for rotation has weak reasoning. I guess we can remove that if there is no reasoning from others.
alexanderbez commented 4 years ago

Yes, I understand the limit on rotations for both space and time complexity, but community funds seems unnecessary.

Hyung-bharvest commented 4 years ago

I close this issue because it is now handled by below ADR

https://github.com/cosmos/cosmos-sdk/pull/5233

tac0turtle commented 10 months ago

closing this in favour of https://github.com/cosmos/cosmos-sdk/issues/18141