Skip to content
Snippets Groups Projects
Commit 872c04b3 authored by Tomasz Drwięga's avatar Tomasz Drwięga Committed by Bastian Köcher
Browse files

Revert "Fix serialization of `transaction_paymentInfo`" (#4166)

* Revert "Fix serialization of `transaction_paymentInfo` (#4146)"

This reverts commit 613b5e7e.

* Revert chain-spec too.

* Bring back camelCase and test.
parent 502deb9c
Branches
No related merge requests found
......@@ -10,6 +10,6 @@ impl-trait-for-tuples = "0.1.3"
network = { package = "substrate-network", path = "../network" }
primitives = { package = "substrate-primitives", path = "../../primitives/core" }
serde = { version = "1.0.101", features = ["derive"] }
serde_json = { version = "1.0.41", features = [ "arbitrary_precision" ] }
serde_json = "1.0.41"
sr-primitives = { path = "../../primitives/sr-primitives" }
tel = { package = "substrate-telemetry", path = "../telemetry" }
......@@ -16,7 +16,7 @@ log = "0.4.8"
primitives = { package = "substrate-primitives", path = "../../primitives/core" }
rpc = { package = "jsonrpc-core", version = "14.0.3" }
runtime_version = { package = "sr-version", path = "../../primitives/sr-version" }
serde_json = { version = "1.0.41", features = ["arbitrary_precision"] }
serde_json = "1.0.41"
session = { package = "substrate-session", path = "../../primitives/session" }
sr-primitives = { path = "../../primitives/sr-primitives" }
rpc-primitives = { package = "substrate-rpc-primitives", path = "../../primitives/rpc" }
......
......@@ -12,7 +12,7 @@ rstd = { package = "sr-std", path = "../../../../primitives/sr-std", default-fea
sr-primitives = { path = "../../../../primitives/sr-primitives", default-features = false }
[dev-dependencies]
serde_json = { version = "1.0.41", features = ["arbitrary_precision"] }
serde_json = "1.0.41"
[features]
default = ["std"]
......
......@@ -52,11 +52,11 @@ mod tests {
use super::*;
#[test]
fn should_serialize_properly_with_u128() {
fn should_serialize_properly_with_u64() {
let info = RuntimeDispatchInfo {
weight: 5,
class: DispatchClass::Normal,
partial_fee: 1_000_000_u128,
partial_fee: 1_000_000_u64,
};
assert_eq!(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment