Skip to content

Commit

Permalink
GenesisBuilder: arbitrary_precision feature enabled for `serde_js…
Browse files Browse the repository at this point in the history
…on` (paritytech#2987)

[`arbitrary_precision`](https://github.com/serde-rs/json/blob/6d44b9fac9269b4decf76acac5d68e8ec9d10c58/Cargo.toml#L69-L75)
feature allows to (de-)serialize big numbers w/o error.
For some details refer also to
paritytech#1256 (comment)

fixes: paritytech#2963
  • Loading branch information
michalkucharczyk authored Jan 18, 2024
1 parent cbf67d1 commit 44645e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/primitives/genesis-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
sp-api = { path = "../api", default-features = false }
sp-runtime = { path = "../runtime", default-features = false }
sp-std = { path = "../std", default-features = false }
serde_json = { version = "1.0.111", default-features = false, features = ["alloc"] }
serde_json = { version = "1.0.111", default-features = false, features = ["alloc", "arbitrary_precision"] }

[features]
default = ["std"]
Expand Down

0 comments on commit 44645e3

Please sign in to comment.