Skip to content

feat: extend debridge to support solana (extraction + generation)#24

Merged
AndreAugusto11 merged 1 commit into
mainfrom
tx-input
Sep 10, 2025
Merged

feat: extend debridge to support solana (extraction + generation)#24
AndreAugusto11 merged 1 commit into
mainfrom
tx-input

Conversation

@AndreAugusto11

Copy link
Copy Markdown
Owner

No description provided.

@AndreAugusto11 AndreAugusto11 requested a review from Copilot August 27, 2025 09:39
@AndreAugusto11 AndreAugusto11 self-assigned this Aug 27, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR extends the deBridge bridge to support Solana functionality, adding both extraction and generation capabilities for cross-chain transactions involving Solana. The implementation includes significant database schema updates, enhanced event handling, and improved cross-chain transaction processing.

  • Adds Solana support to the deBridge bridge with extraction and generation capabilities
  • Implements comprehensive database schema changes for better cross-chain transaction tracking
  • Enhances post-processing capabilities for both deBridge and Mayan bridges

Reviewed Changes

Copilot reviewed 49 out of 49 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
utils/utils.py Adds null check to address conversion utility
tests/polygon/test_data_extraction.py Updates test assertions for new event counts
tests/mayan/test_resolve_swaps.py Adds comprehensive test suite for Mayan swap resolution logic
tests/mayan/test_data_extraction.py Updates test expectations for increased event counts
rpcs/rpc_client.py Improves RPC error handling and backoff logic
rpcs/evm_rpc_client.py Adds input data extraction to transaction processing
rpcs/alchemy_client.py Adds rate limit handling for Alchemy API
repository/mayan/repository.py Adds new query methods and database operations
repository/mayan/models.py Extensive schema updates for enhanced transaction tracking
repository/debridge/repository.py Major repository restructuring with new indexing
repository/debridge/models.py Complete schema overhaul for Solana support
repository/debridge/init.py Removes deprecated repository imports
repository/common/models.py Extends base transaction model with input data field
repository/base.py Adds utility method for checking record existence
generator/mayan/generator.py Implements auction data integration and enhanced matching
generator/debridge/generator.py Complete rewrite for Solana support and improved data processing
generator/common/price_generator.py Adds Solana-specific handling and metadata fixes
extractor/solana_extractor.py Optimizes transaction existence checking
extractor/mayan/handler.py Major enhancement with swap resolution and post-processing
extractor/mayan/constants.py Removes unused WETH contract addresses
extractor/extractor.py Adds post-processing framework
extractor/evm_extractor.py Improves transaction handling with fallback processing
extractor/debridge/handler.py Complete rewrite with Solana support and post-processing
extractor/debridge/constants.py Major expansion with new blockchain and program configurations
extractor/debridge/ABIs/polygon/*.json Adds polygon-specific ABI definitions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread generator/common/price_generator.py
Comment thread extractor/debridge/handler.py Outdated
Comment thread extractor/debridge/handler.py Outdated
Comment thread extractor/debridge/handler.py Outdated
Comment thread extractor/debridge/handler.py Outdated
Comment thread rpcs/rpc_client.py Outdated
@AndreAugusto11 AndreAugusto11 force-pushed the tx-input branch 2 times, most recently from fa6332f to 58fde16 Compare August 27, 2025 09:49
@AndreAugusto11 AndreAugusto11 force-pushed the tx-input branch 6 times, most recently from ea479d1 to a3cc9e8 Compare September 10, 2025 11:29
Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
@AndreAugusto11 AndreAugusto11 merged commit e32bef0 into main Sep 10, 2025
9 of 13 checks passed
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