Leap v3.1.5 is a critical patch which eliminates a security vulnerability, and also includes bug fixes aimed at enhancing the stability and performance of Leap.
All Antelope nodes should upgrade to a version of leap containing the security patch (v3.1.5, v3.2.4, v4.0.4).
Leap v3.1.5 contains a security patch eliminating a denial of service vulnerability present in all prior versions of Leap.
Changed net latency calculation by removing default lower bound of 1. Correctly logs 0 when there is no latency.
Fixed bug causing keosd to hang in some cases
Remove the +1 to the block latency calculation otherwise even 0ms latency indicates 1 block latency instead of 0. The +1 makes the comparisons of Added additional logging so that issues like #588 are easier to debug.
Before:
After:
Fixed an issue where the The incorrect termination behavior of The issue has been resolved, and the Added configuration option for setting the window size in blocks for subjective account max failures in Leap v3.1.
Prior to this update, there was no configuration option to customize the window size for subjective account max failures.
Users were unable to adjust the time frame for subjective account blocks, limiting their flexibility in managing failures.
Introduces a new configuration option, "--subjective-account-max-failures-window-size," to set the window size in number of blocks.
This update empowers users to define the time window for subjective account blocks according to their specific requirements, providing greater control over the handling of failures in Leap v3.1.
Fixed an issue in the Incorrect updating of The problem affected the validation calculation in the The issue has been fixed, and the
This release introduces a new manual dispatch workflow for the [3.1] Pinned Builds feature in AntelopeIO's The previous workflow for Pinned Builds in The problems with the Pinned Builds workflow affected the execution and naming of artifacts, potentially causing confusion and hindering the use of Pinned Builds.
After these changes, the Pinned Builds workflow in Fixed issue with dirty database being reported as "genesis not found" instead of "dirty database".
Dirty database reported as "genesis not found" instead of "dirty database."
Misleading error message and incorrect reporting of the database state.
Dirty database is now correctly reported, improving error handling and providing accurate information about the database state.
Fixed log messages in transaction_success_tracing and transaction_failure_tracing to improve relevancy and reduce CPU load and network bandwidth during transaction tracing.
Log messages in transaction_success_tracing and transaction_failure_tracing were not entirely relevant to transaction tracing, leading to higher CPU load and network bandwidth.
The unwanted log messages caused increased CPU load and network bandwidth, affecting the performance of the transaction tracing user interface.
Log messages in transaction_success_tracing and transaction_failure_tracing have been moved to the producer_plugin logger, improving relevancy and reducing CPU load and network bandwidth during transaction tracing.
Special thanks to the contributors that submitted patches for this release:
Full Changelog: v3.1.4...v3.1.5
Leap v3.1.5 Release Notes
Security Patch
Eliminate denial of service vulnerability
Bug Fixes
net_plugin improve block latency calculation
PRs
Summary:
Details:
head and msg.head in the if-else off by 1 when there is no latency.
debug 2022-12-21T21:54:29.938 net-3 net_plugin.cpp:1790 recv_handshake ] ["localhost:9878 - f9bdaf6" - 43 127.0.0.1:52370] Network latency is 0ms, 0 blocks discrepancy by network latency, 1 blocks discrepancy expected once message received
debug 2023-01-31T00:27:27.386 net-0 net_plugin.cpp:1795 recv_handshake ] ["localhost:9878 - 978ab39" - 1 127.0.0.1:54362] Network latency is 0ms, 0 blocks discrepancy by network latency, 0 blocks discrepancy expected once message received
Correct --terminate-at-block
Summary:
--terminate-at-block option was terminating the node at the next block instead of the requested block in head mode. The test functionality was also reworked to improve its effectiveness and reduce test run time.
Problem:
--terminate-at-block was terminating the node at +1 requested block in head mode.
Impact:
--terminate-at-block in head mode affected the accuracy of block synchronization and potentially led to unexpected block processing.
Changes:
--terminate-at-block is set.
terminate-at-block functionality and improve test run time.
Resolution:
--terminate-at-block option now correctly terminates the node at the specified block in head mode, ensuring accurate block synchronization.
Subjective Account Max Failure Window Size
Summary:
Problem:
Impact:
Changes:
Resolution:
Test Fixes
Summary:
nodeos_forked_chain_lr_test test in version 3.1 of the AntelopeIO/leap software. The problem was related to the incorrect updating of preKillBlockNum and preKillBlockProducer, which affected the validation calculation. The issue has been resolved, and the test now runs without errors.
Problem:
preKillBlockNum and preKillBlockProducer in nodeos_forked_chain_lr_test.
Impact:
nodeos_forked_chain_lr_test, potentially leading to incorrect results.
Changes:
preKillBlockNum and preKillBlockProducer in the nodeos_forked_chain_test.py file.
Resolution:
nodeos_forked_chain_lr_test now runs without errors, ensuring accurate validation calculations.
Changes to Pinned Builds
PRs
Summary:
leap project. The workflow runs Pinned Builds in GitHub Actions and addresses an issue related to the pinned_build.sh script and artifact uploads. It also includes improvements in the selection of build platforms and artifact naming.
Problem:
leap had issues with the execution of the pinned_build.sh script and the naming of artifacts.
Impact:
Changes:
pinned_build.yaml workflow, enabling the merge of the [3.1] Pinned Builds manual dispatch workflow.
cpack in the pinned_build.sh script.
leap-dev.deb artifact.
Resolution:
leap now runs smoothly in GitHub Actions, resolving the issues with script execution and artifact naming. The workflow ensures consistent and reliable Pinned Builds, improving the development process in leap.
Changes to Logging
Summary:
Problem:
Impact:
Changes:
Resolution:
Changes to Documentation
PRs
Summary:
Problem:
Impact:
Changes:
Resolution:
Further details on changes since last release
Contributors
Full list of changes since last release
PRs
all level of producer_plugin logger.
CMAKE_INSTALL_PREFIX=/usr for pinned builds in CI