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

feat: Scrape Sealevel dispatched messages #4776

Merged
merged 26 commits into from
Oct 30, 2024
Merged

Conversation

ameten
Copy link
Contributor

@ameten ameten commented Oct 29, 2024

Description

Scraper is able to index dispatch messages:

  1. Blocks are stored into database
  2. Transactions are stored into database (need population of all fields)
  3. Dispatched messages are stored into database

Drive-by changes

Initial indexing of delivered messages (so that Scraper does not crush)

Related issues

Backward compatibility

Yes (Solana-like chains should not be enabled for Scraper)

Testing

Manual run of Scraper
E2E Tests

Copy link

changeset-bot bot commented Oct 29, 2024

⚠️ No Changeset found

Latest commit: 565fa21

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.01%. Comparing base (d9505ab) to head (565fa21).
Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4776   +/-   ##
=======================================
  Coverage   74.01%   74.01%           
=======================================
  Files         101      101           
  Lines        1466     1466           
  Branches      191      191           
=======================================
  Hits         1085     1085           
  Misses        360      360           
  Partials       21       21           
Components Coverage Δ
core 84.61% <ø> (ø)
hooks 76.41% <ø> (ø)
isms 77.58% <ø> (ø)
token 89.01% <ø> (ø)
middlewares 77.58% <ø> (ø)

rust/main/chains/hyperlane-sealevel/src/mailbox.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/transaction.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/transaction.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/transaction.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/transaction.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/mailbox.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/transaction.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/mailbox.rs Outdated Show resolved Hide resolved
@tkporter
Copy link
Collaborator

also just a nit but can you update the PR title to mention Sealevel as well

@ameten ameten changed the title feat: Scrape dispatched messages feat: Scrape Sealevel dispatched messages Oct 29, 2024
@ameten
Copy link
Contributor Author

ameten commented Oct 29, 2024

Thank you for feedback, @tkporter!

rust/main/chains/hyperlane-sealevel/src/mailbox.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/transaction.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/mailbox.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/mailbox.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/mailbox.rs Outdated Show resolved Hide resolved
rust/main/chains/hyperlane-sealevel/src/transaction.rs Outdated Show resolved Hide resolved
@ameten
Copy link
Contributor Author

ameten commented Oct 30, 2024

Thank you for the feedback, @daniel-savu!

@ameten ameten added this pull request to the merge queue Oct 30, 2024
Merged via the queue into main with commit c87cfbd Oct 30, 2024
35 checks passed
@ameten ameten deleted the scraper-dispatched-messages branch October 30, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants