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

Converted transaction receipts in database are missing transitions and event_logs #2124

Open
maxconway opened this issue Jan 10, 2025 · 1 comment
Labels
Agate Required for mainnet launch

Comments

@maxconway
Copy link
Contributor

Following on from #1666.

@chetan-zilliqa reports the GetTransaction API returns empty arrays for the event_logs and transitions fields, e.g. in response to the following curl:

curl --request POST \
  --url https://api.zq2-protomainnet.zilliqa.com/ \
  --header 'Content-Type: application/json' \
  --data '{
    "id": "1",
    "jsonrpc": "2.0",
    "method": "GetTransaction",
		"params": ["4964bf50c8f598f6deedaed6c34cc5d739f8a9a8aecf8eb548206af8594e6c89"]
}'

@maxconway has investigated and tested the function in question and it appears to return exactly what it finds in the db (with the exception of filtering out EVM type logs which aren't meant to be returned).

Therefore the conclusion is that the event_logs and transitions probably aren't making it to the database during persistence conversion.

If there's no way for this to be the case we will need to investigate more deeply.

@chetan-zilliqa
Copy link
Contributor

Ticket for the depth field mismatch - #2131

@chetan-zilliqa chetan-zilliqa added the Agate Required for mainnet launch label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agate Required for mainnet launch
Projects
None yet
Development

No branches or pull requests

3 participants