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
The StructLog struct (module/debug/trace.go) for the result of the debug_traceTransaction RPC is using a uint to save the gas resulting in an error.
The text was updated successfully, but these errors were encountered:
argonavist
changed the title
Accomocate for Ganache negative transaction cost during debug_traceTransaction
Accomodate for Ganache negative transaction cost during debug_traceTransaction
Jul 30, 2023
The RPC-methods supported by this package are meant to support go-ethereum which can not report negative gas costs. Unfortunately the more advanced RPC-methods like tracing differ a lot between nodes and testing frameworks in their output format.
As per trufflesuite/ganache#277 and trufflesuite/ganache#578 a Ganache blockchain may report negative gas cost for a REVERT or RETURN EVM command.
The StructLog struct (module/debug/trace.go) for the result of the debug_traceTransaction RPC is using a uint to save the gas resulting in an error.
The text was updated successfully, but these errors were encountered: