Popping from an empty array does not throw panic error 0x31
Closed this issue · 1 comments
konstantinabl commented
Description
While working on #483 I found that when we try to pop from an empty storage array the operation is successful, eventhough we expect it to fail with panic error 0x31 as per the solidity docs -> https://docs.soliditylang.org/en/latest/control-structures.html#panic-via-assert-and-error-via-require
Steps to reproduce
- Run the test for 0x31 error in panicError.js
Additional context
No response
Hedera network
other
Version
0.43
Operating system
macOS
konstantinabl commented
Issue not valid, therefore closing it