You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[Bug] _from_v06 hardcodes tx_execution_result=0, hiding actual execution results on Bradbury #308
The code this references actually lives in genlayerlabs/genlayer-py (genlayer_py/types/transactions.py), not this repo — this repo doesn't have a genlayer_py/ package. Confirmed the bug is still live there on v0.18.
One correction on the suggested fix: tx_data[9] in the v06 shape is txExecutionHash, a bytes32 hash — not a result code — per the existing comment two lines above it in _from_v06. There's no field in the light getTransaction ABI to remap; it structurally doesn't carry an execution result on either the v04 or v06 shape (only getTransactionAllData does).
Opened genlayerlabs/genlayer-py#114 against v0.18: widens tx_execution_result to Optional[int] and returns None from the light decode instead of the misleading 0 (which aliases to the real NOT_VOTED status), with a regression test covering both ABI shapes plus the unaffected getTransactionAllData path.
Activity
2TheMoom commentedon Sep 3, 2026
The code this references actually lives in
genlayerlabs/genlayer-py(genlayer_py/types/transactions.py), not this repo — this repo doesn't have agenlayer_py/package. Confirmed the bug is still live there onv0.18.One correction on the suggested fix:
tx_data[9]in the v06 shape istxExecutionHash, abytes32hash — not a result code — per the existing comment two lines above it in_from_v06. There's no field in the lightgetTransactionABI to remap; it structurally doesn't carry an execution result on either the v04 or v06 shape (onlygetTransactionAllDatadoes).Opened genlayerlabs/genlayer-py#114 against
v0.18: widenstx_execution_resulttoOptional[int]and returnsNonefrom the light decode instead of the misleading0(which aliases to the realNOT_VOTEDstatus), with a regression test covering both ABI shapes plus the unaffectedgetTransactionAllDatapath.