fix(ci): Optimism unit / integration tests (#5318)

This commit is contained in:
clabby
2023-11-06 13:58:29 +01:00
committed by GitHub
parent 22dfe96ae0
commit fa803fd7ef
6 changed files with 12 additions and 36 deletions

View File

@@ -32,3 +32,7 @@ clap = { workspace = true }
jsonrpsee = { workspace = true }
eyre = { workspace = true }
serde_json = { workspace = true }
[features]
# Included solely to ignore certain tests.
optimism = []

View File

@@ -51,7 +51,11 @@ impl RethNodeCommandConfig for AutoMineConfig {
}
}
/// This test is disabled for the `optimism` feature flag due to an incompatible feature set.
/// L1 info transactions are not included automatically, which are required for `op-reth` to
/// process transactions.
#[test]
#[cfg_attr(feature = "optimism", ignore)]
pub fn test_auto_mine() {
// create temp path for test
let temp_path = tempfile::TempDir::new().expect("tempdir is okay").into_path();