Cosmos-sdk: Staking spec updates

Created on 15 Jun 2018  路  6Comments  路  Source: cosmos/cosmos-sdk

Following up on https://github.com/cosmos/cosmos-sdk/pull/1263, we discussed some other updates:

  • Change the naming:

    • Unbonded -> PotentialBonded

    • LooseUnbonded -> NotBonded

  • Remove SlashRatio
  • Notes about decisions made for efficiency sake (eg. the GlobalPool)

We also discussed removing PoolShares, but we can leave them for now with exchange rate of 1.

We also need to clearly document how we use notation and what things like -> and | mean

Related Issues:

spec staking

Most helpful comment

Do we have a "spec spec" somewhere? Ideally we could use common notation across Tendermint / SDK / ABCI specification documents.

All 6 comments

Do we have a "spec spec" somewhere? Ideally we could use common notation across Tendermint / SDK / ABCI specification documents.

WE NEED A SPEC SPEC !

Is this being worked on by anyone?

@rigelrozanski Any update here?

The staking spec could use a reunification with the code.

I plan to work on this after F1 (perhaps in conjunction with @rigelrozanski if he is so inclined!).

@cwgoes working on this now, I'm restructuring the spec so it doesn't have pseudo code but only accurately and concisely describes the objectives of the code - the pseudo-code is moreless useless and a hassle to maintain

Was this page helpful?
0 / 5 - 0 ratings