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 05a2af4 commit 2764a1dCopy full SHA for 2764a1d
core/vm/memory.go
@@ -56,7 +56,8 @@ func (m *Memory) Set32(offset uint64, val *uint256.Int) {
56
panic("invalid memory: store empty")
57
}
58
// Fill in relevant bits
59
- val.WriteToSlice(m.store[offset:])
+ b32 := val.Bytes32()
60
+ copy(m.store[offset:], b32[:])
61
62
63
// Resize resizes the memory to size
0 commit comments