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

Backport tendermint-v0.34.20 into main #642

Merged
merged 31 commits into from
Jul 19, 2023
Merged

Commits on Jul 13, 2023

  1. rpc: avoid leaking threads (#8329)

    Co-authored-by: Sam Kleinman <garen@tychoish.com>
    tnasu and tychoish committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    1552e91 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36637c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d5b3f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8163143 View commit details
    Browse the repository at this point in the history
  5. Set a cap on the length of subscription queries. (#8349)

    A manual backport of #7263.
    
    As a safety measure, don't allow a query string to be unreasonably long. The
    query filter is not especially efficient, so a query that needs more than basic
    detail should filter coarsely in the subscriber and refine on the client side.
    
    This affects Subscribe and TxSearch queries.
    
    Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
    tnasu and M. J. Fromberger committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    424fe2d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    28ffda4 View commit details
    Browse the repository at this point in the history
  7. Update default config docs for PSQL indexer settings. (#8728)

    Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
    tnasu and M. J. Fromberger committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    d6e557b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b26aa05 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c27aeef View commit details
    Browse the repository at this point in the history
  10. makefile: change buf to use tools.go ; backport v0.34 (#8852)

    * makefile: update buf commands to use tools.go (#8609)
    
    This will keep the version of `buf` consistent between all developer machines.
    
    Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com>
    tnasu and jmalicevic committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    dc74bcd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d475dfa View commit details
    Browse the repository at this point in the history
  12. fix: "Lazy" Stringers to defer Sprintf and Hash until logs print (#8845)

    Co-authored-by: Joe Abbey <joe.abbey@gmail.com>
    tnasu and joeabbey committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    69da06e View commit details
    Browse the repository at this point in the history
  13. makefile: buf setup backport v0.34 (#8863)

    Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com>
    tnasu and jmalicevic committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    781018a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0d930ac View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f9c979e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c12e289 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    775db7c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d866254 View commit details
    Browse the repository at this point in the history
  19. feat: v0.34.x Prioritized Mempool (#8695)

    * Updated mocks
    
    * add reactor tests
    
    * add v1 reactor tests
    
    * Fix fuzz test for priority mempool
    
    * e2e adapted to mempool v1; prio pool is default now
    
    * Reverted default mempool to be fifo
    
    * Changed buf version
    
    * Added priority mempool to ci testnet
    
    * Fixed linter
    
    * Updated makefile
    
    * Aligned makefile changes to v0.34.x
    
    * Added go install for proto
    
    * Add log message to warn about prioritized mempool bug
    
    Signed-off-by: Thane Thomson <connect@thanethomson.com>
    
    * Changelog message
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com>
    Co-authored-by: Callum Waters <cmwaters19@gmail.com>
    Co-authored-by: Sam Kleinman <garen@tychoish.com>
    Co-authored-by: Thane Thomson <connect@thanethomson.com>
    6 people committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    5cef3a8 View commit details
    Browse the repository at this point in the history
  20. release: prepare v0.34.20-rc0 (#8888)

    Co-authored-by: Callum Waters <cmwaters19@gmail.com>
    tnasu and cmwaters committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    2879cb5 View commit details
    Browse the repository at this point in the history
  21. Backport priority mempool fixes from v0.35.x to v0.34.x. (#8962)

    This is a manual backport of the changes from these commits:
    
    - bc49f66 Add more unit tests for the priority mempool. (#8961)
    - 9b02094 Fix unbounded heap growth in the priority mempool. (#8944)
    
    Imports and type signatures have been updated to match the v0.34 usage.
    
    Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
    tnasu and M. J. Fromberger committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    7c66db2 View commit details
    Browse the repository at this point in the history
  22. mempool: minor cleanup after backport from v0.35 (#8971)

    - Remove warning log for issue #8775.
    - Fix call to FlushAsync (no error is reported).
    - Don't log on rechecks, it's the default (manual backport of #8969).
    
    Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
    tnasu and M. J. Fromberger committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    8effabb View commit details
    Browse the repository at this point in the history
  23. mempool: reduce lock contention during CheckTx (backport #8983) (#8985)

    A manual cherry-pick of 9e64c95.
    
    The way this was originally structured, we reacquired the lock after issuing
    the initial ABCI CheckTx call, only to immediately release it. Restructure the
    code so that this redundant acquire is no longer necessary.
    
    Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
    tnasu and M. J. Fromberger committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    82bccab View commit details
    Browse the repository at this point in the history
  24. mempool: release lock during app connection flush (#8986)

    A manual backport of #8984.
    
    This case is symmetric to what we did for CheckTx calls, where we release the
    mempool mutex to ensure callbacks can fire during call setup.  We also need
    this behaviour for application flush, for the same reason: The caller holds the
    lock by contract from the Mempool interface.
    
    Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
    tnasu and M. J. Fromberger committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    cddddc8 View commit details
    Browse the repository at this point in the history
  25. config: remove obsolete mempool v1 warning (#8987)

    Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
    tnasu and M. J. Fromberger committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    cc37edc View commit details
    Browse the repository at this point in the history
  26. mempool: ensure evicted transactions are removed from the cache (back…

    …port #9000) (#9004)
    
    This is a manual cherry-pick of commit b94470a6a42e8ffe7e7467521de5f51eb937c454.
    
    In the original implementation transactions evicted for priority were also
    removed from the cache. In addition, remove expired transactions from the
    cache.
    
    Related:
    
    - Add Has method to cache implementations.
    - Update tests to exercise this condition.
    
    Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
    tnasu and M. J. Fromberger committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    d3a8f45 View commit details
    Browse the repository at this point in the history
  27. mempool: ensure async requests are flushed to the server (#9010)

    In the v0.34 line, the socket and gRPC clients require explicit flushes to
    ensure that the client and server have received an async request.  Add these
    calls explicitly where required in the backport of the priority mempool.
    
    In addition, the gRPC client's flush plumbing was not fully hooked up in the
    v0.34 line, so this change includes that update as well.
    
    Co-authored: M. J. Fromberger <fromberger@interchain.io>
    tnasu committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    f549ea8 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    20432e4 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

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

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    294e011 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10dec2f View commit details
    Browse the repository at this point in the history