Fix serialization of transaction_paymentInfo (#4146)

* Add serialization test for u128

* Fix crash on serde of u128
This commit is contained in:
Tomasz Drwięga authored and Gavin Wood committed 2019-11-19 18:42:35 +01:00
1 parent 07a05554c3
commit 613b5e7e2d
5 files changed
+29 -1

No files matched your search

@@ -95,6 +95,7 @@ impl<BlockNumber: Copy> WeighBlock<BlockNumber> for SingleModule {
/// A generalized group of dispatch types. This is only distinguishing normal, user-triggered transactions
/// (`Normal`) and anything beyond which serves a higher purpose to the system (`Operational`).
#[cfg_attr(feature = "std", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "std", serde(rename_all = "camelCase"))]
#[derive(PartialEq, Eq, Clone, Copy, Encode, Decode, RuntimeDebug)]
pub enum DispatchClass {
/// A normal dispatch.