Skip to main content

update-gas-expectations

Bulk-refresh the hardcoded gas / resource expectations in Starknet Foundry's Forge integration tests (assert_gas, assert_syscall, assert_builtin, and the available_gas error strings). Use this whenever those tests fail with expected-vs-actual mismatches after a Scarb or blockifier bump, or whenever the user asks to "update gas values", "fix the gas tests", "regenerate gas expectations", or mentions that gas.rs / resources.rs / available_gas.rs assertions are stale. Prefer this skill over manually editing the numbers one by one — it drives the tests and rewrites every stale value in one guided pass.

Jump to install

Source facts

Repository
foundry-rs/starknet-foundry
Last source activity
July 31, 2026 at 16:46
Detected SKILL.md language
English
Stars
393
Forks
257

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.