mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
serialize partial_fee into string (#4898)
* serialize partial_fee into string * implement deserialize * bump version
This commit is contained in:
@@ -22,6 +22,8 @@ use sp_io;
|
||||
#[cfg(feature = "std")]
|
||||
use std::fmt::Display;
|
||||
#[cfg(feature = "std")]
|
||||
use std::str::FromStr;
|
||||
#[cfg(feature = "std")]
|
||||
use serde::{Serialize, Deserialize, de::DeserializeOwned};
|
||||
use sp_core::{self, Hasher, Blake2Hasher, TypeId, RuntimeDebug};
|
||||
use crate::BenchmarkParameter;
|
||||
@@ -463,6 +465,9 @@ sp_core::impl_maybe_marker!(
|
||||
/// A type that implements Display when in std environment.
|
||||
trait MaybeDisplay: Display;
|
||||
|
||||
/// A type that implements FromStr when in std environment.
|
||||
trait MaybeFromStr: FromStr;
|
||||
|
||||
/// A type that implements Hash when in std environment.
|
||||
trait MaybeHash: sp_std::hash::Hash;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user