forked from DefiLlama/chainlist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add block gas limit in each chain card
Related to DefiLlama#1426 Add block gas limit display to each chain card. * Modify `components/chain/index.js` to include a new row in the table for displaying the block gas limit, with a default value of 'Unknown' if not available. * Update `hooks/useRPCData.js` to fetch the block gas limit and include it in the formatted data. * Change `stores/index.js` to manage the block gas limit state, adding a new state variable and updating the `updateChain` function to include the block gas limit. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/DefiLlama/chainlist/issues/1426?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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