Skip to content

refactor: make str to SpecId conversion fallible#2236

Merged
rakita merged 3 commits intobluealloy:mainfrom
Wodann:refactor/specid-from-str
Mar 19, 2025
Merged

refactor: make str to SpecId conversion fallible#2236
rakita merged 3 commits intobluealloy:mainfrom
Wodann:refactor/specid-from-str

Conversation

@Wodann
Copy link
Contributor

@Wodann Wodann commented Mar 17, 2025

This matches the way string to SpecId conversion is handled to OpSpecId, causing errors when invalid hardfork names are provided.

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 17, 2025

CodSpeed Performance Report

Merging #2236 will not alter performance

Comparing Wodann:refactor/specid-from-str (aef9483) with main (2a347d4)

Summary

✅ 8 untouched benchmarks

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

let's also do this for opspecid if missing

Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

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

lgtm

@rakita rakita dismissed mattsse’s stale review March 19, 2025 01:14

requested change was implemented

@rakita rakita merged commit c275ddf into bluealloy:main Mar 19, 2025
29 checks passed
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.

3 participants