Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 58 additions & 1 deletion libraries/state_history/abi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,13 @@ extern const char* const state_history_plugin_abi = R"({
{ "type": "uint32", "name": "account_net_usage_average_window" }
]
},
{
"name": "finalizer_authority", "fields": [
{ "name": "description", "type": "string" },
{ "name": "weight", "type": "uint64" },
{ "name": "public_key", "type": "bytes" }
]
},
{
"name": "finalizer_authority_with_string_key", "fields": [
{ "name": "description", "type": "string" },
Expand Down Expand Up @@ -616,6 +623,55 @@ extern const char* const state_history_plugin_abi = R"({
{ "name": "pending_finalizer_policy", "type": "finalizer_policy_with_string_key?" },
{ "name": "last_pending_finalizer_policy_generation", "type": "uint32" }
]
},
{
"name": "protocol_feature_activation_extension", "fields": [
{ "name": "protocol_features", "type": "checksum256[]" }
]
},
{
"name": "producer_schedule_change_extension", "base": "producer_authority_schedule", "fields": []
},
{
"name": "qc_claim", "fields": [
{ "name": "block_num", "type": "uint32" },
{ "name": "is_strong_qc", "type": "bool" }
]
},
{
"name": "insert_finalizer_policy_index_pair", "fields": [
{ "name": "index", "type": "uint16" },
{ "name": "value", "type": "finalizer_authority" }
]
},
{
"name": "finalizer_policy_diff", "fields": [
{ "name": "generation", "type": "uint32" },
{ "name": "threshold", "type": "uint64" },
{ "name": "remove_indexes", "type": "uint16[]" },
{ "name": "insert_indexes", "type": "insert_finalizer_policy_index_pair[]" }
]
},
{
"name": "insert_proposer_policy_index_pair", "fields": [
{ "name": "index", "type": "uint16" },
{ "name": "value", "type": "producer_authority" }
]
},
{
"name": "proposer_policy_diff", "fields": [
{ "name": "version", "type": "uint32" },
{ "name": "proposal_time", "type": "block_timestamp_type" },
{ "name": "remove_indexes", "type": "uint16[]" },
{ "name": "insert_indexes", "type": "insert_proposer_policy_index_pair[]" }
]
},
{
"name": "finality_extension", "fields": [
{ "name": "qc_claim", "type": "qc_claim" },
{ "name": "new_finalizer_policy_diff", "type": "finalizer_policy_diff?" },
{ "name": "new_proposer_policy_diff", "type": "proposer_policy_diff?" }
]
}
],
"types": [
Expand Down Expand Up @@ -657,7 +713,8 @@ extern const char* const state_history_plugin_abi = R"({
{ "name": "resource_limits_ratio", "types": ["resource_limits_ratio_v0"] },
{ "name": "elastic_limit_parameters", "types": ["elastic_limit_parameters_v0"] },
{ "name": "resource_limits_config", "types": ["resource_limits_config_v0"] },
{ "name": "block_signing_authority", "types": ["block_signing_authority_v0"] }
{ "name": "block_signing_authority", "types": ["block_signing_authority_v0"] },
{ "name": "block_header_extension", "types": ["protocol_feature_activation_extension", "producer_schedule_change_extension", "finality_extension"] }
],
"tables": [
{ "name": "account", "type": "account", "key_names": ["name"] },
Expand Down
2 changes: 1 addition & 1 deletion tests/abieos