Skip to content

feat(rpc): stx_getAddresses, closes LEA-1958 #15202

feat(rpc): stx_getAddresses, closes LEA-1958

feat(rpc): stx_getAddresses, closes LEA-1958 #15202

Triggered via push January 23, 2025 16:34
Status Failure
Total duration 1m 38s
Artifacts

code-checks.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 11 warnings
lint-unused-exports
Process completed with exit code 1.
typecheck: src/app/pages/rpc-sign-stacks-transaction/use-rpc-sign-stacks-transaction.ts#L65
Property 'transaction' is missing in type '{ txHex: string; }' but required in type '{ txHex: string; transaction: string; }'.
typecheck: src/background/messaging/rpc-message-handler.ts#L66
Argument of type '{ id: string; method: "stx_getAddresses"; params: string[] | Record<string, unknown>; jsonrpc: "2.0"; }' is not assignable to parameter of type '{ id: string; method: "getAddresses"; params: string[] | Record<string, unknown>; jsonrpc: "2.0"; }'.
typecheck: src/background/messaging/rpc-methods/sign-stacks-transaction.ts#L139
Property 'txHex' does not exist on type '{ txHex: string; network?: string | undefined; stxAddress?: string | undefined; attachment?: string | undefined; accountIndex?: string | undefined; } | { transaction: string; network?: string | undefined; }'.
typecheck: src/background/messaging/rpc-methods/sign-stacks-transaction.ts#L152
Property 'txHex' does not exist on type '{ txHex: string; network?: string | undefined; stxAddress?: string | undefined; attachment?: string | undefined; accountIndex?: string | undefined; } | { transaction: string; network?: string | undefined; }'.
typecheck: src/background/messaging/rpc-methods/sign-stacks-transaction.ts#L155
Property 'stxAddress' does not exist on type '{ txHex: string; network?: string | undefined; stxAddress?: string | undefined; attachment?: string | undefined; accountIndex?: string | undefined; } | { transaction: string; network?: string | undefined; }'.
typecheck: src/background/messaging/rpc-methods/sign-stacks-transaction.ts#L156
Property 'attachment' does not exist on type '{ txHex: string; network?: string | undefined; stxAddress?: string | undefined; attachment?: string | undefined; accountIndex?: string | undefined; } | { transaction: string; network?: string | undefined; }'.
typecheck: src/background/messaging/rpc-methods/sign-stacks-transaction.ts#L169
Property 'txHex' does not exist on type '{ txHex: string; network?: string | undefined; stxAddress?: string | undefined; attachment?: string | undefined; accountIndex?: string | undefined; } | { transaction: string; network?: string | undefined; }'.
typecheck
Process completed with exit code 2.
lint-commit
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/
lint-eslint: src/app/common/authentication/use-legacy-auth-bitcoin-addresses.ts#L30
This assertion is unnecessary since the receiver accepts the original type of the expression
lint-eslint: src/app/common/authentication/use-legacy-auth-bitcoin-addresses.ts#L31
This assertion is unnecessary since the receiver accepts the original type of the expression
lint-eslint: src/app/common/authentication/use-legacy-auth-bitcoin-addresses.ts#L34
This assertion is unnecessary since the receiver accepts the original type of the expression
lint-eslint: src/app/common/authentication/use-legacy-auth-bitcoin-addresses.ts#L35
This assertion is unnecessary since the receiver accepts the original type of the expression
lint-eslint: src/app/common/hooks/use-waiting-message.ts#L9
This assertion is unnecessary since it does not change the type of the expression
lint-eslint: src/app/common/signature/requests.ts#L31
This assertion is unnecessary since it does not change the type of the expression
lint-eslint: src/app/common/transactions/stacks/is-sip-10-transfer.ts#L5
This assertion is unnecessary since it does not change the type of the expression
lint-eslint: src/app/features/ledger/flows/bitcoin-tx-signing/ledger-bitcoin-sign-tx-container.tsx#L66
This assertion is unnecessary since it does not change the type of the expression
lint-eslint: src/app/features/ledger/flows/stacks-tx-signing/ledger-sign-stacks-tx-container.tsx#L52
This assertion is unnecessary since it does not change the type of the expression
lint-eslint: src/app/features/ledger/hooks/use-ledger-latest-route-error.hook.ts#L11
This assertion is unnecessary since it does not change the type of the expression