feat(adapters): implement 6 remaining EVM protocol adapters#8
Open
Patrick-Ehimen wants to merge 1 commit into
Open
feat(adapters): implement 6 remaining EVM protocol adapters#8Patrick-Ehimen wants to merge 1 commit into
Patrick-Ehimen wants to merge 1 commit into
Conversation
Adds Stargate V2, CCTP V2, Hop, Connext, Wormhole, and Axelar adapters under indexer/src/adapters/, each with a unit test suite in adapters/tests/. 28 tests total, all passing; clippy clean with -D warnings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
OFTSentevent; GUID (LZ V2 packet GUID) as correlation key; dest chain from LayerZero endpoint IDDepositForBurnevent; correlation key scoped to source chain (cctp:<chain>:<nonce>);mintRecipientright-unpacked frombytes32TransferSentevent;transferIdas correlation key; sender not available in log (documented limitation)XCalledevent with nested dynamicTransferInfostruct;transferIdas correlation key; sender/receiver fromparams.originSender/params.toLogMessagePublished; VAA key (wormhole:<wh_chain>:<sender>:<sequence>) as correlation ID; dest chain is opaque payload (set toNone)ContractCallevent;payloadHashas correlation key; dest chain from Axelar chain name stringAll adapters follow the
ProtocolAdaptertrait pattern established in PR #4, with enum dispatch inadapters/mod.rs.Test Plan
cargo test -p indexer) — all passingcargo clippy --workspace --all-targets -- -D warnings— cleancargo fmt --check+cargo clippy) — passed at commit timeNone, unknown dest chain →dest_chain: None, protocol-specific invariant (correlation ID format, amount encoding, etc.)