Skip to content

Commit e546cfd

Browse files
committed
chore: update ethereum package config
1 parent 38ff857 commit e546cfd

8 files changed

Lines changed: 42 additions & 23 deletions

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,7 @@ ethereum_package_inspect: ## Prints detailed information about the net
13191319

13201320
ethereum_package_rm: ## Stops and removes the ethereum_package environment and used resources
13211321
kurtosis enclave rm aligned -f
1322+
kurtosis engine stop
13221323

13231324
batcher_start_ethereum_package: user_fund_payment_service
13241325
@echo "Starting Batcher..."
@@ -1329,11 +1330,11 @@ aggregator_start_ethereum_package:
13291330
$(MAKE) aggregator_start AGG_CONFIG_FILE=config-files/config-aggregator-ethereum-package.yaml
13301331

13311332
operator_start_ethereum_package:
1332-
$(MAKE) operator_start OPERATOR_ADDRESS=0x70997970C51812dc3A010C7d01b50e0d17dc79C8 CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml
1333+
$(MAKE) operator_start ENVIRONMENT=devnet OPERATOR_ADDRESS=0x70997970C51812dc3A010C7d01b50e0d17dc79C8 CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml
13331334

13341335
operator_register_start_ethereum_package:
1335-
$(MAKE) operator_full_registration OPERATOR_ADDRESS=0x70997970C51812dc3A010C7d01b50e0d17dc79C8 CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml \
1336-
$(MAKE) operator_start OPERATOR_ADDRESS=0x70997970C51812dc3A010C7d01b50e0d17dc79C8 CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml
1336+
$(MAKE) operator_full_registration OPERATOR_ADDRESS=0x70997970C51812dc3A010C7d01b50e0d17dc79C8 CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml
1337+
$(MAKE) operator_start ENVIRONMENT=devnet OPERATOR_ADDRESS=0x70997970C51812dc3A010C7d01b50e0d17dc79C8 CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml
13371338

13381339

13391340
install_spamoor: ## Instal spamoor to spam transactions

config-files/config-aggregator-ethereum-package.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ environment: "production"
44
aligned_layer_deployment_config_file_path: "./contracts/script/output/devnet/alignedlayer_deployment_output.json"
55
eigen_layer_deployment_config_file_path: "./contracts/script/output/devnet/eigenlayer_deployment_output.json"
66
eth_rpc_url: "http://localhost:8545"
7-
eth_rpc_url_fallback: "http://localhost:8550"
7+
eth_rpc_url_fallback: "http://localhost:8551"
88
eth_ws_url: "ws://localhost:8546"
9-
eth_ws_url_fallback: "ws://localhost:8551"
9+
eth_ws_url_fallback: "ws://localhost:8552"
1010
eigen_metrics_ip_port_address: "localhost:9090"
1111

1212
## ECDSA Configurations

config-files/config-batcher-ethereum-package.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ environment: "production"
44
aligned_layer_deployment_config_file_path: "./contracts/script/output/devnet/alignedlayer_deployment_output.json"
55
eigen_layer_deployment_config_file_path: "./contracts/script/output/devnet/eigenlayer_deployment_output.json"
66
eth_rpc_url: "http://localhost:8545"
7-
eth_rpc_url_fallback: "http://localhost:8550"
7+
eth_rpc_url_fallback: "http://localhost:8551"
88
eth_ws_url: "ws://localhost:8546"
9-
eth_ws_url_fallback: "ws://localhost:8551"
9+
eth_ws_url_fallback: "ws://localhost:8552"
1010
eigen_metrics_ip_port_address: "localhost:9090"
1111

1212
## ECDSA Configurations

config-files/config-operator-1-ethereum-package.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
environment: 'development'
44
aligned_layer_deployment_config_file_path: './contracts/script/output/devnet/alignedlayer_deployment_output.json'
55
eigen_layer_deployment_config_file_path: './contracts/script/output/devnet/eigenlayer_deployment_output.json'
6-
eth_rpc_url: 'http://localhost:8545'
7-
eth_rpc_url_fallback: 'http://localhost:8550'
8-
eth_ws_url: 'ws://localhost:8546'
9-
eth_ws_url_fallback: 'ws://localhost:8551'
6+
eth_rpc_url: "http://localhost:8545"
7+
eth_rpc_url_fallback: "http://localhost:8551"
8+
eth_ws_url: "ws://localhost:8546"
9+
eth_ws_url_fallback: "ws://localhost:8552"
1010
eigen_metrics_ip_port_address: 'localhost:9090'
1111

1212
## ECDSA Configurations

network_params.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
participants:
2-
- el_type: geth
2+
- el_type: reth
33
cl_type: lighthouse
44
count: 2
55
validator_count: 32
66

