Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transfer v0.5.1 fixes to upstream (0xPolygon#760)
* fix leak in startConsensus * [Memory fix] Remove memory leak in event subscriptions (0xPolygon#741) * Remove dangling pointers in the subscription struct * Remove leftover log * Fix zero from field in Tx (0xPolygon#719) * Add e2e test to make sure transaction have set from field * Recover tx from field before writing block into storage * Recover tx from field if it's not set in JSON-RPC * Fix lint error * Fix lint error * Fix lint error * Move recovering from address to blockchain * Removed unused code * Fix missing tests * Fix typo * Cleanup inactive transactions in non-validator (0xPolygon#742) * Disable seal configuration but keep CLI flag for sealing in order to remove it in the next minor release * Add unadopted count in account queue in order to clean up inactive transactions in non-validator's TxPool * Fix lint error * Fix lint error * Fix lint error * Make Sealing() unexported in TxPool * Rename unadopted to skips in AccountQueue of TxPool * Add resetSkips and incrementSkips in AccountQueue * Fix updateUnadoptedCounts and rename to updateAccountSkipsCounts * Fixed updateAccountSkipsCounts * Fix lint error * Fix lint error occured after merging base branch * Rename local var in updateAccountSkipsCounts * [TxPool] Fix double nonce in promoted (0xPolygon#739) * add test * Prune lower transactions on promoting * Fix pruning in Promote * Fix failed test Co-authored-by: kourin <[email protected]> Co-authored-by: dbrajovic <[email protected]> Co-authored-by: Miloš Živković <[email protected]> Co-authored-by: kourin <[email protected]>
- Loading branch information