feat: extend debridge to support solana (extraction + generation)#24
Merged
Conversation
There was a problem hiding this comment.
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.
fa6332f to
58fde16
Compare
ea479d1 to
a3cc9e8
Compare
Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
a3cc9e8 to
6205610
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.
No description provided.