mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 11:17:56 +00:00
Switch to new kvdb-rocksdb (#4186)
* Switch to new rocksdb with some hacks to resolve linking errors Rocksdb and `wasmtime-environ` both link `zstd`. In the final link step, this leads to linking errors because of duplicate symbols. The linked Rocksdb fixes this by using `zstd-sys` as well. However, this currently also requires modifications in `zstd-sys`. Someone will need to come up with a better implementation. * Switch to new version of kvdb-rocksdb * Update client/db/src/utils.rs Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
@@ -98,7 +98,11 @@ pub struct RefTrackingState<Block: BlockT> {
|
||||
}
|
||||
|
||||
impl<B: BlockT> RefTrackingState<B> {
|
||||
fn new(state: DbState, storage: Arc<StorageDb<B>>, parent_hash: Option<B::Hash>) -> RefTrackingState<B> {
|
||||
fn new(
|
||||
state: DbState,
|
||||
storage: Arc<StorageDb<B>>,
|
||||
parent_hash: Option<B::Hash>,
|
||||
) -> RefTrackingState<B> {
|
||||
RefTrackingState {
|
||||
state,
|
||||
parent_hash,
|
||||
|
||||
Reference in New Issue
Block a user