We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 179d142 commit 743a26cCopy full SHA for 743a26c
lib_libwasmvm_test.go
@@ -489,12 +489,8 @@ func TestStoreCodeStress(t *testing.T) {
489
}
490
491
// Cleanup some contracts to test removal
492
- for i, checksum := range checksums {
493
- if i%2 == 0 { // Remove half to test memory reclamation
494
- err := vm.RemoveCode(checksum)
495
- require.NoError(t, err)
496
- }
497
+ err = vm.RemoveCode(checksums[0])
+ require.NoError(t, err)
498
499
finalAlloc, finalMallocs, finalFrees := getMemoryStats()
500
t.Logf("Final: Heap=%d bytes (+%d), Net allocs=%d",
0 commit comments