Validate insufficient azero #558
Triggered via pull request
September 16, 2024 16:00
Status
Failure
Total duration
1m 13s
Artifacts
–
Annotations
8 errors and 4 warnings
upload
Vercel CLI 37.4.0
Retrieving project…
Deploying invariantlabs/webapp-azero
Uploading [--------------------] (0.0B/651.1KB)
Uploading [=====---------------] (167.0KB/651.1KB)
Uploading [==========----------] (341.4KB/651.1KB)
Uploading [===============-----] (494.3KB/651.1KB)
Uploading [====================] (651.1KB/651.1KB)
Inspect: https://vercel.com/invariantlabs/webapp-azero/FDhQE82f5AS7dmtCtDLw91YSZD9f [4s]
Preview: https://webapp-azero-ggmlsn280-invariantlabs.vercel.app [4s]
Queued
Building
Error: Command "npm run build" exited with 2
Error: Check your logs at https://webapp-azero-ggmlsn280-invariantlabs.vercel.app/_logs or run `vercel logs webapp-azero-ggmlsn280-invariantlabs.vercel.app`
|
build:
src/components/NewPosition/DepositSelector/DepositSelector.stories.tsx#L74
Type '{ commonTokens: string[]; concentrationArray: number[]; concentrationIndex: number; feeTiers: number[]; handleAddToken: Mock<[address: string], void>; initialFee: string; initialHideUnknownTokensValue: false; ... 20 more ...; network: Network.Testnet; }' is not assignable to type 'Partial<{ initialTokenFrom: string; initialTokenTo: string; initialFee: string; tokens: Record<string, SwapToken>; setPositionTokens: (tokenAAddress: string | null, tokenBAddress: string | null, feeTierIndex: number) => void; ... 26 more ...; azeroBalance: bigint; }> & { ...; }'.
|
build:
src/components/NewPosition/NewPosition.stories.tsx#L23
Type '{ currentPairReversed: false; isXtoY: true; addLiquidityHandler: Mock<[leftTickIndex: bigint, rightTickIndex: bigint, xAmount: bigint, yAmount: bigint, slippage: bigint], void>; midPrice: any; bestTiers: never[]; commonTokens: never[]; copyPoolAddressHandler: Mock<...>; ... 39 more ...; isLoadingTokens: false; }' is not assignable to type 'Partial<{ initialTokenFrom: string; initialTokenTo: string; initialFee: string; copyPoolAddressHandler: (message: string, variant: "success" | "error" | "default" | "warning" | "info" | "pending") => void; ... 48 more ...; azeroBalance: bigint; }> & { ...; }'.
|
build:
src/components/NewPosition/NewPosition.stories.tsx#L83
Property 'azeroBalance' is missing in type '{ midPrice: { x: number; index: bigint; sqrtPrice: bigint; }; currentPriceSqrt: bigint; tickSpacing: bigint; xDecimal: bigint; yDecimal: bigint; commonTokens: never[]; handleAddToken: Mock<[address: string], void>; ... 39 more ...; isLoadingTokens: false; }' but required in type 'INewPosition'.
|
build:
src/components/Swap/Swap.stories.tsx#L28
Type '{ commonTokens: never[]; handleAddToken: Mock<[address: string], void>; initialHideUnknownTokensValue: false; onSwap: Mock<[poolKey: PoolKey, slippage: bigint, knownPrice: bigint, tokenFrom: string, tokenTo: string, amountIn: bigint, amountOut: bigint, byAmountIn: boolean], void>; ... 21 more ...; network: Network.T...' is not assignable to type 'Partial<{ isFetchingNewPool: boolean; onRefresh: (tokenFromAddress: string | null, tokenToAddress: string | null) => void; walletStatus: Status; swapData: Swap; tokens: Record<...>; ... 25 more ...; azeroBalance: bigint; }> & { ...; }'.
|
build:
src/components/Swap/Swap.tsx#L15
'SWAP_SAFE_TRANSACTION_FEE' is declared but its value is never read.
|
build:
src/components/Swap/Swap.tsx#L136
'azeroBalance' is declared but its value is never read.
|
build
Process completed with exit code 2.
|
upload
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
upload
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|