Skip to content

Commit

Permalink
Disable default gas_calibration on massa-xtask
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon committed Jan 14, 2025
1 parent ce90e00 commit d87d6b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 6 additions & 1 deletion massa-xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ 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}
toml_edit = {workspace = true} # BOM UPGRADE Revert to "0.19.8" if problem
walkdir = {workspace = true}
# check_gas_costs dependencies
massa-sc-runtime = {workspace = true, features = ["gas_calibration"]}
massa-sc-runtime = {workspace = true}

0 comments on commit d87d6b1

Please sign in to comment.