Skip to content

Commit 36328e0

Browse files
shuklaayushbranch-rebase-bot[bot]
authored andcommitted
chore: remove rebase artifact
1 parent ab60d6d commit 36328e0

File tree

1 file changed

+6
-9
lines changed
  • crates/vm/src/arch/execution_mode/metered

1 file changed

+6
-9
lines changed

crates/vm/src/arch/execution_mode/metered/ctx.rs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,12 @@ impl<const PAGE_BITS: usize> MeteredCtx<PAGE_BITS> {
4949
})
5050
.unzip();
5151

52-
let segmentation_ctx =
53-
SegmentationCtx::new(air_names, widths, interactions, config.segmentation_limits);
52+
let segmentation_ctx = SegmentationCtx::new(
53+
air_names,
54+
widths,
55+
interactions,
56+
config.segmentation_config.clone(),
57+
);
5458
let memory_ctx = MemoryCtx::new(config, segmentation_ctx.segment_check_insns);
5559

5660
// Assert that the indices are correct
@@ -72,13 +76,6 @@ impl<const PAGE_BITS: usize> MeteredCtx<PAGE_BITS> {
7276
segmentation_ctx.air_names[memory_ctx.adapter_offset]
7377
);
7478

75-
let segmentation_ctx = SegmentationCtx::new(
76-
air_names,
77-
widths,
78-
interactions,
79-
config.segmentation_config.clone(),
80-
);
81-
8279
let mut ctx = Self {
8380
trace_heights,
8481
is_trace_height_constant,

0 commit comments

Comments
 (0)