feat: add support for evm-like contracts and transactions #1120
3 fail, 1 skipped, 2 121 pass in 11m 26s
Annotations
Check warning on line 0 in TransactionService getData returns data with transaction info
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)
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)
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)