* Avoid overflow when computing rent distribution (#12112)
* Avoid overflow when computing rent distribution
* Use assert_eq!....
* Fix tests
* Add test
* Use FeatureSet
* Add comments
* Address review comments
* Tweak a bit.
* Fix fmt
(cherry picked from commit e3773d919c
)
# Conflicts:
# runtime/src/bank.rs
# runtime/src/feature_set.rs
* Fix conflict
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>