Skip to content

Fix #112; add results.Opt support#123

Merged
nitely merged 1 commit into
status-im:masterfrom
nitely:nitely_fix_112
Dec 22, 2025
Merged

Fix #112; add results.Opt support#123
nitely merged 1 commit into
status-im:masterfrom
nitely:nitely_fix_112

Conversation

@nitely

@nitely nitely commented Nov 22, 2025

Copy link
Copy Markdown
Contributor

Fix #112

Alternatively it could be moved to a confutils/pkg/results, but since it's used internally and would need to be exported anyway, I think there is no point in that.

Note I tried changing Optional to results.Opt in nimbus-eth2, but to do so it requires switching throughout (otherwise is a PITA). That means adding Opt support to nim-presto and nim-toml-ser, maybe other libs too (nim-eth db but I don't think so).

@nitely
nitely requested review from arnetheduck and jangko November 22, 2025 02:44
@nitely
nitely marked this pull request as ready for review November 22, 2025 02:44
@jangko

jangko commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

please rebase

@arnetheduck

Copy link
Copy Markdown
Member

switching throughout

we usually manage to isolate these changes somewhat at least, but in general the plan is to go 100% Opt so every step in that direction is useful

@nitely
nitely merged commit 9f3e3bd into status-im:master Dec 22, 2025
24 checks passed
@nitely
nitely deleted the nitely_fix_112 branch December 22, 2025 17:45
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.

add results.Opt support

3 participants