Skip to content

Commit

Permalink
docs: add announcement for BC mainnet second sunset hardfork (bnb-cha…
Browse files Browse the repository at this point in the history
…in#372)

* docs: add announcment for BC mainnet second sunset hardfork

* mark finished upgrades
  • Loading branch information
forcodedancing authored Jun 27, 2024
1 parent 4b6f358 commit 51c3e1e
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 30 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ site/
.cache

.DS_Store

build

.docusaurus
33 changes: 6 additions & 27 deletions docs/announce/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,18 @@
# Announcement

<div class="doc-announce">
<a href="./haber-bsc">
<div>
<div class="announce-title">BSC Harber Hardfork</div>
<div class="announce-desc">Enable EIP7212 to support precompiled secp256r1 curve on BSC</div>
</div>
<span class="announce-date">2024 May 24</span>
</a>
<a href="./haber-opbnb">
<div>
<div class="announce-title">opBNB Harber Hardfork</div>
<div class="announce-desc">Enable EIP7212 to support precompiled secp256r1 curve on opBNB</div>
</div>
<span class="announce-date">2024 May 24</span>
</a>
<a href="./second-sunset-bc-testnet/">
<div>
<div class="announce-title">BC Second Sunset Hardfork (Testnet) </div>
<div class="announce-desc">Enable Second Sunset Hardfork on BC testnet</div>
</div>
<span class="announce-date">2024 May 21</span>
</a>
<a href="./veld-greenfield/">
<div>
<div class="announce-title">Greenfield Veld Hardfork (Testnet) </div>
<div class="announce-desc">Bugfixing on Greenfield Testnet</div>
<div class="announce-title">Greenfield Veld Hardfork</div>
<div class="announce-desc">Bugfixing on Greenfield</div>
</div>
<span class="announce-date">2024 May 25</span>
</a>
<a href="./veld-greenfield/">
<a href="./second-sunset-bc/">
<div>
<div class="announce-title">Greenfield Veld Hardfork (Mainnet) </div>
<div class="announce-desc">Bugfixing on Greenfield Mainnet</div>
<div class="announce-title">BC Second Sunset Hardfork</div>
<div class="announce-desc">Enable Second Sunset Hardfork on BC</div>
</div>
<span class="announce-date">2024 June 08</span>
<span class="announce-date">2024 June 26</span>
</a>
</div>
43 changes: 43 additions & 0 deletions docs/announce/second-sunset-bc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Second Sunset Hardfork of BC

<div class="doc-announce-info">
<span class="version-tag">Hardfork</span>
</div>

## Upgrade Timeline

The Second Sunset Hardfork will happen at:

- Mainnet: July 14 2024 6:00:00 AM UTC

## Upgrade to BC Node v0.10.22 Before Hardfork

BC node need to be upgraded before the hardfork time.

- https://github.com/bnb-chain/node/releases/tag/v0.10.22

### Upgrade Instructions

As a fullnode runner, you need to take the following steps before the hardfork block height.

1) Download the new v0.10.22 binary and replace the previous version.

2) Download the new config
file [app.toml](https://github.com/bnb-chain/node/releases/download/v0.10.22/mainnet_config.zip) to replace the
previous version or add the following under the [upgrade] module of `app.toml`.

```toml
SecondSunsetHeight = 378062790
```

3) Stop the bnbchaind process and restart it with v0.10.22.

```shell
service bnbchaind restart
```

## Key Highlight

All TimeLocks and AtomicSwaps on BC tesnet will automatically be refunded to user accounts.
All the BSC delegations will be automatically undelegated and refunded to user accounts after the unbonding period.
For more information about BNB Chain Fusion, please refer to [this](https://www.bnbchain.org/en/bnb-chain-fusion).
7 changes: 4 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ nav:
- Announcements:
- Announcements: ./announce/index.md
- Upcoming:
- Haber Hardfork(BSC): ./announce/haber-bsc.md
- Haber Hardfork(opBNB): ./announce/haber-opbnb.md
- Second Sunset Hardfork(BC testnet): ./announce/second-sunset-bc-testnet.md
- Veld Hardfork(Greenfield): ./announce/veld-greenfield.md
- Second Sunset Hardfork(BC): ./announce/second-sunset-bc.md
- Passed:
- Feynman Hardfork(BSC): ./announce/feynman-bsc.md
- Erdos Hardfork(Greenfield): ./announce/erdos-greenfield.md
- Haber Hardfork(BSC): ./announce/haber-bsc.md
- Haber Hardfork(opBNB): ./announce/haber-opbnb.md
- Second Sunset Hardfork(BC testnet): ./announce/second-sunset-bc-testnet.md

- BNB Chain Fusion:
- BNB Chain Fusion: ./bc-fusion/index.md
Expand Down

0 comments on commit 51c3e1e

Please sign in to comment.