Skip to content

feat: add support for evm-like contracts and transactions #1120

feat: add support for evm-like contracts and transactions

feat: add support for evm-like contracts and transactions #1120

GitHub Actions / Unit Test Results failed Dec 5, 2024 in 0s

3 fail, 1 skipped, 2 121 pass in 11m 26s

    4 files  +    4    263 suites  +263   11m 26s ⏱️ + 11m 26s
2 125 tests +2 125  2 121 ✅ +2 121  1 💤 +1  3 ❌ +3 
2 337 runs  +2 337  2 333 ✅ +2 333  1 💤 +1  3 ❌ +3 

Results for commit aadcc6d. ± Comparison against earlier commit cd3911b.

Annotations

Check warning on line 0 in TransactionService getData returns data with transaction info

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

TransactionService getData returns data with transaction info (TransactionService getData returns data with transaction info) failed

packages/data-fetcher/junit.xml [took 0s]
Raw output
Error: expect(received).toEqual(expected) // deep equality

- Expected  - 0
+ Received  + 2

  Object {
    "_isMockObject": true,
    "hash": "0",
+   "isEvmLike": false,
    "l1BatchNumber": 3,
    "receiptStatus": 1,
+   "to": undefined,
  }
    at Object.<anonymous> (/home/runner/work/block-explorer/block-explorer/packages/data-fetcher/src/transaction/transaction.service.spec.ts:141:34)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in TransactionService getData when transaction has failed status when transaction trace contains error and revert reason returns data with transaction info with error and revert reason

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

TransactionService getData when transaction has failed status when transaction trace contains error and revert reason returns d…when transaction trace contains error and revert reason returns data with transaction info with error and revert reason) failed

packages/data-fetcher/junit.xml [took 0s]
Raw output
Error: expect(received).toEqual(expected) // deep equality

- Expected  - 0
+ Received  + 2

  Object {
    "_isMockObject": true,
    "error": "Some error",
    "hash": "0",
+   "isEvmLike": false,
    "l1BatchNumber": 3,
    "receiptStatus": 0,
    "revertReason": "Some revert reason",
+   "to": undefined,
  }
    at Object.<anonymous> (/home/runner/work/block-explorer/block-explorer/packages/data-fetcher/src/transaction/transaction.service.spec.ts:177:38)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in TransactionService getData when transaction has failed status when transaction trace doe not contain error and revert reason returns data with transaction info without error and revert reason

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

TransactionService getData when transaction has failed status when transaction trace doe not contain error and revert reason re…action trace doe not contain error and revert reason returns data with transaction info without error and revert reason) failed

packages/data-fetcher/junit.xml [took 0s]
Raw output
Error: expect(received).toEqual(expected) // deep equality

- Expected  - 0
+ Received  + 2

  Object {
    "_isMockObject": true,
    "hash": "0",
+   "isEvmLike": false,
    "l1BatchNumber": 3,
    "receiptStatus": 0,
+   "to": undefined,
  }
    at Object.<anonymous> (/home/runner/work/block-explorer/block-explorer/packages/data-fetcher/src/transaction/transaction.service.spec.ts:192:38)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)