Skip to content

fix: remove calldata from frontend, stabilize eth_call, make tests less flaky #1786

fix: remove calldata from frontend, stabilize eth_call, make tests less flaky

fix: remove calldata from frontend, stabilize eth_call, make tests less flaky #1786

Triggered via pull request January 10, 2025 14:21
Status Failure
Total duration 3m 29s
Artifacts

unit-tests-pr.yml

on: pull_request
Unit Tests  /  frontend
27s
Unit Tests / frontend
backend-unit-tests
3m 19s
backend-unit-tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
test/unit/calldata/decode.test.ts > calldata decoding tests > smoke: frontend/src/calldata/parser.ts#L174
TypeError: CalldataAddress is not a constructor ❯ src/calldata/parser.ts:174:14 ❯ node_modules/typescript-parsec/src/Parsers/ApplyParser.ts:18:37 ❯ Object.parse node_modules/typescript-parsec/src/Parsers/ApplyParser.ts:14:51 ❯ Object.parse node_modules/typescript-parsec/src/Parsers/AlternativeParser.ts:198:34 ❯ RuleImpl.parse node_modules/typescript-parsec/src/Parsers/Rule.ts:26:28 ❯ Object.parse node_modules/typescript-parsec/src/Parsers/AlternativeParser.ts:198:34 ❯ RuleImpl.parse node_modules/typescript-parsec/src/Parsers/Rule.ts:26:28 ❯ Object.parse node_modules/typescript-parsec/src/Parsers/SequencialParser.ts:205:38 ❯ Object.parse node_modules/typescript-parsec/src/Parsers/ApplyParser.ts:11:30
test/unit/calldata/parse.test.ts > calldata parsing tests > all types: frontend/test/unit/calldata/parse.test.ts#L52
TypeError: CalldataAddress is not a constructor ❯ test/unit/calldata/parse.test.ts:52:13
test/unit/calldata/parse.test.ts > calldata parsing tests > trailing comma: frontend/test/unit/calldata/parse.test.ts#L75
TypeError: Cannot read properties of undefined (reading 'calldata') ❯ test/unit/calldata/parse.test.ts:75:16
Unit Tests / frontend
Process completed with exit code 1.
backend-unit-tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Unit Tests / frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.