File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
crates/vm/src/arch/execution_mode/metered Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff 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,
You can’t perform that action at this time.
0 commit comments