Skip to content

Staking: validator with non-positive power stored #2620

Closed

Description

Caught by #2617 (multi-seed simulation ranges over random genesis parameter combinations).

Replicable with:

go test ./cmd/gaia/app -run TestFullGaiaSimulation -SimulationEnabled=true -SimulationNumBlocks=400 -SimulationBlockSize=200 -SimulationCommit=true -SimulationSeed=4728 -v -timeout 24h

on 991573e

Fails with:

Simulating... block 1/400, operation 50/57. Invariants broken after BeginBlock
validator with non-positive power stored. (pubkey PubKeySecp256k1{03F9B2971693B8B047798CF4576587A789A2B61BD04552CE41FAAB35C41D9C4EDB})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions