Skip to content

Commit 6f764a4

Browse files
authored
fix(new-execution): don't override min block size (#1619)
one line fix. now that we're only initializing `TracingMemory` with `new`, we should remove this line from `with_image`
1 parent c776b5a commit 6f764a4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/vm/src/system/memory/online.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ impl<F: PrimeField32> TracingMemory<F> {
160160

161161
/// Instantiates a new `Memory` data structure from an image.
162162
pub fn with_image(mut self, image: MemoryImage, _access_capacity: usize) -> Self {
163-
self.min_block_size = vec![1; self.meta.len()];
164163
for (i, (paged_vec, cell_size)) in izip!(&image.paged_vecs, &image.cell_size).enumerate() {
165164
let num_cells = paged_vec.bytes_capacity() / cell_size;
166165

0 commit comments

Comments
 (0)