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(ref): added rpc-parser component to linea ref pages #1598

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

TrofimovAnton85
Copy link
Collaborator

@TrofimovAnton85 TrofimovAnton85 commented Oct 3, 2024

Description

  • Added ParserOpenRPC component for Linea reference pages services/reference/linea/json-rpc-methods ( /eth_accounts , /eth_blocknumber , /eth_chainid , /eth_gasprice , /eth_maxpriorityfeepergas , /eth_syncing )

Test

  • Go to pages and check the display of the new layout (content part / interactive part)
  • To test the content => compare the content on the page with the corresponding method in the source JSON-RPC (https://sot-network-methods.vercel.app/specs/linea)
  • To test the interactive part (send request):
    • need logged in to the test env https://infura-app-staging.vercel.app/ and that you have the Linea-mainnet network enabled
    • connect from reference page & check that your API key is displayed correctly

Screenshot 2024-10-01 at 13 29 17

Copy link

vercel bot commented Oct 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
metamask-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 9:25am

Copy link
Contributor

@m4sterbunny m4sterbunny left a comment

Choose a reason for hiding this comment

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

AFAIK, the reason that the Vercel build results in unsuccessful CURL requests is that the URL is updated to dev
mainnet.infura becomes mainnet.dev.infura --> I think this is causing the difference in behavior between Vercel build and local build @TrofimovAnton85

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.

4 participants