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

fix: regenerate BalanceChangeReason stringer #456

Open
wants to merge 1 commit into
base: optimism
Choose a base branch
from

Conversation

spacexbt
Copy link

Fixes #408

This PR regenerates the stringer code for the BalanceChangeReason type to properly support all balance change reasons, including the Optimism-specific ones.

Changes:

  1. Added proper go:generate directive in balance.go
  2. Regenerated balance_change_string.go with all current balance change reasons

This fixes the issue where BalanceMint was showing up as "BalanceChangeReason(200)" instead of "BalanceMint".

Testing:

  • Ran go:generate for BalanceChangeReason
  • Verified all balance change reasons are properly stringified
  • No breaking changes to existing functionality

Resolves the issue where the stringer wasn't updated after adding new balance change reasons.

@spacexbt spacexbt requested a review from a team as a code owner December 30, 2024 00:15
@spacexbt spacexbt requested a review from geoknee December 30, 2024 00:15
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.

incompleteness balanche change reason
1 participant