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

[DO NOT MERGE] just for perf testing #212

Draft
wants to merge 21 commits into
base: seiv2
Choose a base branch
from

Commits on Feb 28, 2024

  1. Make ReadMaxTxs atomic (#166)

    codchen authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    a81be2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1640c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56bd634 View commit details
    Browse the repository at this point in the history
  4. fix pending pop (#173)

    codchen authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    e475a94 View commit details
    Browse the repository at this point in the history
  5. add TTL for pending txs (#174)

    codchen authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    20b4b85 View commit details
    Browse the repository at this point in the history
  6. [EVM] Fix evm pending nonce (#179)

    * Perf: Increase buffer size for pubsub server to boost performance (#167)
    
    * Increase buffer size for pubsub server
    
    * Add more timeout for test failure
    
    * Add more timeout
    
    * Fix test split scripts
    
    * Fix test split
    
    * Fix unit test
    
    * Unit test
    
    * Unit test
    
    * [P2P] Optimize block pool requester retry and peer pick up logic (#170)
    
    * P2P Improvements: Fix block sync reactor and block pool retry logic
    
    * Revert "Add event data to result event (#165)" (#176)
    
    This reverts commit 72bb29c.
    
    * Fix block sync auto restart not working as expected (#175)
    
    * Fix edge case for blocksync (#178)
    
    * fix evm pending nonce
    
    * fix test
    
    * deflake a test
    
    * de-flake test
    
    * Revert "merge main"
    
    This reverts commit 58b9424, reversing
    changes made to 02d1478.
    
    * consider keep-in-cache logic when removing from cache
    
    * undo test tweaks
    
    ---------
    
    Co-authored-by: Yiming Zang <[email protected]>
    Co-authored-by: Jeremy Wei <[email protected]>
    3 people authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    fa152a0 View commit details
    Browse the repository at this point in the history
  7. Fix bug when popping pending TXs (#188)

    codchen authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    c95208e View commit details
    Browse the repository at this point in the history
  8. Add mempool metrics for number of pending tx and expired txs (#189)

    * Add metrics for mempool pending transaction size
    
    * Add expired tx count metrics
    yzang2019 authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    8528f3a View commit details
    Browse the repository at this point in the history
  9. [EVM] Allow multiple txs from same account in a block (#190)

    * add mempool prioritization with evm nonce
    
    * fix priority stability
    
    * index fixes
    
    * replace with binary search insert
    
    * impl binary search
    stevenlanders authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    7ec8f94 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4aa38c0 View commit details
    Browse the repository at this point in the history
  11. fix expire metric (#193)

    stevenlanders authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    b730c59 View commit details
    Browse the repository at this point in the history
  12. [EVM] Fix duplicate evm txs from priority queue (#195)

    * debug duplicate evm tx
    
    * add more logs
    
    * add some \ns
    
    * more logs
    
    * fix swap check
    
    * add-lockable-reap-by-gas
    
    * add invariant checks
    
    * fix invariant parenthesis
    
    * fix log
    
    * remove invalid invariant
    
    * fix nonce ordering pain
    
    * handle ordering of insert
    
    * fix remove
    
    * cleanup
    
    * fix imports
    
    * cleanup
    
    * avoid getTransactionByHash(hash) panic due to index
    
    * use Key() to compare instead of pointer
    stevenlanders authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    d359ecc View commit details
    Browse the repository at this point in the history
  13. [EVM] prevent duplicate txs from getting inserted (#196)

    * prevent duplicates in mempool
    
    * use timestamp in priority queue
    stevenlanders authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    cf41dab View commit details
    Browse the repository at this point in the history
  14. [EVM] Add logging for expiration (#198)

    * add logging for expired txs
    
    * cleanup
    stevenlanders authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    9f115c7 View commit details
    Browse the repository at this point in the history
  15. [EVM] Avoid returning nil transactions on ForEach (#197)

    * remove heapIndex to avoid nil scenario
    
    * avoid returning nil in loop (mimic Peek)
    stevenlanders authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    585bed3 View commit details
    Browse the repository at this point in the history
  16. call callback from mempool (#200)

    stevenlanders authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    80279d4 View commit details
    Browse the repository at this point in the history
  17. separate limit for pending tx (#202)

    codchen authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    e4415a8 View commit details
    Browse the repository at this point in the history
  18. Add EVM txs eviction logic (#204)

    codchen authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    c9e2944 View commit details
    Browse the repository at this point in the history
  19. Fix debug log (#205)

    codchen authored and udpatil committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    b4190aa View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    77ad5bd View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. hack in old mempool

    stevenlanders committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    1d2e74c View commit details
    Browse the repository at this point in the history