Skip to content

Commit

Permalink
chore: Bump schedule version to reinstrument codes (#4035)
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx authored Jun 27, 2024
1 parent bcfaff1 commit e8b483b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pallets/gear/src/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ impl<T: Config> Default for InstructionWeights<T> {
fn default() -> Self {
type W<T> = <T as Config>::WeightInfo;
Self {
version: 1400,
version: 1420,
i64const: cost_instr::<T>(W::<T>::instr_i64const, 1),
i64load: cost_instr::<T>(W::<T>::instr_i64load, 0),
i32load: cost_instr::<T>(W::<T>::instr_i32load, 0),
Expand Down
2 changes: 1 addition & 1 deletion utils/wasm-instrument/src/gas_metering/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ pub struct InstructionWeights {
impl Default for InstructionWeights {
fn default() -> Self {
Self {
version: 1400,
version: 1420,
i64const: 153,
i64load: 3111,
i32load: 4850,
Expand Down

0 comments on commit e8b483b

Please sign in to comment.