Skip to content

Instantly share code, notes, and snippets.

@nategraf
Last active April 23, 2020 19:47
Show Gist options
  • Save nategraf/3215758cd36c9c2e55be4d035b146c22 to your computer and use it in GitHub Desktop.
Save nategraf/3215758cd36c9c2e55be4d035b146c22 to your computer and use it in GitHub Desktop.
Adjust Baklava DowntimeSlasher Window Governance Proposal

DowntimeSlasher.setSlashableDowntime(7200)

Execution of the downtime slasher with a 8640 blocks block window, approximately 12 hours, requires ~20.8 million gas. With a gas limit of 20 million on the Baklava network, it is not currently possible to execute this function.

Downtime slashing is an important measure to ensure the stability of the Baklava network, as there are no incentives against abandoning elected validator nodes. At the time of writing there are 13 elected validators on the Baklava network which appear to be abandoned. If this number exceeds 1/3 of the elected set, currently 19, the network will stall

This proposal will call the function DowntimeSlasher.setSlashableDowntime(7200) to set the slashing window to 7200 blocks, approximately 10 hours, which will execute with approximately 17.3 million gas, within the gas limit. After this proposal in enacted, downtime slashing can be used to slash offline validators, which will remove them from their groups and from the elected set if the owner does not take action.

[1] Offline validator nodes at the time of writing.

0xf0d17b624521C0a599b063D73A73f9719307B48f
0xEe80387e93E4D6D41C4BF51623Bc8A42BA55a449
0xD2462858D04dFDB0c7AD26DFA21933526491c1c3
0x8a0d880f275d3741f507a0180E843a2805eC1e2e
0x0ec5A403212d732d8D7ceD050E9510f6327453c6
0xF6A969790936C5285F7a7d1aF642707d0C8e2418
0xD9E0f920fdB7dfA0201c1A528194bd5613f1Dd3C
0xEE9Ba67108e227cD05e552d1bB6b19ADfa5f4c5b
0xd91AFc8Fa15086BcB6BCb1667bD36d637db70a9E
0xbEEb24D10C9fe58715A0c853Db8ddd8E00191771
0x72dD6D2D02B6B0593f7e4179c691C041E78a4Dd7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment