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: update history page for dencun #12438

Merged
merged 3 commits into from
Mar 13, 2024
Merged

feat: update history page for dencun #12438

merged 3 commits into from
Mar 13, 2024

Conversation

wackerow
Copy link
Member

@wackerow wackerow commented Mar 13, 2024

Description

  • Updates /history page with details from Dencun upgrade

Related Issue

Dencun updates

Copy link
Contributor

coderabbitai bot commented Mar 13, 2024

Walkthrough

The recent update involves a few notable adjustments to the network upgrade summary data. Specifically, the update has eliminated the isPending property, reflecting a shift in how upgrade statuses are tracked. Additionally, the ethPriceInUSD has been updated to $3984, indicating a change in Ethereum's market value. A new waybackLink URL has been introduced, ensuring historical data is more accurately referenced. Lastly, a blockNumber property has been added, enhancing the detail around specific network upgrades.

Changes

File Path Changes
.../NetworkUpgradeSummaryData.ts - Removed isPending property.
- Updated ethPriceInUSD to 3984.
- Updated waybackLink URL.
- Added blockNumber property.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

@github-actions github-actions bot added the content 🖋️ This involves copy additions or edits label Mar 13, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 218dad0 and 33121f3.
Files selected for processing (1)
  • src/data/NetworkUpgradeSummaryData.ts (1 hunks)
Check Runs (1)
label completed (2)
Additional comments: 4
src/data/NetworkUpgradeSummaryData.ts (4)
  • 6-6: The update to ethPriceInUSD for the Dencun upgrade to 3984 seems accurate and aligns with the PR's objective to keep the /history page current.
  • 7-8: The update to waybackLink for the Dencun upgrade seems appropriate. Please ensure the URL is accurate and leads to the intended historical snapshot.
  • 9-9: The addition of blockNumber for the Dencun upgrade enhances the completeness and relevance of the upgrade data.
  • 5-9: The removal of the isPending property, as mentioned in the summary, likely indicates the finalization of the Dencun upgrade. This change aligns with the objective to keep the /history page current.

Copy link

netlify bot commented Mar 13, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit e333c5f
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/65f1c17923a5fa0008696a16
😎 Deploy Preview https://deploy-preview-12438--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 33121f3 and d71f6e8.
Files selected for processing (1)
  • public/content/history/index.md (1 hunks)
Check Runs (1)
label completed (2)
Additional comments: 4
public/content/history/index.md (4)
  • 70-76: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [1-1]

The document starts with front matter metadata for the page. Ensure that the title, description, lang, and sidebarDepth accurately reflect the content and intended use of the page.

  • 73-73: The section header "Cancun-Deneb ('Dencun')" correctly combines the names of the execution and consensus upgrades, following the pattern established with "Shanghai-Capella ('Shapella')". This naming convention helps simplify references to these upgrades using a single term.
  • 70-76: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [80-81]

The mention of "Proto-Danksharding" introduces a significant upgrade aimed at improving scalability and reducing transaction fees for layer 2 rollups. It's crucial to ensure that the explanation is clear and that links to further reading are provided for users seeking more detailed information.

  • 70-76: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [96-98]

The links provided under the "Cancun summary" section offer valuable resources for readers interested in exploring layer 2 rollups, Proto-Danksharding, and Danksharding in more detail. It's important to verify that these links are up-to-date and lead to relevant and accurate information.

Verification successful

