feat(evm): add gateway alert for 0 balance ongoing tx #1194
Annotations
7 errors and 1 warning
Run tests:
apps/evm/src/app/[lang]/(bridge)/hooks/useGatewayForm.ts#L47
TypeError: Cannot read properties of undefined (reading 'toExact')
❯ Module.useGatewayForm src/app/[lang]/(bridge)/hooks/useGatewayForm.ts:47:45
❯ src/app/[lang]/(bridge)/hooks/tests/useGatewayForm.test.ts:56:7
❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
Run tests:
apps/evm/src/app/[lang]/(bridge)/hooks/useGatewayForm.ts#L47
TypeError: Cannot read properties of undefined (reading 'toExact')
❯ Module.useGatewayForm src/app/[lang]/(bridge)/hooks/useGatewayForm.ts:47:45
❯ src/app/[lang]/(bridge)/hooks/tests/useGatewayForm.test.ts:70:7
❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
Run tests:
apps/evm/src/app/[lang]/(bridge)/hooks/useGatewayForm.ts#L47
TypeError: Cannot read properties of undefined (reading 'toExact')
❯ Module.useGatewayForm src/app/[lang]/(bridge)/hooks/useGatewayForm.ts:47:45
❯ src/app/[lang]/(bridge)/hooks/tests/useGatewayForm.test.ts:88:7
❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
Run tests:
apps/evm/src/app/[lang]/(bridge)/hooks/useGatewayForm.ts#L47
TypeError: Cannot read properties of undefined (reading 'toExact')
❯ Module.useGatewayForm src/app/[lang]/(bridge)/hooks/useGatewayForm.ts:47:45
❯ src/app/[lang]/(bridge)/hooks/tests/useGatewayForm.test.ts:108:7
❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
Run tests:
apps/evm/src/app/[lang]/(bridge)/hooks/useGatewayForm.ts#L47
TypeError: Cannot read properties of undefined (reading 'toExact')
❯ Module.useGatewayForm src/app/[lang]/(bridge)/hooks/useGatewayForm.ts:47:45
❯ src/app/[lang]/(bridge)/hooks/tests/useGatewayForm.test.ts:122:7
❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
Run tests:
apps/evm/src/app/[lang]/(bridge)/hooks/useGatewayForm.ts#L47
TypeError: Cannot read properties of undefined (reading 'toExact')
❯ Module.useGatewayForm src/app/[lang]/(bridge)/hooks/useGatewayForm.ts:47:45
❯ src/app/[lang]/(bridge)/hooks/tests/useGatewayForm.test.ts:135:7
❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading