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

Extend evmone::VM lifetime #2383

Open
Tracked by #2223
chfast opened this issue Sep 30, 2024 · 0 comments
Open
Tracked by #2223

Extend evmone::VM lifetime #2383

chfast opened this issue Sep 30, 2024 · 0 comments
Labels
enhancement New feature or improvement performance Performance issue or improvement

Comments

@chfast
Copy link
Member

chfast commented Sep 30, 2024

The lifetime of the evmone::VM is unnecessarily too short because it matches the lifetime of EVM. E.g. for historical block execution a new EVM is created for each block.

evmone::VM is designed in a way one instance is enough to handle any execution in a single thread. However, the current API for tracing may be missing a way to remove tracers.

@chfast chfast added enhancement New feature or improvement performance Performance issue or improvement labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement performance Performance issue or improvement
Projects
None yet
Development

No branches or pull requests

1 participant