dice
dice copied to clipboard
fix: issue #1115 handling integer parsing in SETBIT in certain situation
This PR closes issue #1115:
Description:
- Updated
ByteSliceToObjfunction to handle integer parsing more robustly. If the modified byte array can't be parsed as an integer, it now defaults to a string format(similar to how redis handles it). - added corresponding unit test with expected output.