[ethereum/go-ethereum] Why throw errGasUintOverflow when memory size overflows? (#16698)

In line 178 in `core/vm/interpreter.go`, an errGasUintOverflow is returned. However, it seems to that this error is returned when actually the memory size overflows. Is this true? And if so, is this not a bit misleading?

Best,
Vincent
https://github.com/ethereum/go-ethereum/blob/45bd4feddeadfbde5d1e560797155aacb0abbadf/core/vm/interpreter.go#L178

This post was last modified on May 7, 2018, 5:28 pm