mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 03:29:25 +00:00
rpc-types: fix HardForkInfoRequest
(#310)
Some checks are pending
CI / fmt (push) Waiting to run
CI / typo (push) Waiting to run
CI / ci (macos-latest, stable, bash) (push) Waiting to run
CI / ci (ubuntu-latest, stable, bash) (push) Waiting to run
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Waiting to run
Doc / build (push) Waiting to run
Doc / deploy (push) Blocked by required conditions
Some checks are pending
CI / fmt (push) Waiting to run
CI / typo (push) Waiting to run
CI / ci (macos-latest, stable, bash) (push) Waiting to run
CI / ci (ubuntu-latest, stable, bash) (push) Waiting to run
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Waiting to run
Doc / build (push) Waiting to run
Doc / deploy (push) Blocked by required conditions
* apply diffs * fix tests
This commit is contained in:
parent
9923d8d69d
commit
d43f12ea3f
2 changed files with 15 additions and 3 deletions
|
@ -817,8 +817,17 @@ define_request_and_response! {
|
|||
hard_fork_info,
|
||||
cc73fe71162d564ffda8e549b79a350bca53c454 =>
|
||||
core_rpc_server_commands_defs.h => 1958..=1995,
|
||||
HardForkInfo (empty),
|
||||
Request {},
|
||||
HardForkInfo,
|
||||
|
||||
#[doc = serde_doc_test!(
|
||||
HARD_FORK_INFO_REQUEST => HardForkInfoRequest {
|
||||
version: 16,
|
||||
}
|
||||
)]
|
||||
#[derive(Copy)]
|
||||
Request {
|
||||
version: u8,
|
||||
},
|
||||
|
||||
#[doc = serde_doc_test!(
|
||||
HARD_FORK_INFO_RESPONSE => HardForkInfoResponse {
|
||||
|
|
|
@ -608,7 +608,10 @@ define_request_and_response! {
|
|||
r#"{
|
||||
"jsonrpc": "2.0",
|
||||
"id": "0",
|
||||
"method": "hard_fork_info"
|
||||
"method": "hard_fork_info",
|
||||
"params": {
|
||||
"version": 16
|
||||
}
|
||||
}"#;
|
||||
Response =
|
||||
r#"{
|
||||
|
|
Loading…
Reference in a new issue