Skip to content

Fix bug Blocks

Fix bug Blocks #44

Triggered via push October 25, 2023 14:29
Status Failure
Total duration 23s
Artifacts

bun-test.yml

on: push
build-and-test
12s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

4 errors
error: expect(received).toBe(expected): src/queries.spec.ts#L10
Expected: "SELECT * FROM Contracts JOIN block ON block.block_id = Contracts.block_id WHERE (chain == 'eth' AND address == 'dac17f958d2ee523a2206206994597c13d831ec7') ORDER BY block_number DESC LIMIT 1" Received: "SELECT * FROM Contracts JOIN blocks ON blocks.block_id = Contracts.block_id WHERE (chain == 'eth' AND address == 'dac17f958d2ee523a2206206994597c13d831ec7') ORDER BY block_number DESC LIMIT 1" at /home/runner/work/substreams-erc20-api/substreams-erc20-api/src/queries.spec.ts:10:4
error: expect(received).toBe(expected): src/queries.spec.ts#L15
Expected: "SELECT * FROM TotalSupply JOIN block ON block.block_id = TotalSupply.block_id WHERE (chain == 'eth' AND address == 'dac17f958d2ee523a2206206994597c13d831ec7') ORDER BY block_number DESC LIMIT 1" Received: "SELECT * FROM TotalSupply JOIN blocks ON blocks.block_id = TotalSupply.block_id WHERE (chain == 'eth' AND address == 'dac17f958d2ee523a2206206994597c13d831ec7') ORDER BY block_number DESC LIMIT 1" at /home/runner/work/substreams-erc20-api/substreams-erc20-api/src/queries.spec.ts:15:4
error: expect(received).toBe(expected): src/queries.spec.ts#L20
Expected: "SELECT * FROM balance_changes JOIN block ON block.block_id = balance_changes.block_id WHERE (chain == 'eth' AND owner == 'dac17f958d2ee523a2206206994597c13d831ec7') ORDER BY block_number DESC LIMIT 1" Received: "SELECT * FROM balance_changes JOIN blocks ON blocks.block_id = balance_changes.block_id WHERE (chain == 'eth' AND owner == 'dac17f958d2ee523a2206206994597c13d831ec7') ORDER BY block_number DESC LIMIT 1" at /home/runner/work/substreams-erc20-api/substreams-erc20-api/src/queries.spec.ts:20:4
build-and-test
Process completed with exit code 1.