Skip to content

Commit 35d2c51

Browse files
committed
Merge branch 'main' into validator-state-management-refactor
2 parents 8c1d818 + 2f77b11 commit 35d2c51

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "ethereum-package"]
2+
path = ethereum-package
3+
url = https://github.com/lambdaclass/ethereum-package.git

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ $(OUTPUT_DIR)/libp2p_port: $(PORT_SOURCES) $(PROTOBUF_GO_FILES)
4545
GRAFANA_DASHBOARDS_DIR = ./metrics/grafana/provisioning/dashboards
4646

4747
# Root directory of ethereum-package
48-
KURTOSIS_DIR ?= ../ethereum-package
48+
KURTOSIS_DIR ?= ./ethereum-package
4949
# Grafana configuration directory for dashboards
5050
KURTOSIS_GRAFANA_DASHBOARDS_DIR ?= $(KURTOSIS_DIR)/static_files/grafana-config/dashboards
5151
# Secret cookie for the lambdaconsesus IEX node built for usage with kurtosis
@@ -58,11 +58,9 @@ KURTOSIS_SERVICE ?= cl-3-lambda-geth
5858
# 💻 kurtosis.setup: @ Setup the kurtosis environment
5959
kurtosis.setup: kurtosis.setup.ethereum-package kurtosis.setup.grafana kurtosis.setup.lambdaconsensus
6060

61-
#💻 kurtosis.setup.ethereum-package: @ Clones the lambda ethereum-package and check out the current active branch
61+
#💻 kurtosis.setup.ethereum-package: @ Downloads the lambda ethereum-package content
6262
kurtosis.setup.ethereum-package:
63-
git clone https://github.com/lambdaclass/ethereum-package.git $(KURTOSIS_DIR) && \
64-
cd $(KURTOSIS_DIR) && \
65-
git checkout lecc-integration
63+
git submodule update --init --recursive
6664

6765
# 💻 kurtosis.setup.grafana: @ Copies the grafana dashboards to the ethereum-package folder under grafana-config
6866
kurtosis.setup.grafana:

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ As stated in the `ethereum-package` README:
224224
225225
After kurtosis is installed, we need to do three setup steps.
226226

227-
1. Clone the lambdaclass ethereum-package fork and checkout a particular branch
227+
1. Download the lambdaclass ethereum-package fork submodule's content.
228228
2. Copy our Grafana custom dashboards to be able to look at them
229229
3. Build the Docker image of the service
230230

@@ -238,11 +238,10 @@ or executed each at a time
238238

239239
```bash
240240
make kurtosis.setup.ethereum-package
241-
# git clone https://github.com/lambdaclass/ethereum-package.git ../ethereum-package && \
242-
# cd ../ethereum-package && git checkout lecc-integration
241+
# git submodule update --init --recursive
243242

244243
make kurtosis.setup.grafana
245-
# cp -r ./metrics/grafana/provisioning/dashboards/* ../ethereum-package/static_files/grafana-config/dashboards/lambdaconsensus
244+
# cp -r ./metrics/grafana/provisioning/dashboards/* ./ethereum-package/static_files/grafana-config/dashboards/lambdaconsensus
246245

247246
make kurtosis.setup.lambdaconsensus
248247
# docker build --build-arg IEX_ARGS="--sname lambdaconsensus --cookie secret" -t lambda_ethereum_consensus .
@@ -254,7 +253,6 @@ make kurtosis.setup.lambdaconsensus
254253
After that, we will be ready to tweak the configuration.
255254

256255
```bash
257-
# assumming you are still in the lambda_ethereum_consensus repo, you can modify the configuration through
258256
vim network_params.yaml
259257
```
260258

@@ -283,7 +281,7 @@ For starting the local environment after the setup run:
283281
make kurtosis.start
284282

285283
# which executes
286-
kurtosis run --enclave lambdanet ../ethereum-package --args-file network_params.yaml
284+
kurtosis run --enclave lambdanet ./ethereum-package --args-file network_params.yaml
287285
```
288286

289287
Then, you can connect to the service (running docker instance) with the following:

ethereum-package

Submodule ethereum-package added at 4771642

mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"hpax": {:hex, :hpax, "1.0.0", "28dcf54509fe2152a3d040e4e3df5b265dcb6cb532029ecbacf4ce52caea3fd2", [:mix], [], "hexpm", "7f1314731d711e2ca5fdc7fd361296593fc2542570b3105595bb0bc6d0fad601"},
3232
"idna": {:hex, :idna, "6.1.1", "8a63070e9f7d0c62eb9d9fcb360a7de382448200fbbd1b106cc96d3d8099df8d", [:rebar3], [{:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"},
3333
"jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"},
34-
"joken": {:hex, :joken, "2.6.1", "2ca3d8d7f83bf7196296a3d9b2ecda421a404634bfc618159981a960020480a1", [:mix], [{:jose, "~> 1.11.9", [hex: :jose, repo: "hexpm", optional: false]}], "hexpm", "ab26122c400b3d254ce7d86ed066d6afad27e70416df947cdcb01e13a7382e68"},
34+
"joken": {:hex, :joken, "2.6.2", "5daaf82259ca603af4f0b065475099ada1b2b849ff140ccd37f4b6828ca6892a", [:mix], [{:jose, "~> 1.11.10", [hex: :jose, repo: "hexpm", optional: false]}], "hexpm", "5134b5b0a6e37494e46dbf9e4dad53808e5e787904b7c73972651b51cce3d72b"},
3535
"jose": {:hex, :jose, "1.11.10", "a903f5227417bd2a08c8a00a0cbcc458118be84480955e8d251297a425723f83", [:mix, :rebar3], [], "hexpm", "0d6cd36ff8ba174db29148fc112b5842186b68a90ce9fc2b3ec3afe76593e614"},
3636
"logfmt_ex": {:hex, :logfmt_ex, "0.4.2", "e337b6072bd21ad61d8bbe38d9c591b5a8e4869ceba4967699d027baedf2eec8", [:mix], [], "hexpm", "7fad3704383d4595adf0da873e72c8b393120e67b1257f9102da881fde9d4249"},
3737
"meck": {:hex, :meck, "0.9.2", "85ccbab053f1db86c7ca240e9fc718170ee5bda03810a6292b5306bf31bae5f5", [:rebar3], [], "hexpm", "81344f561357dc40a8344afa53767c32669153355b626ea9fcbc8da6b3045826"},

0 commit comments

Comments
 (0)