Skip to content

Commit 9e0f7b4

Browse files
authored
feat: upgrade kroma v2.1.2 and geth v0.6.3 (#63)
1 parent f1fa174 commit 9e0f7b4

File tree

3 files changed

+60
-6
lines changed

3 files changed

+60
-6
lines changed

.env.mainnet

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Network to run the node on ("mainnet")
22
NETWORK_NAME=mainnet
33

4-
IMAGE_TAG__KROMA_GETH=v0.6.1
5-
IMAGE_TAG__KROMA_NODE=v2.1.1
6-
IMAGE_TAG__KROMA_VALIDATOR=v2.1.1
4+
IMAGE_TAG__KROMA_GETH=v0.6.3
5+
IMAGE_TAG__KROMA_NODE=v2.1.2
6+
IMAGE_TAG__KROMA_VALIDATOR=v2.1.2
77
IMAGE_TAG__KROMA_ZKEVM_PROVER_PROXY=v0.1.3
88
IMAGE_TAG__KROMA_ZKEVM_PROVER=v0.1.6
99
IMAGE_TAG__SP1_WITNESS_GEN=v1.1.0

.env.sepolia

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Network to run the node on ("sepolia")
22
NETWORK_NAME=sepolia
33

4-
IMAGE_TAG__KROMA_GETH=v0.6.0
5-
IMAGE_TAG__KROMA_NODE=v2.1.0
6-
IMAGE_TAG__KROMA_VALIDATOR=v2.1.0
4+
IMAGE_TAG__KROMA_GETH=v0.6.3
5+
IMAGE_TAG__KROMA_NODE=v2.1.2
6+
IMAGE_TAG__KROMA_VALIDATOR=v2.1.2
77
IMAGE_TAG__KROMA_ZKEVM_PROVER_PROXY=v0.1.3
88
IMAGE_TAG__KROMA_ZKEVM_PROVER=v0.1.6
99
IMAGE_TAG__SP1_WITNESS_GEN=v1.0

upgrades/v2.1.2+geth.v0.6.3.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Kroma `v2.1.2+geth.v0.6.3` Upgrade Instructions
2+
3+
This document provides instructions to upgrade from Kroma `v2.1.2+geth.v0.6.3` to `v2.1.2+geth.v0.6.3`.
4+
For more details about `v2.1.2+geth.v0.6.3`, please refer the [Kroma release note](https://github.com/kroma-network/kroma/releases/tag/v2.1.2) and [Kroma-geth release note](https://github.com/kroma-network/go-ethereum/releases/tag/v0.6.3).
5+
6+
This upgrade is for supporting the L1 Pectra upgrade, enabling L2 to read and process L1 blocks.
7+
8+
## Guides for upgrade
9+
10+
### Pull the latest version of kroma-up
11+
12+
First of all, pull the latest kroma-up and checkout to `v2.1.2+geth.v0.6.3`.
13+
14+
```bash
15+
git fetch origin
16+
git pull origin main
17+
git checkout tags/v2.1.2+geth.v0.6.3
18+
```
19+
20+
### Stop Kroma
21+
22+
For upgrade, stop your Kroma full node or validator.
23+
24+
```bash
25+
# for full node
26+
docker compose -f docker-compose-<network>.yml --profile fullnode down
27+
28+
# for validator
29+
docker compose -f docker-compose-<network>.yml --profile validator down
30+
```
31+
32+
### Common
33+
34+
You need to update your `.env` file.
35+
36+
First, update the docker image tag of `kroma-geth`, `kroma-node` and `kroma-validator`.
37+
38+
```text
39+
IMAGE_TAG__KROMA_GETH=v0.6.3
40+
IMAGE_TAG__KROMA_NODE=v2.1.2
41+
IMAGE_TAG__KROMA_VALIDATOR=v2.1.2
42+
```
43+
44+
### Start Kroma
45+
46+
You can now start Kroma full node or validator node with a new version.
47+
48+
```bash
49+
# for full node
50+
docker compose -f docker-compose-<network>.yml --profile fullnode up -d
51+
52+
# for validator
53+
docker compose -f docker-compose-<network>.yml --profile validator up -d
54+
```

0 commit comments

Comments
 (0)