Skip to content

refactor: optimize error creation in DisabledModulesDecorator.AnteHandle#2591

Open
GarmashAlex wants to merge 1 commit intocosmos:mainfrom
GarmashAlex:hpp17
Open

refactor: optimize error creation in DisabledModulesDecorator.AnteHandle#2591
GarmashAlex wants to merge 1 commit intocosmos:mainfrom
GarmashAlex:hpp17

Conversation

@GarmashAlex
Copy link
Copy Markdown

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