From 8c5a76e5417c706fc2b046ce5a3bda911d6284d3 Mon Sep 17 00:00:00 2001 From: MariusVanDerWijden Date: Thu, 30 Oct 2025 12:51:50 +0100 Subject: [PATCH] core/vm: re-add doc --- core/vm/memory.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/vm/memory.go b/core/vm/memory.go index aa4b93c009..de58c74871 100644 --- a/core/vm/memory.go +++ b/core/vm/memory.go @@ -76,6 +76,7 @@ func (m *Memory) Set32(offset uint64, val *uint256.Int) { val.PutUint256(m.store[offset:]) } +// Resize resizes the memory to size func (m *Memory) Resize(size uint64) { if uint64(m.Len()) < size { if uint64(cap(m.store)) > size {