Closed sideninja closed 2 months ago
The pull request introduces significant enhancements to the state management and transaction processing capabilities of the Flow EVM Gateway. Key modifications include the addition of new fields and methods for state indexing in the Bootstrap
struct, a new state management engine, and improved configurations in the emulator. These changes enhance the handling of transactions and state inspections, enabling better integration with JSON RPC APIs and bolstering the overall functionality of the system.
Files | Change Summary |
---|---|
bootstrap/bootstrap.go |
Added fields Requester , State , and Ledger to Bootstrap struct; changed visibility of several fields to public; updated methods to utilize new fields; introduced StartStateIndex and StopStateIndex methods. |
models/transaction.go |
Modified formatting of NewReceipt function call for improved readability. |
tests/helpers.go |
Enhanced startEmulator function with SkipTransactionValidation field; improved readability of evmSign function. |
services/state/state.go |
Introduced State struct with methods for transaction execution and state management, including NewState and Execute . |
bootstrap/bootstrap.go
file involve modifications to the Bootstrap
struct, specifically the addition of new fields and changes to existing field visibility, which enhances functionality related to state management.bootstrap/bootstrap.go
file, specifically the startIngestion
and startServer
functions, which are related to the overall management of transactions and state, aligning with the changes made in the main PR.bootstrap/bootstrap.go
file regarding the client setup and its parameters are relevant as they enhance the functionality of the Bootstrap
struct, which is a central focus of the main PR.🐇 In the meadow where code does play,
New fields and methods brighten the day.
With state and ledger, we leap and bound,
In the world of EVM, joy is found!
So hop along, let’s dance and cheer,
For changes that bring us all good cheer! 🎉
Description
Implementation of state engine and state index.
There are two components:
For contributor use:
master
branchFiles changed
in the Github PR explorerSummary by CodeRabbit
New Features
Bug Fixes
Tests