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

feat: caching of recently used coins #1105

Merged
merged 55 commits into from
Nov 6, 2023
Merged

feat: caching of recently used coins #1105

merged 55 commits into from
Nov 6, 2023

Commits on Aug 28, 2023

  1. initial cache setup

    MujkicA committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    80bca9f View commit details
    Browse the repository at this point in the history
  2. Delete cache.patch

    MujkicA authored Aug 28, 2023
    Configuration menu
    Copy the full SHA
    14b3bef View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. remove .into on chain id

    MujkicA committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    60f62ed View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature/utxo_caching' of github.com:FuelLabs/fuels-rs i…

    …nto feature/utxo_caching
    MujkicA committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    ca0834b View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

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

Commits on Oct 3, 2023

  1. improve adjusting for fee

    MujkicA committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    3f4e2b4 View commit details
    Browse the repository at this point in the history
  2. adapt account trait

    MujkicA committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    860429d View commit details
    Browse the repository at this point in the history
  3. update tests

    MujkicA committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    68a2751 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. refactor

    MujkicA committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    0abc057 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. add time based cache

    MujkicA committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    f21fb25 View commit details
    Browse the repository at this point in the history
  2. fix coin cache expiry

    MujkicA committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    2e1912d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f356e6a View commit details
    Browse the repository at this point in the history
  4. fix build

    MujkicA committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    5066419 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. use set for used coins

    MujkicA committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    751e1d0 View commit details
    Browse the repository at this point in the history
  2. use new ttl cache impl

    MujkicA committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    273215b View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

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

Commits on Oct 21, 2023

  1. cleanup code

    MujkicA committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    b3c0e11 View commit details
    Browse the repository at this point in the history
  2. more cleanup

    MujkicA committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    5ad84f8 View commit details
    Browse the repository at this point in the history
  3. uncomment test

    MujkicA committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    92adfa9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b31e235 View commit details
    Browse the repository at this point in the history
  5. correct import path

    MujkicA committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    99d9452 View commit details
    Browse the repository at this point in the history
  6. correct import path again

    MujkicA committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    67b22a6 View commit details
    Browse the repository at this point in the history
  7. wasm import path

    MujkicA committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    5274ce9 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. fix no std on coin type id

    MujkicA committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    3c79570 View commit details
    Browse the repository at this point in the history
  2. add coin id file

    MujkicA committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    59cbdd4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18cecd8 View commit details
    Browse the repository at this point in the history
  4. fix imports

    MujkicA committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    7243eba View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    5f5e83c View commit details
    Browse the repository at this point in the history
  2. fix after merge

    MujkicA committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    71dca1d View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Update packages/fuels-programs/src/contract.rs

    Co-authored-by: hal3e <[email protected]>
    MujkicA and hal3e authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    6e4b67d View commit details
    Browse the repository at this point in the history
  2. Update packages/fuels-accounts/src/provider.rs

    Co-authored-by: hal3e <[email protected]>
    MujkicA and hal3e authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c359a8d View commit details
    Browse the repository at this point in the history
  3. Update packages/fuels-accounts/src/coin_cache.rs

    Co-authored-by: hal3e <[email protected]>
    MujkicA and hal3e authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    fc518b1 View commit details
    Browse the repository at this point in the history
  4. Update packages/fuels-accounts/src/coin_cache.rs

    Co-authored-by: hal3e <[email protected]>
    MujkicA and hal3e authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    7634e80 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b82e4db View commit details
    Browse the repository at this point in the history
  6. Update packages/fuels-accounts/src/account.rs

    Co-authored-by: hal3e <[email protected]>
    MujkicA and hal3e authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    0895e57 View commit details
    Browse the repository at this point in the history
  7. Update packages/fuels-accounts/src/coin_cache.rs

    Co-authored-by: hal3e <[email protected]>
    MujkicA and hal3e authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    aa62fa3 View commit details
    Browse the repository at this point in the history
  8. Update packages/fuels-accounts/src/account.rs

    Co-authored-by: hal3e <[email protected]>
    MujkicA and hal3e authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    9c9f20b View commit details
    Browse the repository at this point in the history
  9. Update packages/fuels-accounts/src/coin_cache.rs

    Co-authored-by: hal3e <[email protected]>
    MujkicA and hal3e authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    ae8ecbc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    47664a8 View commit details
    Browse the repository at this point in the history
  11. Update packages/fuels-accounts/src/accounts_utils.rs

    Co-authored-by: hal3e <[email protected]>
    MujkicA and hal3e authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    b65c591 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    bb71270 View commit details
    Browse the repository at this point in the history
  13. add review suggestions

    MujkicA committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    5a40bd3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b71d6ac View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    90e39ec View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Update packages/fuels-accounts/src/coin_cache.rs

    Co-authored-by: Ahmed Sagdati <[email protected]>
    MujkicA and segfault-magnet authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    7d32519 View commit details
    Browse the repository at this point in the history
  2. Update packages/fuels-accounts/src/coin_cache.rs

    Co-authored-by: Ahmed Sagdati <[email protected]>
    MujkicA and segfault-magnet authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    261ec1a View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

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

Commits on Nov 2, 2023

  1. add rev comments

    MujkicA committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    ba43b00 View commit details
    Browse the repository at this point in the history
  2. invalidate on failed tx

    MujkicA committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    7f0cb56 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc94a77 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. fix cache test

    MujkicA committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    51f7fcc View commit details
    Browse the repository at this point in the history
  2. make cache feature default

    MujkicA committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    cad8313 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. use coinCacheKey

    MujkicA committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    c28aa96 View commit details
    Browse the repository at this point in the history
  2. use loop instead of for each

    MujkicA committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    ad07ddd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00c994b View commit details
    Browse the repository at this point in the history