Skip to content

Conversation

@shd
Copy link
Collaborator

@shd shd commented Oct 7, 2025

  1. Prints various logs about Conway governance
  2. Fixes bugs in Conway governance
  3. 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) {
Copy link
Collaborator

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)

Copy link
Collaborator Author

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: ***");
Copy link
Collaborator

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 ;-)

@sandtreader
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants