Skip to content

Commit

Permalink
hawaii fork impacts description (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarianShawn authored Nov 2, 2023
1 parent 6fcaf4d commit c4b7b1c
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions docs/get-started/hawaii-hard-fork.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,28 @@ It's more EVM compatible, and will no longer cause various strange EVM executing

Your dAPP might not perfectly work on it due to different RPC and EVM behavior, so try to test your dAPP on Testnet (Upgrading) or Devnet (Already upgraded), please.

Here comes the upgrade guide:
## Upgrade guide

* [Download the Dogechain V2 Snapshots](https://github.com/dogechain-lab/dogechain-snapshots) and unzip it.
* The snapshot zstd file is huge (**1.8TiB**), you'd better download it to an **at least 5TiB** driver.
* Run your own [Full Node](./full-node-deployment) or [Archive Node](./run-archive-node) if you wish to.
* "full" and "archive" `gcmode` behave exactly like `geth`.
* `genesis.json` is provided on [this section](./full-node-deployment#copy-genesisjson-to-etc-directory). You should switch `genesis.json` during `Hawaii Fork`.
* The `genesis-before-hawaii.json` and `genesis-after-hawaii.json` are provided on [this section](./full-node-deployment#copy-genesisjson-to-etc-directory). You should switch `genesis.json` during `Hawaii Fork`.
* Systemd-supervised service configuration is provided on [this section](./full-node-deployment#create-systemd-service), so as the bootnodes info.
* We'll provide new `genesis.json` and much leaper pruned `snapshot` file after `Hawaii Fork`.
* We'll provide much leaper pruned `snapshot` file after `Hawaii Fork`.

## Impacts

* Offline signature sdk
* Transaction needs to be signed with chain id.
* You might need to adjust your priority fee to at least 250GWei to make sure it won't failed when calling method without visiting `eth_gasPrice`.

* RPC interface
* Much of it is the same as before and is compatible with the Ethereum RPC API.

* Transaction fees
* Berlin fork is enabled, so it should be a little cheaper to visit already acceessed storage.

## Contributions

Contact us by [GitHub issue](https://github.com/dogechain-lab/dbsc/issues) if you got any technical problem before and after the hard fork.

0 comments on commit c4b7b1c

Please sign in to comment.