-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 #1426
Comments
From X:
|
Setland34
added a commit
to Setland34/chainlist
that referenced
this issue
Jan 29, 2025
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).
Setland34
added a commit
to Setland34/chainlist
that referenced
this issue
Jan 29, 2025
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).
Setland34
added a commit
to Setland34/chainlist
that referenced
this issue
Jan 31, 2025
Related to DefiLlama#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).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'd be very helpful to display the block gas limit on each chain card.
Obtaining these values for each chain isn't easy, so the default value can be set to
Unknown
.The text was updated successfully, but these errors were encountered: