Skip to content

Simulation Failure: "should not be slashing unbonded validator" #2661

Closed

Description

Summary of Bug

Simulation fails with updates proposed in #2617:

Starting SimulateFromSeed with randomness created with seed 582
Randomized simulation params: {PastEvidenceFraction:0.6282186255050043 NumKeys:72 EvidenceFraction:0.9018278288871556 InitialLivenessWeightings:[52 3 2] LivenessTransitionMatrix:{weights:[[90 20 1] [10 50 5] [0 10 1000]] totals:[100 80 1006] n:3} BlockSizeTransitionMatrix:{weights:[[85 5 0] [15 92 1] [0 3 99]] totals:[100 100 100] n:3}}
Starting the simulation from time Fri Nov 15 13:38:55 UTC 23563, unixtime 681436762735
Selected randomly generated parameters for simulated genesis: {amount of steak per account: 210045, initially bonded validators: 72}
Selected randomly generated governance parameters: {StartingProposalID:79 DepositProcedure:{MinDeposit:442steak MaxDepositPeriod:87h13m35s} VotingProcedure:{VotingPeriod:71h43m25s} TallyingProcedure:{Threshold:+5000000000 Veto:+3340000000 GovernancePenalty:+100000000}}
Selected randomly generated staking parameters: {Pool:{LooseTokens:+0 BondedTokens:+0} Params:{UnbondingTime:33h51m12s MaxValidators:102 BondDenom:steak} Validators:[] Bonds:[]}
Selected randomly generated slashing parameters: {Params:{MaxEvidenceAge:33h51m12s SignedBlocksWindow:557 MinSignedPerWindow:+3000000000 DoubleSignUnbondDuration:10h36m26s DowntimeUnbondDuration:19h20m26s SlashFractionDoubleSign:+344827586 SlashFractionDowntime:+61349693}}
Selected randomly generated minting parameters: {{1970-01-01 01:00:00 +0100 CET 9500000000} {steak 5900000000 2000000000 700000000 6700000000}}
Simulating... block 21/400, operation 200/227. Panic with err
 should not be slashing unbonded validator: cosmosvaloper1hn0ut7pmym404xvst55ltrt00dvwk3mn00srjn

Steps to Reproduce

Check out f695a66, merge in cwgoes/simulation-transubstantiated, and run:

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

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
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