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

[EASY] Remove score cap #2577

Merged
merged 4 commits into from
Mar 29, 2024
Merged

[EASY] Remove score cap #2577

merged 4 commits into from
Mar 29, 2024

Conversation

sunce86
Copy link
Contributor

@sunce86 sunce86 commented Mar 28, 2024

Description

Fixes #2506

How to test

Existing tests.

@sunce86 sunce86 self-assigned this Mar 28, 2024
@sunce86 sunce86 requested a review from a team as a code owner March 28, 2024 21:24
@sunce86 sunce86 changed the title Remove score cap [EASY] Remove score cap Mar 29, 2024
@@ -249,7 +249,7 @@ impl Settlement {
mempools::RevertProtection::Disabled => gas_cost,
};
let score = competition::Score::new(
auction.score_cap(),
competition::Score(eth::U256::MAX.try_into().unwrap()),
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe it makes sense to remove this Score think in this PR as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The code change becomes too large then and hard to review. Planned to do it as part of #2493

@sunce86 sunce86 enabled auto-merge (squash) March 29, 2024 14:27
@sunce86 sunce86 merged commit fe33828 into main Mar 29, 2024
9 checks passed
@sunce86 sunce86 deleted the remove-score-cap2 branch March 29, 2024 14:33
@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: Remove "score_cap" parameter
4 participants