Skip to content
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

Suggestions for PR #5113 #5132

Merged

Conversation

AlexHentschel
Copy link
Member

Optional suggestions for PR #5113

  • extended and polished documentation of EpochCommitSafetyThreshold() in the GlobalParams interface ( state/protocol/params.go)
  • in badger.State:
    • renamed protocol state's internal cachedFinal and cachedSealed to indicate in the variable names that these are the latest values
    • removed transaction.WithTx in a couple more places and used transaction.Tx instead
  • minor polishing of goDoc of interface protocol.Params and its implementation
  • removed outdated error checks where functions now don't return any error variable anymore
  • removed some white spaces in a few places

@durkmurder durkmurder merged commit 412c815 into yurii/instance-params-refactoring Dec 12, 2023
@durkmurder durkmurder deleted the alex/PR-5113_-_suggestions branch December 12, 2023 09:57
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