HydraDX-node
HydraDX-node copied to clipboard
feat: Opengov
This PR adds OpenGov which for some time will run in parallel to gov v1.
- Tracks and curves: https://docs.google.com/spreadsheets/d/1qN_Jbz8BctWd2hu-O98NH3LoEFe0TvbGGobmBx3e12A/edit?gid=0#gid=0
- Origins: https://docs.google.com/spreadsheets/d/1uZKwzy4vv1W10XslKcyRVOBPX0Pm7PcWKpSoG36Xvh0/edit?gid=1291784088#gid=1291784088
TODO:
- [x] Tracks
- [x] Replace runtime origins
- [x] Exclude Referenda from CallFilter
- [x] Hook up staking
- [ ] make it possible for
Treasurerorigin to control the Treasury account - [x] rebench referenda, whitelist and conviction-voting ?
Crate versions that have been updated:
- runtime-integration-tests: v1.25.3 -> v1.25.4
- pallet-circuit-breaker: v1.1.26 -> v1.1.27
- pallet-dca: v1.6.3 -> v1.6.4
- pallet-liquidation: v1.0.0 -> v1.0.1
- pallet-omnipool: v4.3.6 -> v4.3.7
- pallet-omnipool-liquidity-mining: v2.4.0 -> v2.4.1
- pallet-otc: v2.0.3 -> v2.0.4
- pallet-otc-settlements: v1.0.5 -> v1.0.6
- pallet-route-executor: v2.6.2 -> v2.6.3
- pallet-stableswap: v4.1.0 -> v4.1.1
- pallet-staking: v3.1.2 -> v4.0.0
- pallet-transaction-pause: v1.0.4 -> v1.1.0
- hydradx-adapters: v1.3.8 -> v1.3.9
- hydradx-runtime: v274.0.0 -> v275.0.0
Runtime version has been increased.
@mrq1911 thank you for reviewing
most of your comments on origins have been resolved in https://github.com/galacticcouncil/hydration-node/pull/848/commits/75c18998c69b3f4a62fa636414cd826941fbd6e6 and i have left comments on places where i don't agree or have questions