Skip to content

ratelimits: Replace *Decision merging with always returning most restrictive#7667

Merged
beautifulentropy merged 3 commits into
mainfrom
ratelimits-replace-merging
Aug 15, 2024
Merged

ratelimits: Replace *Decision merging with always returning most restrictive#7667
beautifulentropy merged 3 commits into
mainfrom
ratelimits-replace-merging

Conversation

@beautifulentropy

@beautifulentropy beautifulentropy commented Aug 15, 2024

Copy link
Copy Markdown
Member

Fix a bug added in #7653 which sometimes attributed an "Allowed" Transaction to the amalgamated "Denied" *Decision. Instead, always return the most restrictive *Decision in the batch.

Remove a debug fmt.Printf() call added in #7653

@beautifulentropy beautifulentropy changed the title ratelimits: Replace *Decision merging with returning most restrictive *Decision ratelimits: Replace *Decision merging with always returning most restrictive Aug 15, 2024
aarongable
aarongable previously approved these changes Aug 15, 2024
@beautifulentropy beautifulentropy marked this pull request as ready for review August 15, 2024 21:47
@beautifulentropy beautifulentropy requested a review from a team as a code owner August 15, 2024 21:47
@beautifulentropy beautifulentropy merged commit 31d0ff0 into main Aug 15, 2024
@beautifulentropy beautifulentropy deleted the ratelimits-replace-merging branch August 15, 2024 21:49
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