fix parse #48
Annotations
4 errors
src/queries.spec.ts#L10
Expected: "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"
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
|
src/queries.spec.ts#L15
Expected: "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"
Received: "SELECT \n TotalSupply.address as address,\n TotalSupply.supply as supply,\n TotalSupply.id as id,\n block_number,\n TotalSupply.module_hash as module_hash,\n TotalSupply.chain as chain,\n Contracts.name as name,\n Contracts.symbol as symbol,\n Contracts.decimals as decimals,\n timestamp,\n FROM TotalSupply JOIN blocks ON blocks.block_id = TotalSupply.block_id LEFT JOIN Contracts ON Contracts.address = TotalSupply.address WHERE(TotalSupply.chain == 'eth' AND TotalSupply.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
|
src/queries.spec.ts#L20
Expected: "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"
Received: "SELECT\n balance_changes.contract as contract,\n Contracts.name as name,\n Contracts.symbol as symbol,\n Contracts.decimals as decimals,\n balance_changes.owner as owner,\n balance_changes.old_balance as old_balance,\n balance_changes.new_balance as new_balance,\n balance_changes.transaction_id as transaction_id,\n balance_changes.id as id,\n balance_changes.module_hash as module_hash,\n balance_changes.chain as chain,\n block_number,\n timestamp\n FROM balance_changes JOIN blocks ON blocks.block_id = balance_changes.block_id LEFT JOIN Contracts ON Contracts.address = balance_changes.contract 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
|
|
The logs for this run have expired and are no longer available.
Loading