Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

feat(core): add changi network #618

feat(core): add changi network

feat(core): add changi network #618

Triggered via pull request August 23, 2023 10:17
Status Failure
Total duration 2m 54s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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/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.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#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#L51
React Hook useEffect has missing dependencies: 'api' and 'logger.error'. Either include them or remove the dependency array