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 authored and GitHub committed 2021-04-22 22:02:54 +00:00
1 parent f7ed5a2481
commit 327934c19e
5 files changed
+39 -42

No files matched your search

+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::{