Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bridge_getTokenMappings endpoint #191

Merged
merged 29 commits into from
Feb 19, 2025

Conversation

Stefan-Ethernal
Copy link
Contributor

@Stefan-Ethernal Stefan-Ethernal commented Feb 7, 2025

Description

Expose the JSON RPC endpoint to retrieve the token mappings (bridge_getTokenMappings). It relies on indexing the NewWrappedToken event from the bridge contract, which is captured in the local SQL lite db.

The bridge_getTokenMappings provides the paginated token mapping results.

Fixes #190

@Stefan-Ethernal Stefan-Ethernal force-pushed the feat/token-mappings-endpoint branch 2 times, most recently from 2b29cbf to 01eccc7 Compare February 12, 2025 08:08
@Stefan-Ethernal Stefan-Ethernal self-assigned this Feb 12, 2025
@Stefan-Ethernal Stefan-Ethernal marked this pull request as ready for review February 13, 2025 08:36
@Stefan-Ethernal Stefan-Ethernal added this to the AggKit - v0.1.0 milestone Feb 13, 2025
@Stefan-Ethernal Stefan-Ethernal force-pushed the feat/token-mappings-endpoint branch from 41a8aab to 395c17f Compare February 13, 2025 10:16
@Stefan-Ethernal Stefan-Ethernal removed this from the AggKit - v0.1.0 milestone Feb 13, 2025
@Stefan-Ethernal Stefan-Ethernal linked an issue Feb 15, 2025 that may be closed by this pull request
@Stefan-Ethernal Stefan-Ethernal force-pushed the feat/token-mappings-endpoint branch from 0c3ef52 to e38bde9 Compare February 18, 2025 09:26
@Stefan-Ethernal Stefan-Ethernal changed the base branch from develop to feat/new-bridge-service February 18, 2025 11:06
Copy link
Contributor

@temaniarpit27 temaniarpit27 left a comment

Choose a reason for hiding this comment

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

LGTM

@Stefan-Ethernal Stefan-Ethernal force-pushed the feat/token-mappings-endpoint branch from db932df to cb31b2e Compare February 18, 2025 14:30
@Stefan-Ethernal Stefan-Ethernal force-pushed the feat/token-mappings-endpoint branch from cb31b2e to 9c0fce2 Compare February 19, 2025 14:17
@Stefan-Ethernal Stefan-Ethernal merged commit ee07ffc into feat/new-bridge-service Feb 19, 2025
6 checks passed
@Stefan-Ethernal Stefan-Ethernal deleted the feat/token-mappings-endpoint branch February 19, 2025 14:55
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
79.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide bridge_getTokenMappings endpoint
3 participants