-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.2] Add chain api get_consensus_parameters #692
Conversation
get_consensus_parameters_results results; | ||
|
||
results.chain_config = db.get_global_properties().configuration; | ||
results.kv_database_config = db.get_global_properties().kv_configuration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this line. kv_configuration
should not exist in Mandel and needs to be removed (or repurposed in the future).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already in mandel ever since #8. Should an issue be made for its removal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using get_consensus_parameters_params = empty; | ||
struct get_consensus_parameters_results { | ||
chain::chain_config chain_config; | ||
chain::kv_database_config kv_database_config; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this line and also from the FC_REFLECT
Resolves #453