Skip to content

Commit

Permalink
Add imported stores to debug store (#5618)
Browse files Browse the repository at this point in the history
# Motivation

Extend the debug store with imported tokens stores.

# Changes

- Add `importedTokensStore` to the debug store.
- Add `failedImportedTokenLedgerIdsStore` to the debug store.

# Tests

- Pass

# Todos

- [ ] Add entry to changelog (if necessary).
not necessary.
  • Loading branch information
mstrasinskis authored Oct 15, 2024
1 parent 0c7f11d commit 71494ca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frontend/src/lib/derived/debug.derived.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import { canistersStore } from "$lib/stores/canisters.store";
import { defaultIcrcCanistersStore } from "$lib/stores/default-icrc-canisters.store";
import { icrcAccountsStore } from "$lib/stores/icrc-accounts.store";
import { icrcTransactionsStore } from "$lib/stores/icrc-transactions.store";
import {
failedImportedTokenLedgerIdsStore,
importedTokensStore,
} from "$lib/stores/imported-tokens.store";
import { knownNeuronsStore } from "$lib/stores/known-neurons.store";
import { neuronsStore } from "$lib/stores/neurons.store";
import {
Expand Down Expand Up @@ -118,6 +122,8 @@ export const initDebugStore = () =>
tokensStore,
icrcAccountsStore,
defaultIcrcCanistersStore,
importedTokensStore,
failedImportedTokenLedgerIdsStore,
],
([
$busyStore,
Expand Down Expand Up @@ -146,6 +152,8 @@ export const initDebugStore = () =>
$tokensStore,
$icrcAccountsStore,
$defaultIcrcCanistersStore,
$importedTokensStore,
$failedImportedTokenLedgerIdsStore,
]) => ({
busy: $busyStore,
accounts: $accountsStore,
Expand Down Expand Up @@ -173,5 +181,7 @@ export const initDebugStore = () =>
tokensStore: $tokensStore,
icrcAccountsStore: $icrcAccountsStore,
defaultIcrcCanistersStore: $defaultIcrcCanistersStore,
importedTokensStore: $importedTokensStore,
failedImportedTokenLedgerIdsStore: $failedImportedTokenLedgerIdsStore,
})
);

0 comments on commit 71494ca

Please sign in to comment.