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

Fix gnosis blockscout #621

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Fix gnosis blockscout #621

merged 1 commit into from
Sep 7, 2023

Conversation

moisses89
Copy link
Member

@moisses89 moisses89 commented Sep 7, 2023

Bug description

The blockscout client was guessing that every blockscout api in every network had the same path /graphiql.
Currently gnosis chain blockscout explorer api changed the path to /api/v1/graphql that was causing the error.

How was fixed

This PR aims is mantain the compatibility to every chain that the old approach works at the same time that fix the path changes, to get this, the PR removes the common path append and configure every url with full path.

Removed broken urls

https://polygon-explorer-mainnet.chainstacklabs.com/
https://polygon-explorer-mumbai.chainstacklabs.com/
https://blockexplorer.bobabeam.boba.network/
https://blockexplorer.rinkeby.boba.network/
https://stardust-explorer.metis.io/
https://blockscout.mandala.acala.network/
https://rabbit.analogscan.com/

@moisses89 moisses89 requested a review from a team as a code owner September 7, 2023 10:38
@moisses89 moisses89 requested review from fmrsabino, Uxio0 and hectorgomezv and removed request for a team September 7, 2023 10:38
@Uxio0 Uxio0 merged commit 98aeafb into master Sep 7, 2023
7 checks passed
@Uxio0 Uxio0 deleted the fix_blockscout branch September 7, 2023 14:42
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants