Skip to content
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

Optimization/pre warm intra block cache fix nonce collisions #7089

Merged

Conversation

LukaszRozmej
Copy link
Member

Changes

  • Should fix nonce collisions when pre-loading block

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Description

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Notes on testing

Optional. Remove if not applicable.

Documentation

Requires documentation update

  • Yes
  • No

If yes, link the PR to the docs update or the issue with the details labeled docs. Remove if not applicable.

Requires explanation in Release Notes

  • Yes
  • No

If yes, fill in the details here. Remove if not applicable.

Remarks

Optional. Remove if not applicable.

LukaszRozmej and others added 30 commits May 21, 2024 01:32
…k-cache' into optimization/pre-warm-intra-block-cache

# Conflicts:
#	src/Nethermind/Nethermind.State/PersistentStorageProvider.cs
#	src/Nethermind/Nethermind.State/StateProvider.cs
…k-cache' into optimization/pre-warm-intra-block-cache

# Conflicts:
#	src/Nethermind/Nethermind.Consensus/Processing/IBlockCachePreWarmer.cs
@benaadams benaadams marked this pull request as ready for review May 28, 2024 09:09
@LukaszRozmej LukaszRozmej requested a review from benaadams May 29, 2024 07:52
@LukaszRozmej
Copy link
Member Author

Can you give feedback how is it performing now?

Copy link
Member

@benaadams benaadams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it not be better to batch the txs from same sender and run them sequentially?

@benaadams
Copy link
Member

Would it not be better to batch the txs from same sender and run them sequentially?

Something more like this? #7467

@benaadams benaadams merged commit ebc0def into master Oct 24, 2024
75 checks passed
@benaadams benaadams deleted the optimization/pre-warm-intra-block-cache-nonce-collisions branch October 24, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants