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.
Immediate rows for Unverified Data
The Moonworm-crawler no longer waits for confirmations before insert to the database. Both events and transaction calls are saved instantly upon collecting the minimum number of blocks. Under label
{label_name}-unverified
.Verification Process
During every crawl iteration, Moonworm-crawler runs a verification check for all events and transaction calls tagged with
unverified
. It identifies these items and updates their labels after confirming their validity. This update:label_name_unverified
to the designatedlabel_name
.tx_hash
andlog_index
.label_name
.Removal of Unverified Tags
Once verified, the crawler removes the
label_name_unverified
wich already exists underlabel_name
.Enhanced Blocks Cache for Events
The blocks cache now pulls its data from the database block and labels tables. It updates this data once for each block range.
Block Cache for Transaction Calls
No modifications were needed; however, future changes might require updates in the Moonworm library.
Event and Function Job Deduplication
Both events and functions have transitioned to using
abi_selector
instead ofabi_hash
to ensure uniqueness.