-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrade kroma mainnet and kroma sepolia to v1.3.3 (#32)
- Loading branch information
Showing
4 changed files
with
54 additions
and
6 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
CHAIN_ID=255 | ||
BOOT_NODES=${KROMA_GETH__BOOT_NODES} | ||
GETH_MINER_RECOMMIT=100ms |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Kroma `v1.3.3` Upgrade Instructions | ||
|
||
This document provides instructions to upgrade from Kroma `v1.3.1` to `v1.3.3`. | ||
**No changes in flags have been made on this release, so you can simply change the tag for upgrade.** | ||
For more details about `v1.3.3`, please refer the [release note](https://github.com/kroma-network/kroma/releases/tag/v1.3.3). | ||
This upgrade mainly includes activation of fixed `KromaZKTrie` for better performance in terms of block processing. | ||
|
||
## Guides for upgrade | ||
|
||
### Stop Kroma | ||
|
||
For upgrade, stop your Kroma full node or validator. | ||
```bash | ||
# for full node | ||
docker compose --profile fullnode down | ||
|
||
# for validator | ||
docker compose --profile validator down | ||
``` | ||
|
||
### Common | ||
|
||
You need to update your `.env` file. | ||
|
||
First, update the tag of `kroma-node` and `kroma-validator` docker image. | ||
``` | ||
IMAGE_TAG__KROMA_GETH=v0.4.5 | ||
IMAGE_TAG__KROMA_NODE=v1.3.3 | ||
IMAGE_TAG__KROMA_VALIDATOR=v1.3.3 | ||
``` | ||
|
||
Also, a field is added to `geth.env`. Please make sure your `geth.eng` has the following field. | ||
``` | ||
GETH_MINER_RECOMMIT=100ms | ||
``` | ||
|
||
### Start Kroma | ||
|
||
You can now start Kroma full node or validator with a new version. | ||
|
||
```bash | ||
# for full node | ||
docker compose --profile fullnode up -d | ||
|
||
# for validator | ||
docker compose --profile validator up -d | ||
``` |