Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • crown-core crown-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crown
  • crown-corecrown-core
  • Issues
  • #197

Closed
Open
Created Jun 21, 2018 by Chris Kibble@dzlboboMaintainer

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

  1. User getblockcount to validate you're within 10 blocks of the superblock i.e. block 90 for superblock 100
  2. Create a prepare and submit proposal for the next superblock i.e. superblock 100
  3. 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."

Edited Jun 21, 2018 by Chris Kibble
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking