Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions Cargo.lock

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

15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ celestia-tendermint = "0.32.1"
celestia-types = "0.1.1"
clap = "4.5.4"
const_format = "0.2.32"
divan = "0.1.14"
ethers = { version = "2.0.11", default-features = false }
futures = "0.3"
hex = "0.4"
Expand All @@ -68,20 +69,18 @@ humantime = "2.1.0"
hyper = "0.14"
ibc-types = "0.12"
indexmap = "2.1.0"
insta = "1.36.1"
itertools = "0.12.1"
itoa = "1.0.10"
jsonrpsee = { version = "0.20" }
once_cell = "1.17.1"
pin-project-lite = "0.2.13"
sha2 = "0.10"
serde = "1"
serde_json = "1"
metrics = "0.22.1"
once_cell = "1.17.1"
pbjson-types = "0.6"
# Note that when updating the penumbra versions, vendored types in `proto/sequencerapis/astria_vendored` may need to be updated as well.
penumbra-ibc = { git = "https://github.com/penumbra-zone/penumbra.git", tag = "v0.78.0", default-features = false }
penumbra-proto = { git = "https://github.com/penumbra-zone/penumbra.git", tag = "v0.78.0" }
penumbra-tower-trace = { git = "https://github.com/penumbra-zone/penumbra.git", tag = "v0.78.0" }
pin-project-lite = "0.2.13"
prost = "0.12"
rand = "0.8.5"
regex = "1.9"
Expand All @@ -90,19 +89,21 @@ regex = "1.9"
reqwest = { version = "0.11", default-features = false, features = [
"rustls-tls",
] }
serde = "1"
serde_json = "1"
sha2 = "0.10"
tempfile = "3.6.0"
tendermint = "0.34.0"
tendermint-config = "0.34.0"
tendermint-proto = "0.34.0"
tendermint-rpc = "0.34.0"
thiserror = "1"
tokio = "1.28"
tokio-stream = { version = "0.1.14" }
tokio-test = "0.4.2"
tokio-util = "0.7.9"
tonic = "0.10"
tracing = "0.1"
tryhard = "0.5.1"
which = "4.4.0"
wiremock = "0.5"
insta = "1.36.1"
tokio-stream = { version = "0.1.14" }
2 changes: 1 addition & 1 deletion crates/astria-merkle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sha2 = { workspace = true }

[dev-dependencies]
ct-merkle = "0.1.0"
divan = "0.1.14"
divan = { workspace = true }
hex-literal = { workspace = true }

[features]
Expand Down
2 changes: 0 additions & 2 deletions crates/astria-merkle/benches/benchmark.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::wildcard_imports)]

use astria_merkle::Tree;
use ct_merkle::CtMerkleTree;
use divan::{
Expand Down
18 changes: 11 additions & 7 deletions crates/astria-sequencer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,21 @@ telemetry = { package = "astria-telemetry", path = "../astria-telemetry", featur

anyhow = "1"
borsh = { version = "1", features = ["derive"] }
cnidarium = { git = "https://github.com/penumbra-zone/penumbra.git", tag = "v0.78.0", features = [
"metrics",
] }
cnidarium-component = { git = "https://github.com/penumbra-zone/penumbra.git", tag = "v0.78.0" }
ibc-proto = { version = "0.41.0", features = ["server"] }
matchit = "0.7.2"
priority-queue = "2.0.2"
tower = "0.4"
tower-abci = "0.12.0"
tower-actor = "0.1.0"
cnidarium = { git = "https://github.com/penumbra-zone/penumbra.git", tag = "v0.78.0", features = [
"metrics",
] }
cnidarium-component = { git = "https://github.com/penumbra-zone/penumbra.git", tag = "v0.78.0" }
tower-http = { version = "0.4", features = ["cors"] }

async-trait = { workspace = true }
bytes = { workspace = true }
divan = { workspace = true }
futures = { workspace = true }
hex = { workspace = true, features = ["serde"] }
ibc-types = { workspace = true, features = ["with_serde"] }
Expand All @@ -57,9 +60,6 @@ tokio = { workspace = true, features = ["rt", "tracing"] }
tonic = { workspace = true }
tracing = { workspace = true }

ibc-proto = { version = "0.41.0", features = ["server"] }
tower-http = { version = "0.4", features = ["cors"] }

[dev-dependencies]
astria-core = { path = "../astria-core", features = [
"server",
Expand All @@ -75,3 +75,7 @@ tokio = { workspace = true, features = ["test-util"] }

[build-dependencies]
astria-build-info = { path = "../astria-build-info", features = ["build"] }

[[bench]]
name = "benchmark"
harness = false
17 changes: 17 additions & 0 deletions crates/astria-sequencer/benches/benchmark.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Required to force the benchmark target to actually register the divan benchmark cases.
use astria_sequencer as _;

fn main() {
// Handle `nextest` querying the benchmark binary for tests. Currently `divan` is incompatible
// with `nextest`, so just report no tests available.
// See https://github.com/nvzqz/divan/issues/43 for further details.
let args: Vec<_> = std::env::args().collect();
if args.contains(&"--list".to_string())
&& args.contains(&"--format".to_string())
&& args.contains(&"terse".to_string())
{
return;
}
// Run registered benchmarks.
divan::main();
}
Loading