mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-27 16:55:18 +00:00
4eb2a50b0e
* Use inner lock in storage.
* Remove mut.
* Remove async lock for storage.
* Fix tests and warnings.
* Use spawn_blocking for storage task.
* Fix clippy.
* Finalize the new tx at last.
* Revert "Finalize the new tx at last."
This reverts commit b56ad5582d
.
* Wait for old same-root txs to finalize.
* Use async storage in miner.
* Update rust version to 1.79.0.
* Use Vec to avoid stack overflow.
* Fix unused warning.
* Fix clippy.
* Fix test warning.
* Fix test.
* fmt.
* Use async storage in pruner.
* nit.
40 lines
1010 B
TOML
40 lines
1010 B
TOML
[package]
|
|
name = "storage"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = { version = "1.0.58", features = ["backtrace"] }
|
|
append_merkle = {path = "../../common/append_merkle"}
|
|
zgs_spec = {path = "../../common/spec"}
|
|
zgs_seal = {path = "../../common/zgs_seal"}
|
|
eth2_ssz = "0.4.0"
|
|
eth2_ssz_derive = "0.3.0"
|
|
ethereum-types = "0.14"
|
|
hex = "0.4.3"
|
|
kvdb = "0.13.0"
|
|
kvdb-memorydb = "0.13.0"
|
|
kvdb-rocksdb = "0.19.0"
|
|
#merkle_light = {git = "https://github.com/sitano/merkle_light.git", rev = "fe31d4e" }
|
|
merkle_light = { path = "../../common/merkle_light" }
|
|
merkle_tree = { path = "../../common/merkle_tree"}
|
|
rayon = "1.5.3"
|
|
shared_types = { path = "../shared_types" }
|
|
tracing = "0.1.35"
|
|
typenum = "1.15.0"
|
|
bitmaps = "^3.2"
|
|
static_assertions = "1.1"
|
|
tiny-keccak = "*"
|
|
itertools = "0.13.0"
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
parking_lot = "0.12.3"
|
|
|
|
[dev-dependencies]
|
|
tempdir = "0.3.7"
|
|
rand = "0.8.5"
|
|
hex-literal = "0.3.4"
|
|
criterion = "0.4"
|
|
|
|
[[bench]]
|
|
name = "benchmark"
|
|
harness = false |