The verification process confirms that the external links mentioned in the document are valid. The first link (https://eips.ethereum.org/EIPS/eip-4844) directly leads to the intended resource, indicating its validity with a 200 HTTP status code. The other three links are redirected to new URLs, as indicated by the 301 HTTP status codes, but remain accessible. This suggests that while the links have been moved, they are not broken, and efforts have been made to maintain access to the relevant information. Therefore, the links provided under the "Cancun summary" section are up-to-date in terms of accessibility.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Verify the validity of external links mentioned in the document.
curl --head https://eips.ethereum.org/EIPS/eip-4844
curl --head https://ethereum.org/layer-2/
curl --head https://ethereum.org/roadmap/scaling/#proto-danksharding
curl --head https://ethereum.org/roadmap/danksharding/

Length of output: 2746

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 5

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between d71f6e8 and e333c5f.
Files selected for processing (1)
  • public/content/history/index.md (3 hunks)
Check Runs (1)
label completed (2)
Additional comments: 3
public/content/history/index.md (3)
  • 35-35: The spelling of "Cancun" has been corrected from "Cancun" to "Cancun". This change improves the consistency and accuracy of the document.
  • 73-73: The section header "Cancun-Deneb" has been updated in the 2024 section. This change aligns with the objective to provide updated and accurate information regarding the Dencun upgrade.
  • 32-38: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [10-10]

Consider revising "What are forks?" to avoid potential spelling or grammatical issues. While the context seems correct, ensuring clarity and precision in definitions can enhance understanding for readers.

Comment on lines 32 to 38
| Berlin | 2015 | 0 | Apr 15, 2021 |
| London | 2016 | I | Aug 5, 2021 |
| Shanghai | 2017 | II | Apr 12, 2023 |
| **_Cancun_** | 2018 | III | Mar 13, 2024 |
| **Cancun** | 2018 | III | Mar 13, 2024 |
| _Prague_ | 2019 | IV | TBD |
| _Osaka_ | 2020 | V | TBD |
| _Bogota_ | 2022 | VI | TBD |
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [1-1]

The YAML front matter at the beginning of the file should start with an uppercase letter for consistency and proper Markdown formatting.

- title: History and Forks of Ethereum
+ Title: History and Forks of Ethereum

📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [16-16]

The term "centrally-controlled" does not require a hyphen when the first word ends in 'ly'. Consider revising for grammatical accuracy.

- centrally-controlled software
+ centrally controlled software

📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [18-18]

There's a potential missing comma after "unison" which could improve the readability of the sentence.

- changes in unison and the fork
+ changes in unison, and the fork

📝 NOTE
This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [28-39]

The repeated whitespace in the table listing the upgrade names, years, and dates should be removed for cleaner Markdown formatting.

- | Berlin       | 2015        | 0             | Apr 15, 2021 |
+ | Berlin | 2015 | 0 | Apr 15, 2021 |
- | London       | 2016        | I             | Aug 5, 2021  |
+ | London | 2016 | I | Aug 5, 2021 |
- | Shanghai     | 2017        | II            | Apr 12, 2023 |
+ | Shanghai | 2017 | II | Apr 12, 2023 |
- | **Cancun**   | 2018        | III           | Mar 13, 2024 |
+ | **Cancun** | 2018 | III | Mar 13, 2024 |
- | _Prague_     | 2019        | IV            | TBD          |
+ | _Prague_ | 2019 | IV | TBD |
- | _Osaka_      | 2020        | V             | TBD          |
+ | _Osaka_ | 2020 | V | TBD |
- | _Bogota_     | 2022        | VI            | TBD          |
+ | _Bogota_ | 2022 | VI | TBD |
- | _Bangkok_    | 2024        | VII           | TBD          |
+ | _Bangkok_ | 2024 | VII | TBD |

Note: Apply this change to all instances of repeated whitespace in the table.

@@ -32,7 +32,7 @@
| Berlin | 2015 | 0 | Apr 15, 2021 |
| London | 2016 | I | Aug 5, 2021 |
| Shanghai | 2017 | II | Apr 12, 2023 |
| **_Cancun_** | 2018 | III | Mar 13, 2024 |
| **Cancun** | 2018 | III | Mar 13, 2024 |
| _Prague_ | 2019 | IV | TBD |
| _Osaka_ | 2020 | V | TBD |
| _Bogota_ | 2022 | VI | TBD |
Copy link
Contributor

Choose a reason for hiding this comment

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

The city name "Bogota" should include the diacritic mark for accuracy. It's spelled as "Bogotá".

- | _Bogota_     | 2022        | VI            | TBD          |
+ | _Bogotá_     | 2022        | VI            | TBD          |

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
| _Bogota_ | 2022 | VI | TBD |
| _Bogotá_ | 2022 | VI | TBD |

@corwintines corwintines merged commit 432cc86 into dev Mar 13, 2024
6 checks passed
@corwintines corwintines deleted the history-update branch March 13, 2024 17:36
@corwintines corwintines restored the history-update branch March 13, 2024 17:37
@corwintines corwintines deleted the history-update branch March 13, 2024 17:38
This was referenced Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants