feat: add a.DI helper#53
Merged
Merged
Conversation
Adds a Foundry test helper for Aave Delivery Infrastructure that composes pigeon's existing CCIP, LayerZero V2, and Hyperlane helpers plus a new ArbitrumNativeHelper primitive. Two entry points cover the shipping a.DI lanes: helpEthToArb relays through the Arbitrum native inbox (decoding the packed retryable, pranking the Inbox-aliased L1 sender on L2), and helpMultiBridge relays through any subset of CCIP/LZ V2/Hyperlane on a multi-bridge consensus lane. The ArbitrumNativeHelper is a standalone primitive reusable for any L1 contract that wraps Inbox.createRetryableTicket. Funding the CCC is the test author's responsibility; the helper does not fund. Tests run against real Eth+Arb forks with the Aave Labs forked deployment.
supervaulter
approved these changes
May 7, 2026
de6b8bb to
6f9388b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a Foundry test helper for Aave Delivery Infrastructure (a.DI). The
AdiHelpercomposes pigeon's existingCcipHelper,LayerZeroV2Helper,HyperlaneHelper, and a newArbitrumNativeHelperprimitive, exposing two entry points:helpEthToArb(Arbitrum native inbox — decodes the packed retryable, pranks as the Inbox-aliased L1 sender on L2, calls the receiver) andhelpMultiBridge(any subset of CCIP/LZ V2/Hyperlane for a multi-bridge consensus lane such as Arb→Eth or future Arb→Op). TheArbitrumNativeHelperis reusable beyond a.DI for any L1 contract wrappingInbox.createRetryableTicket. Funding the CCC for AMB fees is the caller's responsibility — the helper does not fund. Tests run against real Eth+Arb forks against the Aave Labs forked a.DI deployment.Stacked on #51 (
feat/ccip-helper).