This patch release contains several bug fixes.
The behavior of cleos' exit status for failed transactions has changed in 3.1.1 to more closely align with behavior in previous EOSIO 2.0 releases. In Leap 3.1.0, cleos would return a 0 exit status on a failed transaction and require the caller of cleos to inspect the JSON output to determine that a transaction has failed. In Leap 3.1.1, similar to EOSIO 2.0, cleos' exit status will be non-zero for transaction failures.
Subjective billing was previously utilizing Leap 3.1.0 included an attempted fix for block producers stuck in a coma state. However, the fix was a bit too aggressive and introduced a race-condition on startup syncing. This change reverts the aggressive reset of syncing from LIB instead of HEAD for every call to
A lack of input validation for Special thanks to the contributors that submitted patches for this release:
Full Changelog: v3.1.0...v3.1.1
Leap v3.1.1 Release Notes
Bug fixes
Change to cleos exit status on failed trx processing
Update subjective CPU billing to use
uint64_t instead of uint32_t
uint32_t for duration in microseconds, which only allowed for 1.2 hours before wrapping and returning to zero. If an account had over 1.2 hours of CPU extra, subjective CPU would never be applied, which was directly observed on WAX where waxptreasury subjective CPU wrapped. This has been partially attributed to instances of high CPU usage on that network. To resolve, this value has been updated to match objective billing, which utilizes uint64_t.
Race condition causing failure to sync on startup
start_sync. Now it instead restarts syncing from LIB only when unlinkable blocks causes a connection to be closed.
Improved validation for
set_whitelist_blacklist, add_greylist_accounts and remove_greylist_accountsPRs
set_whitelist_blacklist, add_greylist_accounts and remove_greylist_accounts was introducing troubleshooting issues. Our current solution is to ensure at least one optional parameter is present in a RPC call.
Further details on changes since last release
Contributors
Full list of changes since last release
PRs