From 3071c4260fffe3380293901e371af8532414524b Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Wed, 22 May 2024 00:46:55 +0800 Subject: [PATCH] Update 0g.sh --- 0g.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/0g.sh b/0g.sh index 2758007..b1b2af3 100644 --- a/0g.sh +++ b/0g.sh @@ -223,7 +223,8 @@ cd run read -p "请输入你想导入的EVM钱包私钥,不要有0x: " minerkey sed -i "s/miner_key = \"\"/miner_key = \"$minerkey\"/" config.toml -sed -i 's|blockchain_rpc_endpoint = "https://rpc-testnet.0g.ai"|blockchain_rpc_endpoint = "https://0g-evm-rpc.stakeme.pro"|g' config.toml +sed -i 's|blockchain_rpc_endpoint = "https://rpc-testnet.0g.ai"|blockchain_rpc_endpoint = "https://evm-rpc-0gchain.dadunode.com"|g' config.toml +sed -i 's/log_sync_start_block_number = 80981/log_sync_start_block_number = 223989/' config.toml screen -dmS zgs_node_session ../target/release/zgs_node --config config.toml