Skip to content

refactor: optimize error creation in DisabledModulesDecorator.AnteHandle #2591

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

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

Conversation

GarmashAlex
Copy link

Not a significant but useful change. Why:

  1. Avoid repeated formatting of the error string with the same parameters
  2. Reduce resource consumption when executing this function during transaction processing
  3. Make the code clearer and easier to maintain

@GarmashAlex GarmashAlex requested a review from a team March 31, 2025 16:05
@github-actions github-actions bot added the C:Testing Assigned automatically by the PR labeler label Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:Testing Assigned automatically by the PR labeler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant