Skip to content

Stake distribution logic error(sdk 0.27.1) #3018

Closed
@nodebreaker0-0

Description

Summary of Bug

No rewards are being added to pool

Steps to Reproduce

Nothing is being added to CurrentPoolRewards, and CurrentCommissionRewards when the inflation rate has been set to 10000% in genesis.json for Game of Stakes. But when set to 100,000%, it works fine.

  1. [Change the inflation rate to 10000% in genesis.json]
  2. [Start the chain and check the reward pools (CurrentPoolRewards, CurrentCommissionRewards)]
  3. [If inflation in genesis.json is changed back to 100000%, and see if the rewards are being added to the pools correctly]

If no rewards are being distributed to the pools at 10000 inflation, we cannot continue on with Game of Stakes as no stakes are being added to players, and on mainnet it becomes impossible to distribute rewards to validators and their delegators, causing critical loss in what could have been potential income.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions