-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: In-memory storage implementation (#18)
# What ❔ Adds in-memory block and replica state storage implementation. Uses this implementation for tests instead of RocksDB implementation. The RocksDB implementation remains in the `storage` crate, but it's gated behind an off-by-default feature. ## Why ❔ RocksDB involves more dependencies (incl. RocksDB compilation), which could be an overkill, especially for tests. --------- Co-authored-by: pompon0 <[email protected]>
- Loading branch information
Showing
19 changed files
with
355 additions
and
186 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,25 +31,26 @@ jobs: | |
|
||
- uses: mozilla-actions/[email protected] | ||
- name: install nextest | ||
uses: baptiste0928/cargo-install@v1 | ||
uses: baptiste0928/cargo-install@v2 | ||
with: | ||
crate: cargo-nextest | ||
- name: install cranky | ||
uses: baptiste0928/cargo-install@v1 | ||
uses: baptiste0928/cargo-install@v2 | ||
with: | ||
crate: cargo-cranky | ||
- name: install deny | ||
uses: baptiste0928/cargo-install@v1 | ||
uses: baptiste0928/cargo-install@v2 | ||
with: | ||
crate: cargo-deny | ||
- name: deny | ||
run: cargo deny check | ||
- name: fmt | ||
run: cargo fmt --all --check | ||
- name: cranky | ||
run: cargo cranky --all-targets --all-features | ||
- name: cranky (all features) | ||
run: cargo cranky --workspace --all-targets --all-features | ||
- name: cranky (default features) | ||
run: cargo cranky --workspace --exclude tools --all-targets | ||
- name: build | ||
run: cargo build --all-targets --locked | ||
- name: test | ||
run: cargo nextest run --profile ci | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.