apply diffs

This commit is contained in:
hinto.janai 2024-10-10 20:46:18 -04:00
parent 9923d8d69d
commit b931ffc7ad
No known key found for this signature in database
GPG key ID: D47CE05FA175A499
2 changed files with 15 additions and 3 deletions

View file

@ -817,8 +817,17 @@ define_request_and_response! {
hard_fork_info, hard_fork_info,
cc73fe71162d564ffda8e549b79a350bca53c454 => cc73fe71162d564ffda8e549b79a350bca53c454 =>
core_rpc_server_commands_defs.h => 1958..=1995, core_rpc_server_commands_defs.h => 1958..=1995,
HardForkInfo (empty), HardForkInfo,
Request {},
#[doc = serde_doc_test!(
HARD_FORK_INFO => HardForkInfo {
version: 16,
}
)]
#[derive(Copy)]
Request {
version: u8,
},
#[doc = serde_doc_test!( #[doc = serde_doc_test!(
HARD_FORK_INFO_RESPONSE => HardForkInfoResponse { HARD_FORK_INFO_RESPONSE => HardForkInfoResponse {

View file

@ -608,7 +608,10 @@ define_request_and_response! {
r#"{ r#"{
"jsonrpc": "2.0", "jsonrpc": "2.0",
"id": "0", "id": "0",
"method": "hard_fork_info" "method": "hard_fork_info",
"params": {
"version": 16
}
}"#; }"#;
Response = Response =
r#"{ r#"{