Skip to content

refactor(params): make LibEVMVersion a constant #162

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

Merged
merged 16 commits into from
Mar 17, 2025
Merged

Conversation

ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Mar 13, 2025

Note

This will be merged into main once the current target branch has been merged.

Why this should be merged

My original implementation was back to front and it's been bugging me.

How this works

Originally params.LibEVMVersion was a var (because it needed to be computed) and the test used a const. This change simply inverts the two and moves some code around without any change in logic.

I bumped the minor version to 2 (a no-op when not on a release branch) to bring it in line with the latest release candidate and to avoid forgetting to do so when performing an actual release.

How this was tested

Unit test of version-string constant.

@ARR4N ARR4N requested a review from a team March 13, 2025 14:37
Base automatically changed from arr4n/release-branch-checker to main March 17, 2025 17:01
@ARR4N ARR4N enabled auto-merge March 17, 2025 17:58
@ARR4N ARR4N added this pull request to the merge queue Mar 17, 2025
@ARR4N ARR4N removed this pull request from the merge queue due to a manual request Mar 17, 2025
@ARR4N ARR4N added this pull request to the merge queue Mar 17, 2025
@ARR4N ARR4N removed this pull request from the merge queue due to a manual request Mar 17, 2025
@ARR4N ARR4N merged commit 0ed6135 into main Mar 17, 2025
11 checks passed
@ARR4N ARR4N deleted the arr4n/version-constant branch March 17, 2025 19:29
qdm12 added a commit that referenced this pull request Mar 27, 2025
#163 was removed by mistake in #162 so this re-adds it

Co-authored-by: Arran Schlosberg <[email protected]>
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