Skip to content

Commit

Permalink
chore: bump rocksdb up to 0.21 (#840)
Browse files Browse the repository at this point in the history
## Description

The `rocksdb` crate has been updated up to 0.21 in the nearcore
1.36.0-rc.1.
  • Loading branch information
aleksuss authored Sep 27, 2023
1 parent 20f33ba commit b493d30
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 11 deletions.
38 changes: 30 additions & 8 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ primitive-types = { version = "0.12", default-features = false, features = ["rlp
rand = "0.8"
ripemd = { version = "0.1", default-features = false }
rlp = { version = "0.5", default-features = false }
rocksdb = { version = "0.19", default-features = false }
rocksdb = { version = "0.21", default-features = false }
serde = { version = "1", default-features = false, features = ["alloc", "derive"] }
serde_json = { version = "1", default-features = false, features = ["alloc"] }
sha2 = { version = "0.10", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion engine-standalone-storage/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::{sync::types::TransactionKindTag, TransactionIncluded};
use aurora_engine_types::H256;
use std::fmt;

#[derive(Debug, PartialEq, Clone)]
#[derive(Debug, PartialEq, Eq, Clone)]
pub enum Error {
BlockNotFound(H256),
Borsh(String),
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/build_rocksdb.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

ROCKSDB_VER=v7.4.4
ROCKSDB_VER=v8.1.1
INSTALL_PATH=/root/rocksdb
LIB_PATH=$INSTALL_PATH/lib/librocksdb.a

Expand Down

0 comments on commit b493d30

Please sign in to comment.