Skip to content

Commit 9ca5bc4

Browse files
committed
feat: bump ere-guests to v0.13 and update docker example
1 parent e1e30ec commit 9ca5bc4

9 files changed

Lines changed: 20 additions & 26 deletions

File tree

Cargo.lock

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,16 @@ alloy-rpc-types-engine = "2"
8080
alloy-rpc-types-eth = "2"
8181

8282
# ere
83-
ere-platform-core = { git = "https://github.com/eth-act/ere", tag = "v0.13.0" }
8483
ere-server-client = { git = "https://github.com/eth-act/ere", tag = "v0.13.0" }
8584
ere-verifier = { git = "https://github.com/eth-act/ere", tag = "v0.13.0" }
8685
ere-catalog = { git = "https://github.com/eth-act/ere", tag = "v0.13.0" }
8786
ere-cluster-client-zisk = { git = "https://github.com/eth-act/ere", tag = "v0.13.0" }
8887
ere-verifier-zisk = { git = "https://github.com/eth-act/ere", tag = "v0.13.0" }
8988

9089
# ere-guests
91-
ere-guests-stateless-validator-common = { git = "https://github.com/eth-act/ere-guests", rev = "e7db7675a3d518a3de38283b02b906052cd0bf8c", features = ["host"], package = "stateless-validator-common" }
92-
ere-guests-stateless-validator-ethrex = { git = "https://github.com/eth-act/ere-guests", rev = "e7db7675a3d518a3de38283b02b906052cd0bf8c", features = ["host"], package = "stateless-validator-ethrex" }
93-
ere-guests-stateless-validator-reth = { git = "https://github.com/eth-act/ere-guests", rev = "e7db7675a3d518a3de38283b02b906052cd0bf8c", features = ["host"], package = "stateless-validator-reth" }
90+
ere-guests-stateless-validator-common = { git = "https://github.com/eth-act/ere-guests", tag = "v0.13.0", features = ["host"], package = "stateless-validator-common" }
91+
ere-guests-stateless-validator-ethrex = { git = "https://github.com/eth-act/ere-guests", tag = "v0.13.0", features = ["host"], package = "stateless-validator-ethrex" }
92+
ere-guests-stateless-validator-reth = { git = "https://github.com/eth-act/ere-guests", tag = "v0.13.0", features = ["host"], package = "stateless-validator-reth" }
9493

9594
# local
9695
zkboost-client = { path = "crates/client" }

crates/server/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ alloy-rpc-types-engine.workspace = true
6262
alloy-rpc-types-eth.workspace = true
6363

6464
# ere
65-
ere-platform-core.workspace = true
6665
ere-server-client.workspace = true
6766
ere-verifier.workspace = true
6867
ere-cluster-client-zisk.workspace = true

crates/server/src/proof/zkvm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::{ops::Deref, sync::Arc, time::Duration};
55

66
use anyhow::Context;
77
use ere_guests_stateless_validator_common::guest::StatelessValidationResult;
8-
use ere_platform_core::Platform;
8+
use ere_guests_stateless_validator_ethrex::guest::Platform;
99
use ere_server_client::{EncodedProof, Input, PublicValues, zkVMClient};
1010
use ere_verifier::Verifier;
1111
use rand::{Rng, rng};

docker/example/testnet/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
logs/
2-
config.toml

docker/example/testnet/docker-compose.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ services:
6262
- ./zkboost/config.toml:/app/config.toml:ro
6363
networks:
6464
- zkboost
65-
- kurtosis
65+
extra_hosts:
66+
- "host.docker.internal:host-gateway"
6667
environment:
6768
- RUST_LOG=info,zkboost=debug
6869
restart: unless-stopped
@@ -74,6 +75,3 @@ services:
7475
networks:
7576
zkboost:
7677
name: zkboost-local-testnet
77-
kurtosis:
78-
external: true
79-
name: kt-local-testnet

docker/example/testnet/network_params.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ spamoor_params:
3434
config:
3535
throughput: 1
3636

37+
port_publisher:
38+
el:
39+
enabled: true
40+
public_port_start: 32000
41+
cl:
42+
enabled: true
43+
public_port_start: 33000

docker/example/testnet/start_local_testnet.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,4 @@ fi
8787

8888
kurtosis run --enclave $ENCLAVE_NAME github.com/ethpandaops/ethereum-package@$ETHEREUM_PKG_VERSION --args-file $NETWORK_PARAMS_FILE
8989

90-
# Extract the EL container name and generate the zkboost config file.
91-
EL_NAME=el-1-reth-lighthouse
92-
EL_UUID=$(kurtosis enclave inspect "$ENCLAVE_NAME" --full-uuids | grep "$EL_NAME" | awk '{print $1}')
93-
EL_ENDPOINT="http://$EL_NAME--$EL_UUID:8545"
94-
sed "s|^el_endpoint =.*|el_endpoint = \"$EL_ENDPOINT\"|" "$SCRIPT_DIR/zkboost/config.toml.tmpl" > "$SCRIPT_DIR/zkboost/config.toml"
95-
echo "Generated zkboost/config.toml with EL endpoint: $EL_ENDPOINT"
96-
9790
echo "Started!"

docker/example/testnet/zkboost/config.toml.tmpl renamed to docker/example/testnet/zkboost/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
port = 3000
2-
el_endpoint =
2+
el_endpoint = "http://host.docker.internal:32003"
33

44
[dashboard]
55
enabled = true

0 commit comments

Comments
 (0)