Prevent users from preparing and submitting a new proposal within 1440 blocks of the superblock
Users must not be able to submit a new proposal for the next superblock when we disable voting due to blockheight being too close to the superblock.
To replicate in testnet
- User getblockcount to validate you're within 10 blocks of the superblock i.e. block 90 for superblock 100
- Create a prepare and submit proposal for the next superblock i.e. superblock 100
- User can now not vote on their new proposal so they have wasted 25CRW
Mainnet details: User must not be able to prepare / submit a new proposal for the next superblock when we're 1440 blocks from the superblock
Debug console error message to the user: "Sorry, your proposal can not be added as we're too close to the proposal payment. Please submit your proposal for the next proposal payment."
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information