Skip to content

feat: add a.DI helper#53

Merged
0xTimepunk merged 3 commits into
feat/ccip-helperfrom
feat/adi-helper
May 8, 2026
Merged

feat: add a.DI helper#53
0xTimepunk merged 3 commits into
feat/ccip-helperfrom
feat/adi-helper

Conversation

@0xTimepunk
Copy link
Copy Markdown
Collaborator

Adds a Foundry test helper for Aave Delivery Infrastructure (a.DI). The AdiHelper composes pigeon's existing CcipHelper, LayerZeroV2Helper, HyperlaneHelper, and a new ArbitrumNativeHelper primitive, exposing two entry points: helpEthToArb (Arbitrum native inbox — decodes the packed retryable, pranks as the Inbox-aliased L1 sender on L2, calls the receiver) and helpMultiBridge (any subset of CCIP/LZ V2/Hyperlane for a multi-bridge consensus lane such as Arb→Eth or future Arb→Op). The ArbitrumNativeHelper is reusable beyond a.DI for any L1 contract wrapping Inbox.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).

0xTimepunk added 2 commits May 6, 2026 12:05
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.
Comment thread src/arbitrum/ArbitrumNativeHelper.sol
@0xTimepunk 0xTimepunk merged commit bdb5854 into feat/ccip-helper May 8, 2026
2 checks passed
@0xTimepunk 0xTimepunk deleted the feat/adi-helper branch May 8, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants