Skip to content

refactor(portfolio): refactor balance to amount #6965

refactor(portfolio): refactor balance to amount

refactor(portfolio): refactor balance to amount #6965

Triggered via push April 26, 2024 10:01
Status Failure
Total duration 6m 13s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
check
Module '"@yoroi/portfolio"' has no exported member 'balanceFormatter'.
check
Cannot find name 'primaryAmount'.
check
Namespace '"/home/runner/work/yoroi/yoroi/packages/types/lib/typescript/index".Portfolio.Token' has no exported member 'Balance'.
check
Namespace '"/home/runner/work/yoroi/yoroi/packages/types/lib/typescript/index".Portfolio.Token' has no exported member 'Balance'.
check
Property 'balance' does not exist on type 'Readonly<PortfolioTokenAmount>'.
check
Property 'balance' does not exist on type 'PortfolioTokenAmount'.
check
Argument of type '{ primaryStated: { totalFromTxs: bigint; lockedAsStorageCost: bigint; }; secondaryBalances: Map<`${string}.${string}`, Omit<Portfolio.Token.Balance, "info">>; }' is not assignable to parameter of type 'Readonly<{ primaryStated: Readonly<Pick<PortfolioPrimaryBreakdown, "totalFromTxs" | "lockedAsStorageCost">>; secondaryBalances: Readonly<Map<...>>; }>'.
check
Argument of type '{ primaryStated: { totalFromTxs: bigint; lockedAsStorageCost: bigint; }; secondaryBalances: Map<`${string}.${string}`, Omit<Portfolio.Token.Balance, "info">>; }' is not assignable to parameter of type 'Readonly<{ primaryStated: Readonly<Pick<PortfolioPrimaryBreakdown, "totalFromTxs" | "lockedAsStorageCost">>; secondaryBalances: Readonly<Map<...>>; }>'.
check
Object literal may only specify known properties, and 'balance' does not exist in type 'Readonly<PortfolioTokenAmount>'.
check
Process completed with exit code 2.
check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.