-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consensus/bor: handle blockalloc balance changes #1074
Conversation
c320b04
to
d392f4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✅
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1074 +/- ##
===========================================
- Coverage 57.09% 56.00% -1.10%
===========================================
Files 650 658 +8
Lines 118277 114449 -3828
===========================================
- Hits 67533 64094 -3439
+ Misses 46868 46495 -373
+ Partials 3876 3860 -16 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Shall we maybe add a test for it?
commit dac4c40 Author: Vaibhav Jindal <[email protected]> Date: Mon Dec 18 15:38:12 2023 +0530 Removed the check for milestoneID in the GetVoteOnHash() commit 8b2f024 Author: Pratik Patil <[email protected]> Date: Fri Dec 15 12:49:11 2023 +0530 test all default flags added via config file (maticnetwork#1105) commit 2be2789 Merge: db5b398 18c8802 Author: Arpit Temani <[email protected]> Date: Tue Dec 12 10:57:53 2023 +0530 Merge pull request maticnetwork#1085 from bbaktaeho/fix/eth_api internal/ethapi: fix GetTransactionReceiptsByBlock method commit db5b398 Author: marcello33 <[email protected]> Date: Fri Dec 8 06:56:23 2023 +0100 Update matic-cli in CI (maticnetwork#1103) commit abab36b Merge: 1065e21 073d75c Author: Arpit Temani <[email protected]> Date: Wed Dec 6 10:46:55 2023 +0530 Merge pull request maticnetwork#1098 from maticnetwork/arpit/fix-shadowfork allow unprotected txns commit 073d75c Merge: 4e3e1de 9682679 Author: Arpit Temani <[email protected]> Date: Sun Dec 3 17:17:30 2023 +0530 Merge branch 'arpit/fix-shadowfork' of github.com:maticnetwork/bor into arpit/fix-shadowfork commit 4e3e1de Author: Arpit Temani <[email protected]> Date: Sun Dec 3 17:16:37 2023 +0530 added log commit 9682679 Author: Arpit Temani <[email protected]> Date: Sun Dec 3 17:14:57 2023 +0530 Update core/txpool/validation.go Co-authored-by: Raneet Debnath <[email protected]> commit 1065e21 Author: Anshal Shukla <[email protected]> Date: Fri Dec 1 11:39:58 2023 +0530 consensus/bor: handle blockalloc balance changes (maticnetwork#1074) * fix: set balance in blockalloc * chg: don't update balance if not zero * fix: lint * fix logic, add test cases commit 91ff270 Author: Arpit Temani <[email protected]> Date: Thu Nov 30 15:35:46 2023 +0530 allow unprotected txns commit 18c8802 Author: bbaktaeho <[email protected]> Date: Fri Nov 17 19:34:50 2023 +0900 fix: lint commit 7714cd8 Author: bbaktaeho <[email protected]> Date: Thu Nov 16 23:04:53 2023 +0900 fix GetTransactionReceiptsByBlock
* fix: set balance in blockalloc * chg: don't update balance if not zero * fix: lint * fix logic, add test cases
Description
The blockalloc balances are not getting updated after HF.
Changes
Breaking changes
Please complete this section if any breaking changes have been made, otherwise delete it
Nodes audience
In case this PR includes changes that must be applied only to a subset of nodes, please specify how you handled it (e.g. by adding a flag with a default value...)
Checklist
Cross repository changes
Testing
Manual tests
Please complete this section with the steps you performed if you ran manual tests for this functionality, otherwise delete it
Additional comments
Please post additional comments in this section if you have them, otherwise delete it