-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 (#1511)
* Add block gas limit in each chain card Related to #1426 Add block gas limit display to each chain card. * Add a new state variable `blockGasLimit` with a default value of 'Unknown'. * Fetch the block gas limit data for each chain using the chain's RPC URL. * Update the table in the chain card to include a new column for the block gas limit. * Display the fetched block gas limit in the new column, or 'Unknown' if the data is not available. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/DefiLlama/chainlist/issues/1426?shareId=XXXX-XXXX-XXXX-XXXX). * Add a new table row to display the block gas limit with a tooltip * Import Tooltip component * Add a new table row for block gas limit with a tooltip to display the value * Set the default value of block gas limit to 'Hover to see' * show block gas limit on chain page --------- Co-authored-by: mintdart <[email protected]>
- Loading branch information
Showing
2 changed files
with
39 additions
and
7 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