From 0c6d290c624682697dcd6067c77987abc2d80473 Mon Sep 17 00:00:00 2001 From: Lin Huang Date: Thu, 21 Mar 2024 11:29:56 -0400 Subject: [PATCH] Add finality_data ABI definition so clients have a standard type definition --- libraries/state_history/abi.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libraries/state_history/abi.cpp b/libraries/state_history/abi.cpp index 20e5118dd8..f3a2a43ff3 100644 --- a/libraries/state_history/abi.cpp +++ b/libraries/state_history/abi.cpp @@ -560,6 +560,15 @@ extern const char* const state_history_plugin_abi = R"({ { "type": "uint32", "name": "account_cpu_usage_average_window" }, { "type": "uint32", "name": "account_net_usage_average_window" } ] + }, + { + "name": "finality_data", "fields": [ + { "name": "major_version", "type": "uint32" }, + { "name": "minor_version", "type": "uint32" }, + { "name": "active_finalizer_policy_generation", "type": "uint32" }, + { "name": "action_mroot", "type": "checksum256" }, + { "name": "base_digest", "type": "checksum256" } + ] } ], "types": [