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

Refactor prices caching #3526

Merged
merged 8 commits into from
Jul 27, 2023
Merged

Refactor prices caching #3526

merged 8 commits into from
Jul 27, 2023

Commits on Jul 18, 2023

  1. Refactor prices out of assets slice

    Reducing the amount of updates we make to the assets slice should
    improve performance and reduce blocking UI due to store updates.
    The new prices slice indexes asset prices by asset ids, this way each
    update is diffed and processed faster.
    hyphenized committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    af8fab4 View commit details
    Browse the repository at this point in the history
  2. Improve trust check made on price point selector

    The now available isTrustedToken checks if assets meet these replaced
    conditions, isTokenListAsset/isNetworkBaseAsset.
    hyphenized committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    a6eeb43 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6abd3b8 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. Add assertions to isTrustedAsset

    This should help reduce redundancy after trust checks
    hyphenized committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    689ee95 View commit details
    Browse the repository at this point in the history
  2. Refactors asset ids to include chain id

    Removed symbols from network base asset ids generation, added chain id
    to ids for all asset types. This allows us to use these for indexing
    assets across networks in e.g. redux.
    hyphenized committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    4fa07a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81bdba1 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Merge branch 'main' into priced-in

    kkosiorowska committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    8678d0e View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Remove unused assets state references

    These were overlooked during the process of segregating prices from the assets slice
    hyphenized committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    234d1c3 View commit details
    Browse the repository at this point in the history