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

Add block gas limit in each chain card #1510

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Setland34
Copy link

@Setland34 Setland34 commented Jan 29, 2025

Related to #1426

Add block gas limit display to each chain card.

  • components/chain/index.js

    • Add a new column in the chain card table to display the block gas limit.
    • Set the default value of the block gas limit to 'Unknown' if not available.
  • hooks/useRPCData.js

    • Modify the formatData function to include block gas limit in the returned data.
    • Add logic to extract block gas limit from the fetched data.

For more details, open the Copilot Workspace session.

Related to DefiLlama#1426

Add block gas limit display to each chain card.

* **components/chain/index.js**
  - Add a new column in the chain card table to display the block gas limit.
  - Set the default value of the block gas limit to 'Unknown' if not available.

* **hooks/useRPCData.js**
  - Modify the `formatData` function to include block gas limit in the returned data.
  - Add logic to extract block gas limit from the fetched data.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/DefiLlama/chainlist/issues/1426?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

vercel bot commented Jan 29, 2025

@Setland34 is attempting to deploy a commit to the Defillama Team Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant