Skip to content

Skip redundant cost limit update in banking-bench#4079

Merged
ryoqun merged 1 commit into
anza-xyz:masterfrom
ryoqun:no-extra-max-block-limits
Dec 12, 2024
Merged

Skip redundant cost limit update in banking-bench#4079
ryoqun merged 1 commit into
anza-xyz:masterfrom
ryoqun:no-extra-max-block-limits

Conversation

@ryoqun
Copy link
Copy Markdown
Member

@ryoqun ryoqun commented Dec 12, 2024

Problem

as cost limit inheriting was sneaked in #2733 by me, banking-bench is currently needlessly setting the bank cost limits to max repeatedly inside the loop.

the bench is doing it already before the loop and it's enough by now.

Summary of Changes

Remove the redundant setting in banking-stage.

extracted from #3946, see the pr for the general overview.

@ryoqun ryoqun requested a review from apfitzge December 12, 2024 14:32
Copy link
Copy Markdown

@apfitzge apfitzge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A purely red PR gets the greenlight from me

@ryoqun ryoqun merged commit bd46d7f into anza-xyz:master Dec 12, 2024
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