This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
feat(core): add changi network #618
ci.yml
on: pull_request
Build
1m 15s
Test
1m 30s
Lint (prettier)
1m 8s
Lint (eslint)
2m 44s
Annotations
7 errors and 10 warnings
Lint (prettier)
Process completed with exit code 1.
|
Build
@waveshq/walletkit-core#build: command (/home/runner/work/walletkit/walletkit/packages/walletkit-core) pnpm run build exited (1)
|
Build
Type '"changi"' is not assignable to type '"mainnet" | "testnet" | "regtest" | "devnet" | undefined'.
|
Build
Process completed with exit code 1.
|
Test
@waveshq/walletkit-core#test: command (/home/runner/work/walletkit/walletkit/packages/walletkit-core) pnpm run test --maxWorkers=100% --coverage exited (1)
|
network › should resolve bip32 option for Changi:
packages/walletkit-core/src/api/network.unit.ts#L27
expect(received).toMatchSnapshot()
Snapshot name: `network should resolve bip32 option for Changi 1`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
{
"bip32": {
"private": 70615956,
"public": 70617039,
},
"wif": 239,
}
at Object.<anonymous> (src/api/network.unit.ts:27:26)
|
Test
Process completed with exit code 1.
|
Lint (eslint):
packages/walletkit-ui/src/contexts/DeFiScanContext.tsx#L72
'JSX' is not defined
|
Lint (eslint):
packages/walletkit-ui/src/contexts/DisplayBalanceContext.tsx#L39
'JSX' is not defined
|
Lint (eslint):
packages/walletkit-ui/src/contexts/DisplayBalanceContext.tsx#L62
React Hook useEffect has missing dependencies: 'DisplayBalancesPersistence' and 'logger.error'. Either include them or remove the dependency array
|
Lint (eslint):
packages/walletkit-ui/src/contexts/LanguageProvider.test.tsx#L70
'JSX' is not defined
|
Lint (eslint):
packages/walletkit-ui/src/contexts/LanguageProvider.tsx#L62
React Hook useEffect has missing dependencies: 'api', 'locale', and 'logger'. Either include them or remove the dependency array
|
Lint (eslint):
packages/walletkit-ui/src/contexts/LanguageProvider.tsx#L66
React Hook useEffect has a missing dependency: 'onChangeLocale'. Either include it or remove the dependency array. If 'onChangeLocale' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Lint (eslint):
packages/walletkit-ui/src/contexts/LanguageProvider.tsx#L87
'JSX' is not defined
|
Lint (eslint):
packages/walletkit-ui/src/contexts/LanguageProvider.tsx#L119
React Hook useEffect has a missing dependency: 'onChangeLocale'. Either include it or remove the dependency array
|
Lint (eslint):
packages/walletkit-ui/src/contexts/NetworkContext.tsx#L38
'JSX' is not defined
|
Lint (eslint):
packages/walletkit-ui/src/contexts/NetworkContext.tsx#L51
React Hook useEffect has missing dependencies: 'api' and 'logger.error'. Either include them or remove the dependency array
|