Skip to content

Commit

Permalink
Updates snapshots
Browse files Browse the repository at this point in the history
Adds "arbitrary_precision" feature to serde_json in zebra-rpc
  • Loading branch information
arya2 committed Dec 8, 2022
1 parent 6e94c14 commit 94db8f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zebra-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jsonrpc-http-server = "18.0.0"
num_cpus = "1.14.0"

# zebra-rpc needs the preserve_order feature in serde_json, which is a dependency of jsonrpc-core
serde_json = { version = "1.0.89", features = ["preserve_order"] }
serde_json = { version = "1.0.89", features = ["preserve_order", "arbitrary_precision"] }
indexmap = { version = "1.9.2", features = ["serde"] }

tokio = { version = "1.23.0", features = ["time", "rt-multi-thread", "macros", "tracing"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ expression: get_mining_info
{
"networksolps": 2,
"networkhashps": 2,
"chain": "Mainnet"
"chain": "main",
"testnet": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ expression: get_mining_info
{
"networksolps": 0,
"networkhashps": 0,
"chain": "Testnet"
"chain": "test",
"testnet": true
}

0 comments on commit 94db8f2

Please sign in to comment.