bench: no metrics or logs while holding tx lock - #2651
Conversation
# Conflicts: # src/eth/executor/evm/types/input/call_execution.rs # src/eth/executor/mod.rs # src/eth/storage/stratus_storage.rs
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
Benchmark: Git Info:
Leader Stats: Follower Stats: Plots: |
PR Type
Enhancement, Tests
Description
Replace
Changeswith genericState<S>modelAdapt storage layers to propagate
StatechangesUpdate executor and EVM outputs to include state
Refactor and update tests for new state mechanism
Diagram Walkthrough
File Walkthrough
19 files
Refactor `StratusStorage` to use generic `State`Implement generic `Change` trait for valuesIntroduce `State` struct and stage markersUpdate `Executor` to propagate new stateExtend `TransactionExecutionOutput` with stateIntegrate `State` in temporary transaction storageRemove call storage; use `State` for transactionsSimplify pending resolution logicAdapt RocksDB batch writes to use `State`Update permanent storage to accept `State` changesRemove pending cache; use latest-only cachingPass `State` to miner save and commit flowsClean up EVM input and state handlingUpdate `TransactionExecution` to use input/outputAdjust event builder for new execution outputMap mined transactions to use `State` outputRefine `Change` implementations for slot and accountDerive `Deref` for execution output outcomeRemove old `block_changes` clone logic1 files
Update importer tests to use new `State`28 files