Skip to content

Commit 0d57e3c

Browse files
JulianVenturaJulian Ventura
andauthored
chore: Add explorer_create_env makefile target and update error messages. (#1121)
Co-authored-by: Julian Ventura <[email protected]>
1 parent 1048b78 commit 0d57e3c

File tree

8 files changed

+11
-7
lines changed

8 files changed

+11
-7
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,10 @@ explorer_fetch_old_operators_strategies_restakes:
628628
@cd explorer && \
629629
./scripts/fetch_old_operators_strategies_restakes.sh 0
630630

631+
explorer_create_env:
632+
@cd explorer && \
633+
cp .env.dev .env
634+
631635
__TRACKER__:
632636

633637
tracker_devnet_start: tracker_run_db

explorer/lib/explorer/contract_managers/aligned_layer_service_manager.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule AlignedLayerServiceManager do
2626

2727
:error ->
2828
raise(
29-
"Config file not read successfully, did you run make create-env? If you did,\n make sure Alignedlayer config file is correctly stored"
29+
"Config file not read successfully, did you run make explorer_create_env? If you did,\n make sure AlignedLayer config file is correctly stored"
3030
)
3131
end
3232

explorer/lib/explorer/contract_managers/avs_directory_manager.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ defmodule AVSDirectoryManager do
1414

1515
:error ->
1616
raise(
17-
"Config file not read successfully, did you run make create-env? If you did,\n make sure Eigenlayer config file is correctly stored"
17+
"Config file not read successfully, did you run make explorer_create_env? If you did,\n make sure Eigenlayer config file is correctly stored"
1818
)
1919
end
2020

explorer/lib/explorer/contract_managers/batcher_payment_service_manager.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule BatcherPaymentServiceManager do
2525

2626
:error ->
2727
raise(
28-
"Config file not read successfully, did you run make create-env? If you did,\n make sure Alignedlayer config file is correctly stored"
28+
"Config file not read successfully, did you run make explorer_create_env? If you did,\n make sure AlignedLayer config file is correctly stored"
2929
)
3030
end
3131

explorer/lib/explorer/contract_managers/delegation_manager.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule DelegationManager do
2121

2222
:error ->
2323
raise(
24-
"Config file not read successfully, did you run make create-env? If you did,\n make sure Eigenlayer config file is correctly stored"
24+
"Config file not read successfully, did you run make explorer_create_env? If you did,\n make sure Eigenlayer config file is correctly stored"
2525
)
2626
end
2727

explorer/lib/explorer/contract_managers/registry_coordinator_manager.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defmodule RegistryCoordinatorManager do
1717

1818
:error ->
1919
raise(
20-
"Config file not read successfully, did you run make create-env? If you did,\n make sure Eigenlayer config file is correctly stored"
20+
"Config file not read successfully, did you run make explorer_create_env? If you did,\n make sure Eigenlayer config file is correctly stored"
2121
)
2222
end
2323

explorer/lib/explorer/contract_managers/stake_registry_manager.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defmodule StakeRegistryManager do
1717

1818
:error ->
1919
raise(
20-
"Config file not read successfully, did you run make create-env? If you did,\n make sure Eigenlayer config file is correctly stored"
20+
"Config file not read successfully, did you run make explorer_create_env? If you did,\n make sure Eigenlayer config file is correctly stored"
2121
)
2222
end
2323

explorer/mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"floki": {:hex, :floki, "0.36.2", "a7da0193538c93f937714a6704369711998a51a6164a222d710ebd54020aa7a3", [:mix], [], "hexpm", "a8766c0bc92f074e5cb36c4f9961982eda84c5d2b8e979ca67f5c268ec8ed580"},
2424
"gettext": {:hex, :gettext, "0.24.0", "6f4d90ac5f3111673cbefc4ebee96fe5f37a114861ab8c7b7d5b30a1108ce6d8", [:mix], [{:expo, "~> 0.5.1", [hex: :expo, repo: "hexpm", optional: false]}], "hexpm", "bdf75cdfcbe9e4622dd18e034b227d77dd17f0f133853a1c73b97b3d6c770e8b"},
2525
"hackney": {:hex, :hackney, "1.20.1", "8d97aec62ddddd757d128bfd1df6c5861093419f8f7a4223823537bad5d064e2", [:rebar3], [{:certifi, "~> 2.12.0", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~> 6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~> 1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~> 1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "3.4.1", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~> 1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"},
26-
"heroicons": {:git, "https://github.com/tailwindlabs/heroicons.git", "88ab3a0d790e6a47404cba02800a6b25d2afae50", [tag: "v2.1.1", sparse: "optimized"]},
26+
"heroicons": {:git, "https://github.com/tailwindlabs/heroicons.git", "88ab3a0d790e6a47404cba02800a6b25d2afae50", [tag: "v2.1.1", sparse: "optimized", depth: 1]},
2727
"hpax": {:hex, :hpax, "0.2.0", "5a58219adcb75977b2edce5eb22051de9362f08236220c9e859a47111c194ff5", [:mix], [], "hexpm", "bea06558cdae85bed075e6c036993d43cd54d447f76d8190a8db0dc5893fa2f1"},
2828
"httpoison": {:hex, :httpoison, "2.2.1", "87b7ed6d95db0389f7df02779644171d7319d319178f6680438167d7b69b1f3d", [:mix], [{:hackney, "~> 1.17", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm", "51364e6d2f429d80e14fe4b5f8e39719cacd03eb3f9a9286e61e216feac2d2df"},
2929
"idna": {:hex, :idna, "6.1.1", "8a63070e9f7d0c62eb9d9fcb360a7de382448200fbbd1b106cc96d3d8099df8d", [:rebar3], [{:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"},

0 commit comments

Comments
 (0)