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` (#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
#1256 (comment)

fixes: #2963
  • Loading branch information
michalkucharczyk authored Jan 18, 2024
1 parent b4b523c commit 87927bb
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 87927bb

Please sign in to comment.