feat(frontend): integration of Solana #10212
Annotations
16 errors and 8 warnings
test:
src/frontend/src/tests/mocks/sol-transactions.mock.ts#L29
Object literal may only specify known properties, and 'innerInstructions' does not exist in type '{ computeUnitsConsumed?: bigint | undefined; err: TransactionError | null; fee: Lamports; logMessages: readonly string[] | null; postBalances: readonly Lamports[]; postTokenBalances?: readonly Readonly<...>[] | undefined; preBalances: readonly Lamports[]; preTokenBalances?: readonly Readonly<...>[] | undefined; rewa...'.
|
test:
src/frontend/src/tests/mocks/sol-transactions.mock.ts#L50
Object literal may only specify known properties, and 'addressTableLookups' does not exist in type '{ accountKeys: readonly Address[]; instructions: readonly { accounts: readonly number[]; data: Base58EncodedBytes; programIdIndex: number; stackHeight?: number | undefined; }[]; }'.
|
test:
src/frontend/src/tests/mocks/sol-transactions.mock.ts#L86
Object literal may only specify known properties, and 'innerInstructions' does not exist in type '{ computeUnitsConsumed?: bigint | undefined; err: TransactionError | null; fee: Lamports; logMessages: readonly string[] | null; postBalances: readonly Lamports[]; postTokenBalances?: readonly Readonly<...>[] | undefined; preBalances: readonly Lamports[]; preTokenBalances?: readonly Readonly<...>[] | undefined; rewa...'.
|
test:
src/frontend/src/tests/mocks/sol-transactions.mock.ts#L111
Object literal may only specify known properties, and 'addressTableLookups' does not exist in type '{ accountKeys: readonly Address[]; instructions: readonly { accounts: readonly number[]; data: Base58EncodedBytes; programIdIndex: number; stackHeight?: number | undefined; }[]; }'.
|
test:
src/frontend/src/tests/sol/utils/sol-transactions.utils.spec.ts#L19
Property 'signatures' does not exist on type '{ message: { accountKeys: readonly Address[]; instructions: readonly { accounts: readonly number[]; data: Base58EncodedBytes; programIdIndex: number; stackHeight?: number | undefined; }[]; }; }'.
|
test:
src/frontend/src/tests/sol/utils/sol-transactions.utils.spec.ts#L46
Property 'signatures' does not exist on type '{ message: { accountKeys: readonly Address[]; instructions: readonly { accounts: readonly number[]; data: Base58EncodedBytes; programIdIndex: number; stackHeight?: number | undefined; }[]; }; }'.
|
test
Process completed with exit code 2.
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L288
Unexpected console statement
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L335
Unexpected console statement
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L455
Unexpected console statement
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L459
Unexpected console statement
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L480
Unexpected console statement
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L487
Unexpected console statement
|
lint:
src/frontend/src/sol/services/sol-send.services.ts#L114
Unexpected console statement
|
lint
Process completed with exit code 1.
|
may-merge
Process completed with exit code 1.
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L89
Functions with more than one parameter should accept an object and use destructuring
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L130
Functions with more than one parameter should accept an object and use destructuring
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L206
Functions with more than one parameter should accept an object and use destructuring
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L274
Functions with more than one parameter should accept an object and use destructuring
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L324
Functions with more than one parameter should accept an object and use destructuring
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L346
'onProgress' is defined but never used. Allowed unused args must match /^_/u
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L464
'key' is defined but never used. Allowed unused args must match /^_/u
|
lint:
src/frontend/src/sol/services/sol-send-local.services.ts#L475
'newSignedTransaction' is assigned a value but never used. Allowed unused vars must match /^_/u
|