-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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(relayer): Relayer multihop #15000
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Codecov Report
@@ Coverage Diff @@
## contestable-zkrollup #15000 +/- ##
=======================================================
Coverage ? 27.69%
=======================================================
Files ? 76
Lines ? 4784
Branches ? 0
=======================================================
Hits ? 1325
Misses ? 3314
Partials ? 145
*This pull request uses carry forward flags. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@cyberhorsey I notice there is an example TX, which is great, I was wondering if it works... :D |
yep, I have ran it L1 to L3, but not L2 to L2 yet, or anything with more than a single hop (L1 to L4, etc). theoretically it should work since it's configured to support an arbitrary number of hops that should be encoded the same way the contract expects. |
Co-authored-by: David <[email protected]>
Co-authored-by: David <[email protected]>
Co-authored-by: Roger <[email protected]>
This Pr adds functionality for multihop relayer bridge processing.
Main functionality:
bridge.proveMessageReceived
.TODO in future PR:
CrossChainSynced
events for source, all hops, and destination, so I can easily query when a block hash was synced, to make sure we wait for that header to be synced instead of "latest". on L1 to L3 it wont slow down anything too much, just a few blocks, becasue they sync in anchor tx. for L2 to L2 it will slow things down right now.Example of L1-L3 hop on interval devnet processed: https://l3blockscoutapi.internal.taiko.xyz/tx/0x66fe2932d700b400df578614e7646c5a5e33cd13126ccf5166326a367e034ce5