From 84098e5e1e358d5c3809fa0afad077cffb10055e Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:07:30 -0400 Subject: [PATCH] switch variant index of new get_blocks_request_v1 --- libraries/state_history/abi.cpp | 2 +- libraries/state_history/include/eosio/state_history/types.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/state_history/abi.cpp b/libraries/state_history/abi.cpp index 00652169b0..5cffe16fbf 100644 --- a/libraries/state_history/abi.cpp +++ b/libraries/state_history/abi.cpp @@ -586,7 +586,7 @@ extern const char* const state_history_plugin_abi = R"({ { "new_type_name": "transaction_id", "type": "checksum256" } ], "variants": [ - { "name": "request", "types": ["get_status_request_v0", "get_blocks_request_v0", "get_blocks_request_v1", "get_blocks_ack_request_v0"] }, + { "name": "request", "types": ["get_status_request_v0", "get_blocks_request_v0", "get_blocks_ack_request_v0", "get_blocks_request_v1"] }, { "name": "result", "types": ["get_status_result_v0", "get_blocks_result_v0", "get_blocks_result_v1"] }, { "name": "action_receipt", "types": ["action_receipt_v0"] }, diff --git a/libraries/state_history/include/eosio/state_history/types.hpp b/libraries/state_history/include/eosio/state_history/types.hpp index 76b39957ce..75957702af 100644 --- a/libraries/state_history/include/eosio/state_history/types.hpp +++ b/libraries/state_history/include/eosio/state_history/types.hpp @@ -129,7 +129,7 @@ struct get_blocks_result_v1 : get_blocks_result_v0 { std::optional finality_data; }; -using state_request = std::variant; +using state_request = std::variant; using state_result = std::variant; using get_blocks_request = std::variant; using get_blocks_result = std::variant;