Skip to content

Commit

Permalink
update jsonrpc-utils for better parameter error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Dec 5, 2023
1 parent 185721f commit 81edc4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ckb-bin/src/subcommand/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn run(args: RunArgs, version: Version, async_handle: Handle) -> Result<(),
deadlock_detection();

info!("ckb version: {}", version);
let mut launcher = Launcher::new(args, version, async_handle.clone());
let mut launcher = Launcher::new(args, version, async_handle);

let block_assembler_config = launcher.sanitize_block_assembler_config()?;
let miner_enable = block_assembler_config.is_some();
Expand Down
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ckb-app-config = { path = "../util/app-config", version = "= 0.113.0-pre" }
ckb-constant = { path = "../util/constant", version = "= 0.113.0-pre" }
jsonrpc-core = "18.0"
serde_json = "1.0"
jsonrpc-utils = { version = "0.2.4", features = ["server", "macros", "axum"] }
jsonrpc-utils = { version = "0.2.5", features = ["server", "macros", "axum"] }
ckb-jsonrpc-types = { path = "../util/jsonrpc-types", version = "= 0.113.0-pre" }
ckb-verification = { path = "../verification", version = "= 0.113.0-pre" }
ckb-verification-traits = { path = "../verification/traits", version = "= 0.113.0-pre" }
Expand Down

0 comments on commit 81edc4c

Please sign in to comment.