-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support block hash operation in modularized web3 (#10148)
* Add a `BlockInfo` singleton to return the last 256 block hashes * Add a `RunningHashes` singleton to return the running hash * Add `MirrorOperationTracer` to modularized execution * Change modularized code to not initialize stacked state frame * Change to always load requested block in modularized code for use in `BlockInfo` later * Change to initialize `VersionedConfiguration` once and use it everywhere * Change to reuse stateless `TransactionExecutor` between requests * Disable `contracts.sidecars` to avoid generating unnecessary sidecar data * Fix EVM version being cached for the first request * Fix some tests by always inserting exchange rate --------- Signed-off-by: Steven Sheehy <[email protected]>
- Loading branch information
1 parent
84db054
commit 468fec2
Showing
30 changed files
with
744 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.