8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SafeArith
What are the rules for using SafeArith? For example, why is safe_add not used in
safe_add
epoch + T::EpochsPerSlashingsVector::to_u64().safe_div(2)?
or
state.get_all_slashings().iter().sum::<u64>();