77
ethereum_metrics_exporter_enabled: true
88

99
additional_services:
10-
- assertoor
10+
- blockscout
1111
- dora
12+
- assertoor
1213
- prometheus_grafana
1314

1415
port_publisher:
1516
el:
1617
enabled: true
17-
public_port_start: 8543
18+
public_port_start: 8542
1819

1920
ethereum_genesis_generator_params:
2021
# The image to use for ethereum genesis generator
21-
image: ethpandaops/ethereum-genesis-generator:4.1.0
22+
image: ethpandaops/ethereum-genesis-generator:4.1.1
2223

2324
# Default configuration parameters for the network
2425
network_params:
@@ -32,8 +33,9 @@ network_params:
3233

3334
# How long you want the network to wait before starting up
3435
genesis_delay: 20
36+
3537
# The gas limit of the network set at genesis
36-
genesis_gaslimit: 30000000
38+
genesis_gaslimit: 36000000
3739

3840
# The number of data column sidecar subnets used in the gossipsub protocol
3941
data_column_sidecar_subnet_count: 128
@@ -43,7 +45,8 @@ network_params:
4345
custody_requirement: 4
4446
# Maximum number of blobs per block
4547
# max_blobs_per_block: 6
46-
preset: "mainnet"
48+
49+
preset: "minimal"
4750
devnet_repo: ethpandaops
4851

4952
# Prefunded Accounts

scripts/fund_operator_devnet.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/bash
22

3+
if [[ -z "$RPC_URL" ]]; then
4+
echo "RPC_URL is empty, using default value http://localhost:8545"
5+
RPC_URL="http://localhost:8545"
6+
fi;
7+
38
# Check that OPERATOR_ADDRESS is not empty
49
if [[ -z "$OPERATOR_ADDRESS" ]]; then
510
echo "OPERATOR_ADDRESS is empty, using default value 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
@@ -22,6 +27,6 @@ amount_in_eth="1ether"
2227
cast send --from $sender_address \
2328
--value $amount_in_eth \
2429
--private-key $sender_private_key \
25-
--rpc-url "http://localhost:8545" \
30+
--rpc-url $RPC_URL \
2631
"$recipient_address" \
27-
--gas-price $(cast gas-price --rpc-url "http://localhost:8545")
32+
--gas-price $(cast gas-price --rpc-url "$RPC_URL")

scripts/mint_mock_token.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/bash
22

3+
if [[ -z "$RPC_URL" ]]; then
4+
echo "RPC_URL is empty, using default value http://localhost:8545"
5+
RPC_URL="http://localhost:8545"
6+
fi;
7+
38
# check that OPERATOR_ADDRESS is not empty
49
if [[ -z "$OPERATOR_ADDRESS" ]]; then
510
echo "OPERATOR_ADDRESS is empty, using default value 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
@@ -13,7 +18,7 @@ if [[ "$#" -ne 2 ]]; then
1318
fi;
1419

1520
mock_strategy_address=$(cat "contracts/script/output/devnet/eigenlayer_deployment_output.json" | jq -r '.addresses.strategies.WETH')
16-
mock_token_address=$(cast call "$mock_strategy_address" "underlyingToken()")
21+
mock_token_address=$(cast call "$mock_strategy_address" "underlyingToken()" --rpc-url "$RPC_URL")
1722

1823
operator_address=$(cat "$1" | yq -r '.operator.address')
1924

@@ -49,4 +54,4 @@ cast send "$mock_token_address" \
4954
"transfer(address recipient, uint256 amount)(bool)" \
5055
"$operator_address" "$2" \
5156
--private-key $private_key \
52-
--rpc-url "http://localhost:8545"
57+
--rpc-url $RPC_URL

scripts/user_fund_payment_service_devnet.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/bash
22

3+
if [[ -z "$RPC_URL" ]]; then
4+
echo "RPC_URL is empty, using default value http://localhost:8545"
5+
RPC_URL="http://localhost:8545"
6+
fi;
7+
38
# Check that OPERATOR_ADDRESS is not empty
49
if [[ -z "$USER_ADDRESS" ]]; then
510
echo "USER_ADDRESS is empty, using default value 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
@@ -18,6 +23,6 @@ amount_in_eth="100ether"
1823
cast send --from $USER_ADDRESS \
1924
--value $amount_in_eth \
2025
--private-key $USER_PRIVATE_KEY \
21-
--rpc-url "http://localhost:8545" \
26+
--rpc-url $RPC_URL \
2227
"$batcher_payment_service_address" \
23-
--gas-price $(cast gas-price --rpc-url "http://localhost:8545")
28+
--gas-price $(cast gas-price --rpc-url "$RPC_URL")

0 commit comments

Comments
 (0)