Repository navigation
This stable release is based on the last live release, v2.4.0.
Highlights
- Fix active-proposal checks to use the configuration version stored on each proposal.
- Require a strict
yea > naymajority, so tied votes fail. - Add Staker v2 and its total-stake history calculations.
- Add L1/L2 execution entrypoints and owner proxies for Arbitrum, Base, OP Stack, Optimism, and Robinhood Chain.
- Upgrade the Cairo toolchain to Scarb 2.20.0 and Starknet Foundry 0.62.1.
Mainnet Governor
- Class hash:
0x044e2e3d2ae1b0415450b2b5d417698ce495f7ef500826ddb48a61f9dfe67401 - Declaration transaction:
0x01b3b06a9f3305b0e6f122cce6c10318ae6b0371a5c2f9907d29d514ce47c5a5
All other production governance classes were also declared from the release profile:
- AirdropClaimCheck:
0x01ac2881a59121f3adef6ccaf70c4910b0d148d9a4012428fc40a746083e8512 - Airdrop:
0x0118298c14ff6bf7e3d3d5a3a8895c68d109bb95bb62c4de33c05512688cf8dd - Staker v1:
0x0244c2213a85dc27cb4f966a6ce48be0b7d38aafad6882ca063a2da97f09dade - Staker v2:
0x0268cfface98e613b036f5c82e40af4e05e0c8dfd334ef1b7e8e97c29e9813c1
Compatibility and verification
The Governor storage field order and stored types are unchanged from v2.4.0. The full Cairo suite passes with 158 tests and zero failures, and scarb fmt --check passes.
The current reviewed and mainnet-simulated upgrade proposal is maintained at proposals/starknet-v5-upgrade-and-buybacks.md. It includes the exact interface-importable Governor call list.
What's Changed
- Feat staker v2 no fp and subpointers by @baitcode in #67
- bump cairo to version 2.12.0 by @moodysalem in #72
- Add OP Stack owner proxy by @moodysalem in #73
- Fix active proposal gate config version by @moodysalem in #74
- Allow L1 and L2 owner execution by @moodysalem in #76
- Fix StakerV2 short-period share precision by @moodysalem in #77
- Remove unsafe StakerV2 share getter by @moodysalem in #78
- Upgrade to Scarb 2.19.3 and Starknet Foundry 0.62.1 by @moodysalem in #79
- Require strict majority for governor proposals by @moodysalem in #80
New Contributors
Full Changelog: v2.4.0...v2.8.0