Skip to content

Commit

Permalink
Add finality_data ABI definition so clients have a standard type defi…
Browse files Browse the repository at this point in the history
…nition
  • Loading branch information
linh2931 committed Mar 21, 2024
1 parent b1b9642 commit 0c6d290
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libraries/state_history/abi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 0c6d290

Please sign in to comment.