Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
We sometimes run into issues where the contract parser doesn't seem to be generating the correct files we need. In these cases its currently hard to debug things since we have no feedback that the parsing will work as intented.
[x] Log Parsing Support
[ ] Trace Parsing Support (WIP)
How?
I have created a
generate_parse_sql.py
file that can be called with the path of the json file + date.Command
The command below tries to verify the json for ajna_v2
ERC721PoolFactory_event_PoolCreated
events. Note i selected2024-01-08
since I know there are events produced on that date from etherscanOutput
This will generate some sql for you to test out the parsing and verify everything is woring as expected
Running SQL in BQ
We can use the
parsed_log
column to verify everything we need is correctly parsed