-
Couldn't load subscription status.
- Fork 5
Shd/better governance logs #231
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
Conversation
shd
commented
Oct 7, 2025
- Prints various logs about Conway governance
- Fixes bugs in Conway governance
- A simple test comparing logs with dbsync output added
| self.conway.as_ref().ok_or_else(|| anyhow!("Conway parameters not available")) | ||
| } | ||
|
|
||
| pub fn update_parameters(&mut self, conway: &Option<ConwayParams>, bootstrap: bool) { |
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.
Handy to note what 'bootstrap' means here = Chang era (took me a while to work this out, not knowing the history)
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.
Added some hints
| } | ||
|
|
||
| pub fn log_conway_voting_stats(&self) { | ||
| info!("*** Current voting stats: ***"); |
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.
Not keen on shouty logs personally ;-)
|
Happy to go ahead but needs some conflict resolution, sorry! Actual effect of this is to implement different vote handling in Chang, I think - would be good to note that in the summary. |