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

1545 second half - DRAFT - DONT REVIEW YET! #2075

Open
wants to merge 17 commits into
base: v4.0.0
Choose a base branch
from

Conversation

kladkogex
Copy link
Collaborator

@kladkogex kladkogex commented Jan 13, 2025

Description

  1. Rewrote Unddos and stats implementation with a way simpler one since the previous one had lots of bugs and deadlocks.
    The new Unddos impelementation does not use any locks and can not cause a deadlock.

  2. Made sure that tracing calls are only enabled when tracing is enabled, previously tracing was affecting performance even if disabled.

  3. When forming a block proposal from the pending queue, If two transactions have the same gas price and height related to the current nonce, we currently give priority to the older transaction. Previously the behavior was undefined, so old transactions could stay in the pending queue for a long time.

Tests

Describe how you tested the changes made in this pull request. Include specific tests you have added. Replace this comment with your testing methodology.

Performance Impact

Describe any potential impact on performance due to your changes. Include any benchmarks you performed, if applicable, and compare the results with and without your changes. Replace this comment with your performance analysis.

@DmytroNazarenko DmytroNazarenko added this to the SKALE 4.0 milestone Jan 16, 2025
@kladkogex kladkogex self-assigned this Jan 22, 2025
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.

Cleanup state locking and make JSON RPC calls like eth_call faster
2 participants