Skip to content

Commit 1942db8

Browse files
committed
Add database layering tests to flashblocks-rpc
Add tests verifying the correct State<CacheDB<StateProviderDatabase>> layering order. These tests demonstrate that CacheDB<State<...>> loses writes because CacheDB intercepts all writes into its internal cache without propagating them to State's bundle tracking.
1 parent 9752d0a commit 1942db8

File tree

4 files changed

+520
-1
lines changed

4 files changed

+520
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/flashblocks-rpc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ arc-swap.workspace = true
7979
[dev-dependencies]
8080
base-reth-test-utils.workspace = true
8181
rand.workspace = true
82+
revm.workspace = true
8283
reth-db.workspace = true
8384
reth-testing-utils.workspace = true
8485
reth-db-common.workspace = true

0 commit comments

Comments
 (0)