DataHighway-DHX / node

DataHighway Node. A blockchain being built with Substrate to become a parachain on the Polkadot network. Planned features include a decentralized LPWAN roaming hub for LoRaWAN IoT devices and network operator roaming agreements, participative mining, an inter-chain data market, and DAO governance. http://www.datahighway.com
http://www.datahighway.com
GNU General Public License v3.0
52 stars 11 forks source link

feat: Relates to #211. Upgrade to v3.0.6. Spec version 9. Democracy pallet with faster proposal and voting parameters #212

Open ltfschoen opened 3 years ago

ltfschoen commented 3 years ago

Update 16th Aug 2021 - Low priority on-hold

Proposed changes to perform a forkless chain upgrade so that the community may use on-chain voting to propose to transfer DHX tokens from the DHX DAO Unlocked Reserves (Treasury) to a Multisig Proxy account for subsequent transfer to topup a Supernode within a reasonable timeframe. Refer to https://github.com/DataHighway-DHX/documentation/pull/129

We need the community to decide what are reasonable parameters to change in the democracy pallet, as in this PR i've just chosen very short durations to make it easy to test in a development environment (i.e. launch period, voting period, and cooling off period of only 5 minutes instead of 28 days; enactment period of 5 mins instead of 30 days; fast track voting period of 4 minutes instead of 3 days)

Steps: Test that it works on "dev" chain locally

1) Generate Wasm file to use later for forkless upgrade

2) Run existing chain and generate an on-chain governance proposal to transfer tokens between two accounts that will use sudo

3) On-chain upgrade to faster democracy

Important: this is still a Sudo transfer, so must only be used between the Treasury and Multisig Proxy. Only normal transfer is allowed between Multisig Proxy and Supernode (since Supernode will not accept transfers using Sudo)