-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Labels
A-jormungandrArea: Issues affecting jörmungandrArea: Issues affecting jörmungandrautomatedbugSomething isn't workingSomething isn't working
Description
Describe the bug
There is an ugly panic in jormungandr after stake pool (the only one in blockchain) was retired:
"thread \'tokio-runtime-worker\' panicked at \'Distribution of rewards will not overflow: Delegation(NotFound($ hash_ty(0x38d18bcafb8ba65673dc00eb8ce7150ea3a7e61c24153dafa23cb437caa9b970)))\', jormungandr/src/blockchain/chain.rs:852:46"
Mandatory Information
jcli --full-version
: newest masterjormungandr --full-version
newest master
To Reproduce
Steps to reproduce the behavior:
- start blockchain with single stake pool
- retire it after some time
- Observe issue
Expected behavior
node stats should be updated
Additional context
There is PR with automated test for this issue. #2145. Run test by:
cd jormungandr-integration-tests
`cargo test test_pool_update`
Metadata
Metadata
Assignees
Labels
A-jormungandrArea: Issues affecting jörmungandrArea: Issues affecting jörmungandrautomatedbugSomething isn't workingSomething isn't working