diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5eac7cc100..0eba0a93de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,7 +132,7 @@ jobs: with: shared-key: "clippy" save-if: ${{ github.ref_name == 'main' }} - - run: cargo xtask check_gas_cost_definitions + - run: cargo run --bin massa_xtask --features gas_calibration check_gas_cost_definitions # Full cross-platform tests required to merge on main branch full: diff --git a/massa-xtask/Cargo.toml b/massa-xtask/Cargo.toml index f4f32126d6..cbc8a992d9 100644 --- a/massa-xtask/Cargo.toml +++ b/massa-xtask/Cargo.toml @@ -3,6 +3,11 @@ name = "massa_xtask" version = "2.5.0" edition = "2021" +[features] +gas_calibration = [ + "massa-sc-runtime/gas_calibration" +] + [dependencies] # update_package_versions dependencies massa_models = {workspace = true}