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

Test/pack mine tests 2024115 #654

Draft
wants to merge 37 commits into
base: master
Choose a base branch
from

Commits on Nov 29, 2024

  1. feat: make the genesis data deterministic

    Should be easier to write tests against it
    JamesPiechota committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    d0765bf View commit details
    Browse the repository at this point in the history
  2. feat: add support for an e2e test mode

    Tests run in e2e mode will more closely match the normal node
    operation. Notably: full randomx and normal poa1 vs. poa2 difficulty.
    
    There are still a lot of constants that are reset in this mode -
    *mostly* to speed up the test run and allow it to work on smaller
    blockchains. But if material differences are discovered we can
    reset some of those constants back to more representative values
    as needed
    JamesPiechota committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    42dcb3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58acc43 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a316d37 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    04afded View commit details
    Browse the repository at this point in the history
  6. WIP

    JamesPiechota committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    c395413 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d36628e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    210a74f View commit details
    Browse the repository at this point in the history
  9. Basics of the e2e test

    JamesPiechota committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    288c182 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    37cabfe View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7cb353e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3afa7cf View commit details
    Browse the repository at this point in the history
  13. Add wallet fixtures

    JamesPiechota committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    d4bc0b3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    39a2abd View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9994e30 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e87e1cb View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    df8db45 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    1a27688 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c451eeb View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c09e523 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    b684c6c View commit details
    Browse the repository at this point in the history
  22. WIP

    JamesPiechota committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    8a80fdd View commit details
    Browse the repository at this point in the history
  23. WIP

    JamesPiechota committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    73c0775 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f7fc71c View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    bd32945 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2024

  1. Initialize poa caches for initial block cache blocks

    Co-authored-by: Lev Berman <[email protected]>
    2 people authored and JamesPiechota committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    d965071 View commit details
    Browse the repository at this point in the history
  2. Add Packing Difficulty in v2_index_data_size_by_packing (#649)

    This commit adds the packing difficulty in `v2_index_data_size_by_packing`
    metric.
    
    see: ArweaveTeam/arweave-dev#568
    humaite authored and JamesPiechota committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    4cf042c View commit details
    Browse the repository at this point in the history
  3. feat: update ar_doctor_bench to use ar_mining_io

    This gives a truer estimate of the miner's expected read performance
    JamesPiechota committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    61e39e0 View commit details
    Browse the repository at this point in the history
  4. fix: Run one io thread per os device rather than per storage module

    This fixes an issue where read performance was severely degradeed
    when multiple storage modules were stored on a single disk. This
    was particularly bad for SATA, although was noticeable on SAS disks
    as well.
    JamesPiechota committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    04e98ae View commit details
    Browse the repository at this point in the history
  5. Improve ar_tx_emitter performance

    Only current (active) peers should be able to receive the
    chunks, others will generate unnecessary timeouts. In fact
    using the active peers from the last 24 hours can also be
    a great solution if we assume a peer seen during the last
    24 hours will probably be come back quick.
    
    When chunks are propagated across the network, the to be
    acknowledged are the trusted peer. On the previous version,
    the trusted peer where put at the end of the list.
    
    Cleaned up ar_tx_emitter_sup, converting old tuple to map.
    
    Refacto and added comments and documentation.
    
    see: ArweaveTeam/arweave-dev#720
    humaite authored and JamesPiechota committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    2262b46 View commit details
    Browse the repository at this point in the history
  6. Fix High Load Average on Transaction Interface

    When a server has the full transaction locally, and uses
    spinning disk, the amount of requests from other nodes is
    too high, and leads to a bottleneck on rocksdb database.
    
    This commit adds a semaphore to control the amount of
    requests on `ar_http_iface_middleware:handle_get_tx/3` function,
    to avoid a node to be overflooded by requests.
    humaite authored and JamesPiechota committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    9f42a13 View commit details
    Browse the repository at this point in the history
  7. fix: start_from_latest_state failed due to missing reward_history

    For the first ~2 months after the 2.8 HF activation nodes
    may have less than the required 3 months of reward history.
    This is okay.
    JamesPiechota committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    e664ee6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    37720ef View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    27c7e9a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3dd879e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e6c1e4c View commit details
    Browse the repository at this point in the history
  12. WIP

    JamesPiechota committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    4c7d0a3 View commit details
    Browse the repository at this point in the history