Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: db test utils #48

Merged
merged 1 commit into from
Oct 11, 2022
Merged

chore: db test utils #48

merged 1 commit into from
Oct 11, 2022

Conversation

rkrasiuk
Copy link
Member

create db test utils and reuse in stages crate

@rkrasiuk rkrasiuk added A-db Related to the database C-test A change that impacts how or what we test labels Oct 11, 2022
@rkrasiuk rkrasiuk requested a review from joshieDo October 11, 2022 18:06
@onbjerg onbjerg merged commit bbb4621 into main Oct 11, 2022
@onbjerg onbjerg deleted the rkrasiuk/db-test-utils branch October 11, 2022 18:09
yutianwu pushed a commit to yutianwu/reth that referenced this pull request Jul 1, 2024
* fix: disable parlia task if running with debug.tip

* chore: fix lint

* chore: fix lint
AshinGau added a commit to AshinGau/reth that referenced this pull request Oct 13, 2024
## Add erc20 bench
```
Independent ERC20/Sequential
                        time:   [338.69 ms 339.42 ms 340.36 ms]
Independent ERC20/Grevm Parallel
                        time:   [130.14 ms 130.83 ms 131.55 ms]
Independent ERC20/Grevm Sequential
                        time:   [356.97 ms 357.89 ms 359.17 ms]
```
AshinGau added a commit to AshinGau/reth that referenced this pull request Oct 13, 2024
## Add erc20 bench
```
Independent ERC20/Sequential
                        time:   [338.69 ms 339.42 ms 340.36 ms]
Independent ERC20/Grevm Parallel
                        time:   [130.14 ms 130.83 ms 131.55 ms]
Independent ERC20/Grevm Sequential
                        time:   [356.97 ms 357.89 ms 359.17 ms]
```
greged93 pushed a commit to greged93/reth that referenced this pull request Dec 7, 2024
…ith `StateCommitment` (paradigmxyz#48)

* feat: introduce StateCommitment in StateProviders

* refactor: introduce StateCommimentProvider

* feat: introduce HashedPostStateProvider

* feat: HashedPostState from reverts

* feat: introduce HashedStorageProvider

* lint: revm/test-utils feature propogation

* fix: add Send + Sync bound on introduced storage state api methods

* feat: introduce KeyHasherProvider

* feat: introduce StateRootProviderExt and integrate it (and StateRootProvider) with StateCommitment

* fix: add merge files

* fix lint

* fix lint

* fmt

* add KeyHasher generic to DatabaseHashedStorage::from_reverts trait

* add merge files

* add merge files

* fix: propagate feature

* fix: merge conflicts

* reduce diff with upstream

* remove clone requirement in blockchain_tree state root calculation
greged93 added a commit to greged93/reth that referenced this pull request Dec 7, 2024
Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>

Introduce HashedPostStateProvider (paradigmxyz#45)

* feat: introduce StateCommitment in StateProviders

* refactor: introduce StateCommimentProvider

* feat: introduce HashedPostStateProvider

* feat: HashedPostState from reverts

* lint: revm/test-utils feature propogation

* fix: add Send + Sync bound on introduced storage state api methods

* fix: add merge files

* fix lint

* fix lint

* fmt

* address PR feedback

Introduce `HashedStorageProvider` (paradigmxyz#46)

* feat: introduce StateCommitment in StateProviders

* refactor: introduce StateCommimentProvider

* feat: introduce HashedPostStateProvider

* feat: HashedPostState from reverts

* feat: introduce HashedStorageProvider

* lint: revm/test-utils feature propogation

* fix: add Send + Sync bound on introduced storage state api methods

* fix: add merge files

* fix lint

* fix lint

* fmt

* add KeyHasher generic to DatabaseHashedStorage::from_reverts trait

* chore: reverse order of trait bound

Introduce `KeyHasherProvider` (paradigmxyz#47)

* feat: introduce StateCommitment in StateProviders

* refactor: introduce StateCommimentProvider

* feat: introduce HashedPostStateProvider

* feat: HashedPostState from reverts

* feat: introduce HashedStorageProvider

* lint: revm/test-utils feature propogation

* fix: add Send + Sync bound on introduced storage state api methods

* feat: introduce KeyHasherProvider

* fix: add merge files

* fix lint

* fix lint

* fmt

* add KeyHasher generic to DatabaseHashedStorage::from_reverts trait

* add merge files

* lint: minimise diff with upstream

Introduce `StateRootProviderExt` and integrate `StateRootProvider*` with `StateCommitment` (paradigmxyz#48)

* feat: introduce StateCommitment in StateProviders

* refactor: introduce StateCommimentProvider

* feat: introduce HashedPostStateProvider

* feat: HashedPostState from reverts

* feat: introduce HashedStorageProvider

* lint: revm/test-utils feature propogation

* fix: add Send + Sync bound on introduced storage state api methods

* feat: introduce KeyHasherProvider

* feat: introduce StateRootProviderExt and integrate it (and StateRootProvider) with StateCommitment

* fix: add merge files

* fix lint

* fix lint

* fmt

* add KeyHasher generic to DatabaseHashedStorage::from_reverts trait

* add merge files

* add merge files

* fix: propagate feature

* fix: merge conflicts

* reduce diff with upstream

* remove clone requirement in blockchain_tree state root calculation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-db Related to the database C-test A change that impacts how or what we test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants