Skip to content

Commit

Permalink
Merge branch 'breaking-enha-rocksdb' into rocks_db_config
Browse files Browse the repository at this point in the history
  • Loading branch information
carneiro-cw authored Dec 17, 2024
2 parents 9ff5796 + de60e3e commit 94a03dd
Show file tree
Hide file tree
Showing 45 changed files with 459 additions and 723 deletions.
100 changes: 0 additions & 100 deletions Cargo.lock

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

5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ tracing-subscriber = { version = "=0.3.18", features = ["env-filter", "json"] }
tracing-serde = "=0.1.3"

# storage
redis = "=0.26.0"
rocksdb = { version = "=0.22.0", features = ["multi-threaded-cf"] }
sqlx = { version = "=0.8.2", features = [
"runtime-tokio",
Expand All @@ -123,7 +122,6 @@ sqlx = { version = "=0.8.2", features = [
# test
fake = { version = "=2.9.2", features = ["chrono", "derive"] }
rdkafka = {version = "=0.36.2", features = ["ssl", "sasl"] }
openssl = { version = "=0.10.68", features = ["vendored"] }
sasl2-sys = { version = "=0.1.22", features = ["vendored"] }

# Historic events processor
Expand Down Expand Up @@ -153,10 +151,7 @@ console-subscriber = { git = "https://github.com/tokio-rs/console.git", rev = "8
# ------------------------------------------------------------------------------

[dev-dependencies]
binary_macros = "=1.0.0"
fancy-duration = "=0.9.2"
serde_plain = "=1.0.2"
stringreader = "=0.1.1"
tempfile = "=3.10.1"
glob = "=0.3.1"

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Welcome to Stratus, the cutting-edge EVM executor and JSON-RPC server with custo
## Current storage implementations

- In Memory
- Redis
- RocksDB (default)

## Performance Landscape
Expand Down
17 changes: 1 addition & 16 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,7 @@ services:
- manual

# ----------------------------------------------------------------------------
# Redis
# ----------------------------------------------------------------------------
redis:
image: redis:7.2.5
ports:
- "6379:6379"

redis-commander:
image: rediscommander/redis-commander:latest
ports:
- "8081:8081"
environment:
- REDIS_HOSTS=local:redis:6379

# ----------------------------------------------------------------------------
# PromethMeus
# Prometheus
# ----------------------------------------------------------------------------
prometheus:
image: prom/prometheus
Expand Down
10 changes: 5 additions & 5 deletions e2e/cloudwalk-contracts/integration/package-lock.json

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

2 changes: 1 addition & 1 deletion e2e/cloudwalk-contracts/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "hardhat-project",
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@openzeppelin/hardhat-upgrades": "^3.0.1",
"@openzeppelin/hardhat-upgrades": "3.3.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"axios": "^1.6.7",
"ethers": "^6.9.0",
Expand Down
14 changes: 12 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,6 @@ e2e-leader-follower-up test="brlc" release_flag="--release":
fi
)
fi
killport 3000 -s sigterm
killport 3001 -s sigterm

# E2E: Leader & Follower Down
e2e-leader-follower-down:
Expand Down Expand Up @@ -543,6 +541,8 @@ stratus-test-coverage output="":
-rm -r temp_3001-rocksdb
-docker compose down -v
just e2e-leader-follower-up kafka " "
killport 3000 -s sigterm
killport 3001 -s sigterm
sleep 10
-rm -r e2e_logs
-rm utils/deploy/deploy_01.log
Expand All @@ -551,6 +551,8 @@ stratus-test-coverage output="":
-rm -r temp_3000-rocksdb
-rm -r temp_3001-rocksdb
just e2e-leader-follower-up deploy " "
killport 3000 -s sigterm
killport 3001 -s sigterm
sleep 10
-rm -r e2e_logs
-rm utils/deploy/deploy_01.log
Expand All @@ -559,6 +561,8 @@ stratus-test-coverage output="":
-rm -r temp_3000-rocksdb
-rm -r temp_3001-rocksdb
just e2e-leader-follower-up brlc " "
killport 3000 -s sigterm
killport 3001 -s sigterm
sleep 10
-rm -r e2e_logs
-rm utils/deploy/deploy_01.log
Expand All @@ -567,6 +571,8 @@ stratus-test-coverage output="":
-rm -r temp_3000-rocksdb
-rm -r temp_3001-rocksdb
just e2e-leader-follower-up change " "
killport 3000 -s sigterm
killport 3001 -s sigterm
sleep 10
-rm -r e2e_logs
-rm utils/deploy/deploy_01.log
Expand All @@ -575,6 +581,8 @@ stratus-test-coverage output="":
-rm -r temp_3000-rocksdb
-rm -r temp_3001-rocksdb
just e2e-leader-follower-up miner " "
killport 3000 -s sigterm
killport 3001 -s sigterm
sleep 10
-rm -r e2e_logs
-rm utils/deploy/deploy_01.log
Expand All @@ -583,6 +591,8 @@ stratus-test-coverage output="":
-rm -r temp_3000-rocksdb
-rm -r temp_3001-rocksdb
just e2e-leader-follower-up importer " "
killport 3000 -s sigterm
killport 3001 -s sigterm
sleep 10
-rm -r e2e_logs
-rm utils/deploy/deploy_01.log
Expand Down
Loading

0 comments on commit 94a03dd

Please sign in to comment.