diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ca3d379b5a..ba60c9c3777 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,6 +152,8 @@ jobs: args: -p fuel-core-chain-config --target wasm32-unknown-unknown --no-default-features - command: check args: -p fuel-core-executor --target wasm32-unknown-unknown --no-default-features --features alloc + - command: check + args: -p fuel-core --no-default-features fail-fast: false # disallow any job that takes longer than 45 minutes diff --git a/ci_checks.sh b/ci_checks.sh index 9c2e95bd297..e20252550eb 100755 --- a/ci_checks.sh +++ b/ci_checks.sh @@ -27,6 +27,7 @@ cargo check -p fuel-core-storage --target wasm32-unknown-unknown --no-default-fe cargo check -p fuel-core-client --target wasm32-unknown-unknown --no-default-features && cargo check -p fuel-core-chain-config --target wasm32-unknown-unknown --no-default-features && cargo check -p fuel-core-executor --target wasm32-unknown-unknown --no-default-features --features alloc && +cargo check -p fuel-core --no-default-features && cargo make check --all-features --locked && cargo make check --locked && OVERRIDE_CHAIN_CONFIGS=true cargo test --test integration_tests local_node && diff --git a/crates/fuel-core/src/combined_database.rs b/crates/fuel-core/src/combined_database.rs index 64ce3459e83..1a9a328f0a4 100644 --- a/crates/fuel-core/src/combined_database.rs +++ b/crates/fuel-core/src/combined_database.rs @@ -44,6 +44,7 @@ pub struct CombinedDatabaseConfig { pub database_type: DbType, #[cfg(feature = "rocksdb")] pub database_config: DatabaseConfig, + #[cfg(feature = "rocksdb")] pub state_rewind_policy: StateRewindPolicy, } diff --git a/crates/fuel-core/src/database.rs b/crates/fuel-core/src/database.rs index 37b5f2b097e..1f3abfb59a9 100644 --- a/crates/fuel-core/src/database.rs +++ b/crates/fuel-core/src/database.rs @@ -67,6 +67,10 @@ pub use fuel_core_database::Error; pub type Result = core::result::Result; // TODO: Extract `Database` and all belongs into `fuel-core-database`. +use crate::database::database_description::{ + gas_price::GasPriceDatabase, + indexation_availability, +}; #[cfg(feature = "rocksdb")] use crate::state::{ historical_rocksdb::{ @@ -75,17 +79,11 @@ use crate::state::{ StateRewindPolicy, }, rocks_db::{ + ColumnsPolicy, DatabaseConfig, RocksDb, }, }; -use crate::{ - database::database_description::{ - gas_price::GasPriceDatabase, - indexation_availability, - }, - state::rocks_db::ColumnsPolicy, -}; #[cfg(feature = "rocksdb")] use std::path::Path;