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

fix: improve error message when persistTransaction times out. Increase default timeout to 130 seconds using Exponential Backoff #1316

Merged
merged 26 commits into from
Oct 2, 2024

Commits on Jan 5, 2024

  1. Move getConfirmedTransaction logic to new public async function

      * Update error message to recommend polling getConfirmedTransaction
        instead of getTransactionsByChannelId()
    MantisClone committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    ec00fb2 View commit details
    Browse the repository at this point in the history
  2. Adjust retry logic to make exponentialBackoffDelay more intuitive

      * Previously, 500 meant retry after 1, 2, 4, 8... seconds.
      * Now, 1000 means retry after 1, 2, 4, 8... seconds.
    MantisClone committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    c95aef6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    be2e95f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29d0aaa View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

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

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    ae992bf View commit details
    Browse the repository at this point in the history
  2. Update retry test

    MantisClone committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    bc405b3 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    ca01298 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    077a91f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ca0e96 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3b7801c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2a4a47b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    497f6aa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3d4b407 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d6339e2 View commit details
    Browse the repository at this point in the history
  9. Fix test

    MantisClone committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    1fa766b View commit details
    Browse the repository at this point in the history
  10. update test

    MantisClone committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    7f2a5bd View commit details
    Browse the repository at this point in the history
  11. Fix test

    MantisClone committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e0c5e4b View commit details
    Browse the repository at this point in the history
  12. Update defaults

    MantisClone committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    7b76550 View commit details
    Browse the repository at this point in the history
  13. Update error message

    MantisClone committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    a246c91 View commit details
    Browse the repository at this point in the history
  14. Clean up error messages

    MantisClone committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    b699fbd View commit details
    Browse the repository at this point in the history
  15. Add a timeout to the Promise to ensure the test doesn't hang indefini…

    …tely if the error event is never emitted.
    MantisClone committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    3647631 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9f81a7f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4aca871 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    70e4a90 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    9a8197c View commit details
    Browse the repository at this point in the history