Skip to content

Commit

Permalink
fix(frontend): missing POPEYE data in token list (#4093)
Browse files Browse the repository at this point in the history
# Motivation

In PR #4088 I forgot to add
the changes of the file that lists the POPEYE token data.
  • Loading branch information
AntonioVentilii authored Jan 7, 2025
1 parent b3a203d commit 7fd3b24
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/frontend/src/env/networks/networks.icrc.env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,13 @@ const BURN_IC_DATA: IcInterface | undefined = nonNullish(ADDITIONAL_ICRC_PRODUCT
}
: undefined;

const POPEYE_IC_DATA: IcInterface | undefined = nonNullish(ADDITIONAL_ICRC_PRODUCTION_DATA?.POPEYE)
? {
...ADDITIONAL_ICRC_PRODUCTION_DATA.POPEYE,
position: 13
}
: undefined;

export const CKERC20_LEDGER_CANISTER_TESTNET_IDS: CanisterIdText[] = [
...(nonNullish(LOCAL_CKUSDC_LEDGER_CANISTER_ID) ? [LOCAL_CKUSDC_LEDGER_CANISTER_ID] : []),
...(nonNullish(CKUSDC_STAGING_DATA?.ledgerCanisterId)
Expand Down Expand Up @@ -460,7 +467,10 @@ const ICRC_CK_TOKENS: IcInterface[] = [
...(nonNullish(CKXAUT_IC_DATA) ? [CKXAUT_IC_DATA] : [])
];

const ADDITIONAL_ICRC_TOKENS: IcInterface[] = [...(nonNullish(BURN_IC_DATA) ? [BURN_IC_DATA] : [])];
const ADDITIONAL_ICRC_TOKENS: IcInterface[] = [
...(nonNullish(BURN_IC_DATA) ? [BURN_IC_DATA] : []),
...(nonNullish(POPEYE_IC_DATA) ? [POPEYE_IC_DATA] : [])
];

export const ICRC_TOKENS: IcInterface[] = [
...PUBLIC_ICRC_TOKENS,
Expand Down

0 comments on commit 7fd3b24

Please sign in to comment.