Skip to content

Refactor transaction processing to improve shard block fetching - #26

Merged
stefangutica merged 5 commits into
mainfrom
ParallelShardProcessing
Sep 10, 2026
Merged

Refactor transaction processing to improve shard block fetching#26
stefangutica merged 5 commits into
mainfrom
ParallelShardProcessing

Conversation

@catalin-iordache

Copy link
Copy Markdown
Contributor
  • Introduced a new method fetchNextShardBlock to encapsulate the logic for fetching the next shard block, improving code readability and maintainability.
  • Replaced the previous inline logic with a Promise.all call to fetch shard blocks concurrently, enhancing performance.
  • Retained existing logging for debugging purposes while streamlining nonce handling logic.

- Introduced a new method `fetchNextShardBlock` to encapsulate the logic for fetching the next shard block, improving code readability and maintainability.
- Replaced the previous inline logic with a Promise.all call to fetch shard blocks concurrently, enhancing performance.
- Retained existing logging for debugging purposes while streamlining nonce handling logic.
@stefangutica
stefangutica merged commit 667325d into main Sep 10, 2026
@stefangutica
stefangutica deleted the ParallelShardProcessing branch September 10, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants