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

Rebase weiwang pr #490

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Rebase weiwang pr #490

wants to merge 6 commits into from

Commits on Jul 22, 2023

  1. feat: Guarantee the order of transactions in the block endpoint

    This commit guarantees the order of transactions in the block endpoint. It does so by creating a map of fetched transactions and using that map to return the transactions in the original order they had in the block.
    
    - Added a new struct `FetchedTransaction` to represent fetched transactions
    - Updated `fetchChannelTransactions` to use the new `FetchedTransaction` struct
    - Updated `UnsafeTransactions` to use the new `FetchedTransaction` struct and create a map of fetched transactions
    - Modified the return statement in `UnsafeTransactions` to use the fetched transactions from the map
    wei-wang-cb committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    f4830e1 View commit details
    Browse the repository at this point in the history
  2. chore: add timeout to mock server

    This commit adds a timeout to the mock server to prevent it from hanging indefinitely. This is mainly to make salus security scans happy.
    wei-wang-cb committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    462412e View commit details
    Browse the repository at this point in the history
  3. chore: avoid memory leak in client

    This commit fixes a memory leak in the client. The client was not reading the response body of the http request when closing the body, which could lead to a memory leak. This commit fixes this by reading the response body and discarding it.
    
    This commit makes salus check pass.
    wei-wang-cb committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    7cf1d78 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2023

  1. Configuration menu
    Copy the full SHA
    73a13a8 View commit details
    Browse the repository at this point in the history
  2. trigger github workflow

    wei-wang-cb committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    17e0538 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. update

    jingweicb committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    c18a595 View commit details
    Browse the repository at this point in the history