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

refactor: abstract options package #74

Merged
merged 1 commit into from
Nov 21, 2024
Merged

refactor: abstract options package #74

merged 1 commit into from
Nov 21, 2024

Conversation

ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Nov 21, 2024

Why this should be merged

Simplifies the creation and application of variadic options; this is also applicable to many of my other WIP branches (e.g. snapshot).

How this works

See libevm/options/options.go, which is very simple.

How this was tested

Existing tests of vm.PrecompileEnvironment.Call(), which itself uses refactored options.

@ARR4N ARR4N enabled auto-merge (squash) November 21, 2024 20:15
@ARR4N ARR4N merged commit 44068c8 into main Nov 21, 2024
3 checks passed
@ARR4N ARR4N deleted the arr4n/options branch November 21, 2024 21:59
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