Skip to content

Leap v5.0.2

Latest
Compare
Choose a tag to compare
@ericpassmore ericpassmore released this 21 Feb 17:55
· 396 commits to main since this release
7cd03d6

Leap v5.0.2 is a patch release which fixes a long standing (but recently discovered) issue in trace api wherein some blocks cannot be deserialized. For nodes that are not running trace api there is no need to upgrade.

Nodes that run trace api should upgrade to avoid errors in some calls to /v1/trace_api/get_block.

Leap v5.0.2 Release Notes

Significant Changes

Corrected Return Value Conversion via ABI in TraceAPI

In this release, we made changes to ensure the accurate conversion of return values via ABI within the TraceAPI.

Prior to this update, there were instances where the conversion process was not handled correctly, leading to potential crashes, particularly observed in the _binary_to_variant function under specific conditions. The root cause of the problem stemmed from incomplete handling of action return value conversion by ABI, particularly when an action return value ABI was not readily available. Consequently, attempts to perform such conversions could result in erroneous outcomes, manifesting as crashes or unexpected behavior, especially evident in scenarios where binary to variant conversion was attempted.

Following the implementation of this fix, the TraceAPI module now correctly handles the conversion of return values via ABI. Specifically, action return values are converted using the appropriate ABI, with conversion attempts being made only when a valid action return value ABI is available. This ensures a more stable and reliable behavior, mitigating the risk of crashes or unexpected outcomes previously associated with return value conversion.

Contributors

Full PR List