decipherhub / decipherhub/cipherbft
[TODO] Block beneficiary hardcoded to zero address
Open
enhancement
- Dominant language
- Rust
- Stars
- 9
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
## Description
Block beneficiary is hardcoded to `[0u8; 20]` instead of using validator address. Block rewards are effectively burned.
## Location
https://github.com/decipherhub/cipherbft/blob/1140ac3ed0e18f6e5abd4e31aa673a97f74e44f7/crates/node/src/node.rs#L1030
## Severity
Medium - Validators do not receive block rewards.
Contributor guide
Assessment
This issue has not been assessed yet.