diff --git a/GUIDE.md b/GUIDE.md index 81be1c28..a6fdb3d8 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -8,9 +8,9 @@ For a detailed explanation for es-node please consult the [README](/README.md). ## Testnet spec -- Layer 1: [Goerli](https://goerli.net/) +- Layer 1: Sepolia testnet - storage-contracts-v1: v0.1.0 -- es-node: v0.1.5 +- es-node: v0.1.6 ## Minimum Hardware Requirements @@ -29,7 +29,7 @@ _Note: The steps assume the use of the root user for all command line operations It is recommended to prepare two Ethereum accounts specifically for this test. One of these accounts should contain a balance of test ETH to be used as a transaction signer. -The test ETH can be requested from [https://goerlifaucet.com/](https://goerlifaucet.com/). +The test ETH can be requested from [https://sepoliafaucet.com/](https://sepoliafaucet.com/). Remember to use the signer's private key (with ETH balance) to replace `` in the following steps. And use the other address to replace ``. @@ -51,19 +51,19 @@ Download the pre-built package suitable for your platform: Linux x86-64 or AMD64: ```sh -curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.5/es-node.v0.1.5.linux-amd64.tar.gz | tar -xz +curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.6/es-node.v0.1.6.linux-amd64.tar.gz | tar -xz ``` MacOS x86-64 or AMD64: ```sh -curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.5/es-node.v0.1.5.darwin-amd64.tar.gz | tar -xz +curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.6/es-node.v0.1.6.darwin-amd64.tar.gz | tar -xz ``` MacOS ARM64: ```sh -curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.5/es-node.v0.1.5.darwin-arm64.tar.gz | tar -xz +curl -L https://github.com/ethstorage/es-node/releases/download/v0.1.6/es-node.v0.1.6.darwin-arm64.tar.gz | tar -xz ``` Run es-node ``` -cd es-node.v0.1.5 +cd es-node.v0.1.6 env ES_NODE_STORAGE_MINER= ES_NODE_SIGNER_PRIVATE_KEY= ./run.sh ``` @@ -79,7 +79,7 @@ docker run --name es -d \ -p 9222:9222 \ -p 30305:30305/udp \ --entrypoint /es-node/run.sh \ - ghcr.io/ethstorage/es-node:v0.1.5 + ghcr.io/ethstorage/es-node:v0.1.6 ``` You can check docker logs using the following command: @@ -94,7 +94,7 @@ Download source code and switch to the latest release branch: ```sh git clone https://github.com/ethstorage/es-node.git cd es-node -git checkout v0.1.5 +git checkout v0.1.6 ``` Build es-node: ```sh @@ -109,7 +109,7 @@ chmod +x run.sh && env ES_NODE_STORAGE_MINER= ES_NODE_SIGNER_PRIVATE_KEY= With source code, you also have the option to build a Docker image by yourself and run an es-node container: ```sh -env ES_NODE_STORAGE_MINER= ES_NODE_SIGNER_PRIVATE_KEY= docker compose up +env ES_NODE_STORAGE_MINER= ES_NODE_SIGNER_PRIVATE_KEY= docker-compose up ``` If you want to run Docker container in the background and keep all the logs: ```sh diff --git a/cmd/es-node/main.go b/cmd/es-node/main.go index e6421aeb..8dc63e29 100644 --- a/cmd/es-node/main.go +++ b/cmd/es-node/main.go @@ -30,7 +30,7 @@ import ( var ( GitCommit = "" GitDate = "" - Version = "v0.1.5" + Version = "v0.1.6" Meta = "dev" BuildTime = "" systemVersion = fmt.Sprintf("%s/%s", runtime.GOARCH, runtime.GOOS) diff --git a/run-rpc.sh b/run-rpc.sh index afccfb99..660afb62 100755 --- a/run-rpc.sh +++ b/run-rpc.sh @@ -8,8 +8,8 @@ data_dir="./es-data" storage_file_0="$data_dir/shard-0.dat" common_flags=" --datadir $data_dir \ - --l1.rpc https://tame-wild-liquid.ethereum-goerli.quiknode.pro/4ae31eb78cb83cafc31140a8acc0841ea197a668 \ - --storage.l1contract 0xc6F300f3F60a5822fd56f6589077Cb2D409ca52e" + --l1.rpc https://polished-silent-market.ethereum-sepolia.quiknode.pro/3b74a592be57773068d83f931dd98af8cbc1e9ca \ + --storage.l1contract 0x804C520d3c084C805E37A35E90057Ac32831F96f \ # init shard 0 es_node_init="init --shard_index 0" @@ -18,13 +18,13 @@ es_node_init="init --shard_index 0" # TODO remove --network es_node_start=" --network devnet \ --storage.files $storage_file_0 \ - --l1.beacon https://tame-wild-liquid.ethereum-goerli.quiknode.pro/4ae31eb78cb83cafc31140a8acc0841ea197a668 \ - --l1.beacon-based-time 1705546368 \ - --l1.beacon-based-slot 7419864 \ + --l1.beacon https://polished-silent-market.ethereum-sepolia.quiknode.pro/3b74a592be57773068d83f931dd98af8cbc1e9ca \ + --l1.beacon-based-time 1706684472 \ + --l1.beacon-based-slot 4245906 \ --p2p.max.request.size 4194304 \ --p2p.listen.udp 30305 \ --p2p.sync.concurrency 32 \ - --p2p.bootnodes enr:-Li4QDqL8nUyes92JnNMpXPSeDUlF9rKt1VXiLwdSNg95OdfDK6g0wxt3fpjPfqeiZoblXhFIZQlyyjkbLWL07i_XE-GAY0we7KPimV0aHN0b3JhZ2XbAYDY15TG8wDz9gpYIv1W9liQd8stQJylLsGAgmlkgnY0gmlwhEFtMpGJc2VjcDI1NmsxoQNIbl6CN0q_OiHTc2qON3rAtJwpJh7TByr4tVKp7zHgW4N0Y3CCJAaDdWRwgnZh \ + --p2p.bootnodes enr:-Li4QFpDtIlnf02Bli8jnZEkVAFyWkOOtaUZL7yKp3ySKmhGNiqRSe4AuUcFip3F4o_YLh30HJUg2UlcmIxx5W-fsK2GAY1eoPcdimV0aHN0b3JhZ2XbAYDY15SATFINPAhMgF43o16QBXrDKDH5b8GAgmlkgnY0gmlwhEFtMpGJc2VjcDI1NmsxoQL0mXwUXANkLHIAjN23dPfnOOhu-jhFUN13jcjHWeIP04N0Y3CCJAaDdWRwgnZh \ " # create data file for shard 0 if not yet if [ ! -e $storage_file_0 ]; then