Skip to content

Conversation

PolkadotDom
Copy link
Contributor

@PolkadotDom PolkadotDom commented Aug 26, 2025

This PR adds a stepped curve primitive in anticipation of Ref 1710. Though it's usefulness will likely extend beyond that.

@burdges
Copy link

burdges commented Aug 27, 2025

We must ensure that whatever lands in the code cannot eventually drop validator rewards so low that our security collapses.

Amusingly, the halvings plus selfish mining shall eventually kill bitcoin this way. See On the instability of Bitcoin without the block reward by Miles Carlsten, Harry Kalodner, Matt Weinberg, and Arvind Narayanan.

I've not looked at the specifics here, but internally Jonas showed us several schemes that all retain security, and those should find their way into his proposals, if they did not do so already.

Around this, our security would be a function of self stake and rewards vs total ecosystem market cap[1], so "retain security" does NOT mean that validators would even bother to keep validating in every corner case. That's another more human question, but one would could probably be ignored for code changes.

[1] Under current analysis, maybe imho the total ecosystem market cap could be softened somewhat, but self stake and rewards looks fundemental, even if kinda apples plus oranges there.

@PolkadotDom
Copy link
Contributor Author

I've not looked at the specifics here, but internally Jonas showed us several schemes that all retain security, and those should find their way into his proposals, if they did not do so already.

I'm more just acting as the unopinionated hand for OpenGov here, but I believe there's another ref coming in soon that puts the inclusion of Jonas' suggested changes up for vote. This ref is expected to pass as well afaik.

This code here is just generic stepped curve math, but it does include the ability to add LBs, which could help with the aforementioned issues.

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

Successfully merging this pull request may close these issues.

2 participants