mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
Bump Substrate (#939)
* Bump Substrate to `0856e072` * Fix compilation errors
This commit is contained in:
committed by
Bastian Köcher
parent
4321d20d2f
commit
982a50df66
@@ -31,7 +31,7 @@ use frame_support::{
|
|||||||
weights::{DispatchClass, Weight},
|
weights::{DispatchClass, Weight},
|
||||||
RuntimeDebug,
|
RuntimeDebug,
|
||||||
};
|
};
|
||||||
use sp_runtime::{FixedPointNumber, FixedU128};
|
use sp_runtime::{traits::Zero, FixedPointNumber, FixedU128};
|
||||||
use sp_std::{convert::TryFrom, ops::RangeInclusive};
|
use sp_std::{convert::TryFrom, ops::RangeInclusive};
|
||||||
|
|
||||||
/// Initial value of `RialtoToMillauConversionRate` parameter.
|
/// Initial value of `RialtoToMillauConversionRate` parameter.
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ use frame_support::{
|
|||||||
weights::{DispatchClass, Weight},
|
weights::{DispatchClass, Weight},
|
||||||
RuntimeDebug,
|
RuntimeDebug,
|
||||||
};
|
};
|
||||||
use sp_runtime::{FixedPointNumber, FixedU128};
|
use sp_runtime::{traits::Zero, FixedPointNumber, FixedU128};
|
||||||
use sp_std::{convert::TryFrom, ops::RangeInclusive};
|
use sp_std::{convert::TryFrom, ops::RangeInclusive};
|
||||||
|
|
||||||
/// Initial value of `MillauToRialtoConversionRate` parameter.
|
/// Initial value of `MillauToRialtoConversionRate` parameter.
|
||||||
|
|||||||
@@ -1407,6 +1407,8 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn transaction_payment_works_with_zero_multiplier() {
|
fn transaction_payment_works_with_zero_multiplier() {
|
||||||
|
use sp_runtime::traits::Zero;
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
transaction_payment(
|
transaction_payment(
|
||||||
100,
|
100,
|
||||||
@@ -1424,6 +1426,8 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn transaction_payment_works_with_non_zero_multiplier() {
|
fn transaction_payment_works_with_non_zero_multiplier() {
|
||||||
|
use sp_runtime::traits::One;
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
transaction_payment(
|
transaction_payment(
|
||||||
100,
|
100,
|
||||||
|
|||||||
Reference in New Issue
Block a user