chore: btc validation #15347
code-checks.yml
on: push
lint-prettier
52s
lint-eslint
55s
lint-filename
43s
lint-commit
31s
lint-deps
54s
lint-message-schema
1m 13s
lint-unused-exports
41s
lint-firefox-build
1m 22s
locked-versions
50s
audit
48s
typecheck
53s
test-unit
42s
test-build
1m 13s
Annotations
14 errors and 11 warnings
src/shared/rpc/methods/send-transfer.spec.ts:
src/shared/rpc/methods/send-transfer.ts#L67
ReferenceError: FormErrorMessages is not defined
❯ src/shared/rpc/methods/send-transfer.ts:67:16
❯ src/shared/rpc/methods/send-transfer.spec.ts:1:1
|
test-unit
Process completed with exit code 1.
|
typecheck:
src/app/common/stacks-utils.ts#L1
'ChainId' is declared but its value is never read.
|
typecheck:
src/app/common/stacks-utils.ts#L3
'c32addressDecode' is declared but its value is never read.
|
typecheck:
src/app/common/stacks-utils.ts#L6
'NetworkConfiguration' is declared but its value is never read.
|
typecheck:
src/app/common/validation/forms/amount-validators.ts#L87
Cannot find name 'Money'.
|
typecheck:
src/app/common/validation/forms/amount-validators.ts#L88
Cannot find name 'yup'.
|
typecheck:
src/app/common/validation/forms/amount-validators.ts#L90
Cannot find name 'FormErrorMessages'.
|
typecheck:
src/app/common/validation/forms/amount-validators.ts#L92
Cannot find name 'formatInsufficientBalanceError'.
|
typecheck:
src/app/common/validation/forms/amount-validators.ts#L92
Parameter 'sum' implicitly has an 'any' type.
|
typecheck:
src/app/common/validation/forms/amount-validators.ts#L93
Cannot find name 'microStxToStx'.
|
typecheck:
src/app/common/validation/forms/amount-validators.ts#L96
Cannot find name 'BigNumber'. Did you mean 'Number'?
|
lint-eslint:
src/app/features/add-network/use-add-network.tsx#L8
'@leather.io/models' import is duplicated
|
lint-eslint
Process completed with exit code 1.
|
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#L67
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
|