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

make storage async, attempt 3. #124

Merged
merged 26 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8e4f3a6
chore: moving storage from twenty-first
dan-da Mar 17, 2024
37247a3
wip: make storage layer async. passes all tests except doctests
dan-da Feb 24, 2024
87a630b
wip: remove util_types/sync
dan-da Mar 17, 2024
081048f
wip. storage cleanups, and impl DbtVec stream tests
dan-da Mar 17, 2024
a368996
wip. fix storage_vec module tests, cleanup
dan-da Mar 17, 2024
0e61893
wip. cargo fmt
dan-da Mar 17, 2024
6b16bb7
wip. misc cleanups. no more warnings
dan-da Mar 18, 2024
1c92969
wip. move mock mmr test code into test module
dan-da Mar 18, 2024
5579e3a
wip. remove dep on twenty_first::mock
dan-da Mar 18, 2024
88a6814
wip. lint
dan-da Mar 18, 2024
d19dd82
wip. update to latest lib-tasm
dan-da Mar 18, 2024
1902d57
feat: add ProofType and BlockType enums
dan-da Mar 19, 2024
70581d5
doc: fix doctests. all tests now passing
dan-da Mar 20, 2024
5429901
doc: update DbSchema docs, remove unused files
dan-da Mar 20, 2024
a08cc76
style: rename crate::locks::sync to std
dan-da Mar 20, 2024
35af634
perf: add sync_atomic bench test
dan-da Mar 20, 2024
abaf084
refactor: Kill traits `Mmr` and `MutatorSet`
aszepieniec Mar 25, 2024
b769f6f
refactor: Drop `MutatorSetKernel`
aszepieniec Mar 25, 2024
efc17fe
refactor: remove sync methods in ArchivalMmr
dan-da Mar 25, 2024
5f64447
style: remove '_async' from ArchivalMmr methods
dan-da Mar 25, 2024
a875c8e
chore: fix clippy 1.77 errors
dan-da Apr 2, 2024
bbf9f3d
test: fixes broken doctests
dan-da Apr 1, 2024
a1902ec
fix: get_batch_index_async() off-by-1, fixes 3 failing tests
dan-da Mar 31, 2024
76ec08a
fix: Mutator set batch remove
aszepieniec Apr 2, 2024
31cb089
chore: clippy, remove needless casts
dan-da Apr 2, 2024
e765697
doc: doc-comment tweak
dan-da Apr 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 50 additions & 124 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,17 @@ tracing-subscriber = { version = "0", features = [
tracing-test = "0"
unicode-width = "0"
zeroize = "1.7.0"
rs-leveldb = "0.1.5"
leveldb-sys = "2.0.9"
async-trait = "0.1.77"
async-stream = "0.3.5"

[dev-dependencies]
test-strategy = "0.3"
pin-project-lite = "0.2.13"
tokio-test = "0"
blake3 = "1.5.1"
divan = "0.1.14"

[dev-dependencies.cargo-husky]
default-features = false
Expand Down Expand Up @@ -90,8 +96,14 @@ opt-level = 0
# codegen-units = 256
# rpath = false

[[bench]]
name = "sync_atomic"
harness = false

[patch.crates-io]
# # rev = "f711ae27d1402d733989624bbadd59b7e82a1972" is tip of tasm-lib master as of 2024-01-25
# tasm-lib = { git = "https://github.com/TritonVM/tasm-lib.git", rev = "f711ae27d1402d733989624bbadd59b7e82a1972" }
# rev = "928b1fa7522aacdb055c4c04d144b44af241f2e6" is tip of tasm-lib master as of 2024-02-27
tasm-lib = { git = "https://github.com/TritonVM/tasm-lib.git", rev = "928b1fa7522aacdb055c4c04d144b44af241f2e6" }
# 15a708cf6fcbd9ed3e65e5e2067be6e622176328 is tip of branch: make_storage_async as of 2024-03-18
tasm-lib = { git = "https://github.com/dan-da/tasm-lib.git", rev = "15a708cf6fcbd9ed3e65e5e2067be6e622176328" }

# 81573735e9df4836ca16655fd31884271984bac7 = tip of branch: make_storage_async on 2024-03-18
twenty-first = { git = "https://github.com/Neptune-Crypto/twenty-first.git", rev = "81573735e9df4836ca16655fd31884271984bac7"}

Loading
Loading