Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FIles Overview :
Common File Common.go
1)EvmBuilder.go: generic builder for creating EVM instances. creating a default builder, updating the database, and modifying the environment settings for the EVM.
2)Handler.go:
This file defines the Handler and EvmHandler types for managing Ethereum Virtual Machine (EVM) execution contexts in Go. It includes configuration structures (HandlerCfg), methods for initializing handlers for different Ethereum specifications (mainnet and optimism)
Build FLags used for optimism
to enable them add it in gopls through settings
"gopls": {
"buildFlags": ["optimism"]
}
3)Context.go : creating and managing the contexts necessary for executing EVM operations
4)EvmContext.go:managing the EVM context within a specified database environment
5)Precompiles.go: integrating and executing precompiles in an EVM environment
6)InnerEvmContext.go:manage the internal state of the EVM execution environment. L1 block info holds parameters related to layer 1 block information
7)Journal.go:managing the state of evm environment
8)Journal_Entry.go :tracking state changes (account changes and storage modifications)
Files contain some commented out functions And some functions with comment not in use No need to test them