Skip to content

Conversation

rakita
Copy link
Member

@rakita rakita commented Nov 29, 2023

A lot of changes and Evm now contains just a Context and a Handler, context is divided into EvmContext and generic external context (Generic struct) and Handler contains a list of functions (handlers) that introduce logic.

EvmBuilder sets context and handler and allows creation of the Evm, where Evm is used in execution.

A few more handlers are added to Handler.

Precompile inner vec is replaced with HashSet as performance for 10 items is similar (the interesting thing is that linear search was faster than binary search for small numbers).

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