apps icon indicating copy to clipboard operation
apps copied to clipboard

Ensure evenly divisible thresholds are adjusted

Open jacogr opened this issue 3 years ago • 2 comments

Closes https://github.com/polkadot-js/apps/issues/6828 Closes https://github.com/polkadot-js/apps/pull/4588

The correct solution is probably to carry the > and >= but it certainly makes things a lot more complex. In this implementation we actually DRY things a lot. So could be re-visited possibly if really needed. (The hook in the linked PR could be interesting, instead of useMemo everywhere.

jacogr avatar Feb 04 '22 16:02 jacogr

A quick fix in #9419. Instead of using ceil, it should be floor() + 1.

h4x3rotab avatar May 08 '23 04:05 h4x3rotab

If you want to find a chain with even council seats, please try Phala (it has 8 members):

wss://phala.api.onfinality.io/public-ws

h4x3rotab avatar May 09 '23 04:05 h4x3rotab