Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing transaction for receipt FEkaV4fxRTCKNBswDVRacHAXLukAB6wq1r9cRey3jugd #22

Closed
eduohe opened this issue Apr 16, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@eduohe
Copy link
Collaborator

eduohe commented Apr 16, 2024

An user mentioned that a transaction coudn't be found in the BQ dataset:
SELECT
*
FROM
bigquery-public-data.crypto_near_mainnet_us.receipt_actions ra
WHERE
ra.block_date = '2022-01-19'
and ra.receipt_id = 'FEkaV4fxRTCKNBswDVRacHAXLukAB6wq1r9cRey3jugd'

https://nearblocks.io/txns/9ioLz3jJavEiiYVVVX2pDrPPQWXSL4zoH8o8uXzMTSSB#

Cause:

Skipped Blocks - NEAR Blockchain can contain skipped blocks, e.g. block 57730443. For these cases we can find the block for the chunk data using the prev_block_hash column, e.g. SELECT * FROM chunks c JOIN blocks b ON c.chunk.header.prev_block_hash = b.header.prev_hash.

@eduohe eduohe self-assigned this Apr 16, 2024
@eduohe eduohe added the bug Something isn't working label Apr 16, 2024
@eduohe
Copy link
Collaborator Author

eduohe commented Apr 16, 2024

near/docs#1907

@eduohe
Copy link
Collaborator Author

eduohe commented Apr 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants