Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# What ❔ Fix: incorrect directory of intrinsic.rs generated. (#332) change ```rust fn update_rust_system_constants(intrinsic_gas_constants: &IntrinsicSystemGasConstants) { let rust_fee_constants = generate_rust_fee_constants(intrinsic_gas_constants); save_file( "core/lib/config/src/constants/fees/intrinsic.rs", rust_fee_constants, ); } ``` to ```rust fn update_rust_system_constants(intrinsic_gas_constants: &IntrinsicSystemGasConstants) { let rust_fee_constants = generate_rust_fee_constants(intrinsic_gas_constants); save_file( "core/lib/constants/src/fees/intrinsic.rs", rust_fee_constants, ); } ``` ## Why ❔ File `intrinsic.rs` is generated to dir `core/lib/constants/src/fees`. ## Checklist - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [x] Tests for the changes have been added / updated. - [x] Documentation comments have been added / updated. - [x] Code has been formatted via `zk fmt` and `zk lint`.
- Loading branch information