-
Notifications
You must be signed in to change notification settings - Fork 1
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
ChainConfig refactor #78
Conversation
…on for block 0 in revision method
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.
lgtm
@@ -57,34 +58,124 @@ struct ChainConfig { | |||
//! \brief Returns the type of the (pre-Merge) protocol rule set | |||
protocol::RuleSetType protocol_rule_set{protocol::RuleSetType::kNoProof}; | |||
|
|||
const std::optional<BlockNum>& homestead_block() const{ |
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.
Are those accessors really being used anywhere?
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.
Yes, there are some places in the code where those accessors are called individually and we are throwing an exception if the ruleset used is not kTrust
No description provided.