⌘
K
🛠️
Welcome Zstake Service
◻️
0G Labs
◻️
XRPL EVM
◻️
Story Protocol
◻️
Soneium
◻️
GenLayer
◻️
Ping.Pub Explorer
◻️
Vana
Docs powered by
Archbee
Welcome Zstake Service
...
0G Labs
Validator
Validator Upgrade (v0.5.1)
Update suggestion gas price
🛞 Auto Upgrade (v0.5.1)
⌨️
1
source
<
(
curl
-
s https
:
/
/
raw
.
githubusercontent
.
com
/
zstake
-
xyz
/
test
/
refs
/
heads
/
main
/
Update_0gcahin_v0
.
5.1
.
sh
)
# Update
0
gchaind
source <(curl -s https://raw.githubusercontent.com/zstake-xyz/test/refs/heads/main/Update_0gcahin_v0.5.1.sh) # Update 0gchaind
🕹️ Manual Upgrade (v0.5.1)
⌨️
1
sudo systemctl stop
0
gd
2
sudo systemctl stop 0gd
Text
1
cd $HOME
2
git clone https
:
/
/
github
.
com
/
0
glabs
/
0
g
-
chain
.
git
3
cd
0
g
-
chain
4
git checkout
351
c2cb
cd $HOME git clone https://github.com/0glabs/0g-chain.git cd 0g-chain git checkout 351c2cb
Text
1
make install
make install
Text
1
sudo mv $HOME
/
go
/
bin
/
0
gchaind
/
usr
/
local
/
bin
/
0
gchaind
sudo mv $HOME/go/bin/0gchaind /usr/local/bin/0gchaind
Text
1
cd $HOME
/
go
/
bin
2
0
gchaind version
cd $HOME/go/bin 0gchaind version
Text
1
sudo systemctl restart
0
gd
sudo systemctl restart 0gd
Log Check
Text
1
tail
-
f
/
root
/
.0
gchain
/
log
/
chain
.
log
tail -f /root/.0gchain/log/chain.log
Block Sync Check
Text
1
0
gchaind status
--
home
/
.0
gchain
|
jq
'{ latest_block_height: .sync_info.latest_block_height, catching_up: .sync_info.catching_up }'
0gchaind status --home /.0gchain | jq '{ latest_block_height: .sync_info.latest_block_height, catching_up: .sync_info.catching_up }'
PREVIOUS
Validator
NEXT
0gchain Contract Deployment
Docs powered by
Archbee
Docs powered by
Archbee