casper-network / casper-network/casper-node
Use past switch blocks up to an emergency restart in the Era Supervisor
Open
- Dominant language
- Rust
- Stars
- 399
- Forks
- 224
- Avg merge
- 15h 44m
- Merged PRs (30d)
- 2
Description
The Era Supervisor currently only collects switch blocks up to the last activation point when creating a new era. This is a remnant of when we weren't able to tell when the last emergency restart was and thus wouldn't be able to tell whether switch blocks before the last activation point were valid. Currently, we have API for that in the chainspec loader, so the Era Supervisor should also only stop at an emergency restart, not at regular upgrades when walking back the switch blocks (similar to what `get_era_validators` does).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.