TODOs part 2#7884
Open
sstanculeanu wants to merge 13 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/testnet-fixes #7884 +/- ##
===================================================
Coverage 77.62% 77.62%
===================================================
Files 885 885
Lines 125425 125451 +26
===================================================
+ Hits 97357 97387 +30
+ Misses 21585 21582 -3
+ Partials 6483 6482 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
… not triggered if async enabled but there are still some checks in the old flow
…nder is exceeded, no tx is removed because the specific nonce is tracked.
…-chain-go into todos2 # Conflicts: # process/track/shardBlockTrack.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reasoning behind the pull request
Proposed changes
// TODO: previously the number of missing reward txs was cleared in rewardTxsForBlock - check if this is still needed-> fixed, some late call to ReceivedTransaction could have put the channel in an invalid state// TODO: previously the number of missing txs was cleared in scrForBlock - check if this is still needed-> fixed// TODO: previously the number of missing txs was cleared in txsForCurrentBlock - check if this is still needed-> fixed// TODO: evaluate disabling this entirely (for old flows) - the check is not triggered if async enabled but there are still some checks in the old flow-> fixed, guarded the only call with header v3 check// TODO: analyze the requested headers in this func, after andromeda committed blocks are final-> fixed, no need to request the headers// TODO: consider if tx count per metablock header is still needed-> fixed, not needed anymore, only used for metrics// TODO: remove log if no longer needed for validation-> fixed, removed the log// TODO: check again before saving the last executed result-> removed todo, already handled// TODO check for overflow?-> removed, will happen in 500 years// TODO: check if we need to pack also miniblock into smaller chunks-> removed, already throttled// TODO analyze if this behaviour is ok. Even if the limit of txs per sender is exceeded, no tx is removed because the specific nonce is tracked.-> remvoed, enforcement is based on executed transactions, not tracked// TODO modify when the function is updated-> fixed, updated ComputeCrossInfo to properly fetch num pending mbs// todo: maybe sanitize, removing empty miniBlocks-> added a new method to remove the empty mbsTesting procedure
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
featbranch created?featbranch merging, do all satellite projects have a proper tag insidego.mod?