impl Zero and One for fixed point numbers (#8647)

* impl Zero and One for fixed point numbers

* update librocksdb-sys to support M1

* fix build

* trigger CI
This commit is contained in:
Xiliang Chen
2021-04-23 10:02:54 +12:00
committed by GitHub
parent f7ed5a2481
commit 327934c19e
5 changed files with 39 additions and 42 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ impl OnUnbalanced<NegativeImbalance> for Author {
#[cfg(test)]
mod multiplier_tests {
use sp_runtime::{assert_eq_error_rate, FixedPointNumber, traits::Convert};
use sp_runtime::{assert_eq_error_rate, FixedPointNumber, traits::{Convert, One, Zero}};
use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment};
use crate::{