Skip to content

Commit

Permalink
Revert "Conditionally compile versions (#2559)"
Browse files Browse the repository at this point in the history
This reverts commit cc6bd8a.
  • Loading branch information
rob-maron committed Feb 13, 2025
1 parent 0b8b45a commit 51719dd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cargo-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
cargo-features:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: taiki-e/install-action@cargo-hack

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ concurrency:

env:
RUST_LOG: info,libp2p=off,node=error
RUSTFLAGS: "--cfg feature=\"fee\" --cfg feature=\"marketplace\""
CARGO_TERM_COLOR: always
# Save the process compose logs
PC_LOGS: /tmp/pc.log
Expand Down
4 changes: 0 additions & 4 deletions sequencer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["fee"]
testing = [
"hotshot-testing",
"marketplace-builder-core",
Expand All @@ -16,9 +15,6 @@ testing = [
]
benchmarking = []
embedded-db = ["hotshot-query-service/embedded-db"]
fee = []
pos = []
marketplace = []

[[bin]]
name = "espresso-dev-node"
Expand Down
4 changes: 0 additions & 4 deletions sequencer/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use super::{
persistence, Genesis, L1Params, NetworkParams,
};
use clap::Parser;
#[allow(unused_imports)]
use espresso_types::{
traits::NullEventConsumer, FeeVersion, MarketplaceVersion, SequencerVersions,
SolverAuctionResultsProvider, V0_0,
Expand Down Expand Up @@ -39,7 +38,6 @@ pub async fn main() -> anyhow::Result<()> {
let upgrade = genesis.upgrade_version;

match (base, upgrade) {
#[cfg(all(feature = "fee", feature = "marketplace"))]
(FeeVersion::VERSION, MarketplaceVersion::VERSION) => {
run(
genesis,
Expand All @@ -49,7 +47,6 @@ pub async fn main() -> anyhow::Result<()> {
)
.await
}
#[cfg(feature = "fee")]
(FeeVersion::VERSION, _) => {
run(
genesis,
Expand All @@ -59,7 +56,6 @@ pub async fn main() -> anyhow::Result<()> {
)
.await
}
#[cfg(feature = "marketplace")]
(MarketplaceVersion::VERSION, _) => {
run(
genesis,
Expand Down

0 comments on commit 51719dd

Please sign in to comment.