Skip to content

Commit 888b178

Browse files
committed
fix: ci env
1 parent b3a17f3 commit 888b178

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

eigen_pod_proofs_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ func loadBeaconState(headerPath, statePath string, chainID uint64) error {
5050

5151
func TestMain(m *testing.M) {
5252
// Load .env file
53-
if err := godotenv.Load(); err != nil {
54-
panic("Error loading .env file")
55-
}
53+
godotenv.Load()
5654

5755
rpcURL := os.Getenv("RPC_URL")
5856
if rpcURL == "" {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ require (
1212
github.com/ferranbt/fastssz v0.1.3
1313
github.com/hashicorp/golang-lru/v2 v2.0.7
1414
github.com/jbrower95/multicall-go v0.0.0-20241012224745-7e9c19976cb5
15+
github.com/joho/godotenv v1.5.1
1516
github.com/minio/sha256-simd v1.0.1
1617
github.com/pkg/errors v0.9.1
1718
github.com/rs/zerolog v1.32.0
@@ -45,7 +46,6 @@ require (
4546
github.com/gorilla/websocket v1.5.3 // indirect
4647
github.com/holiman/uint256 v1.3.1 // indirect
4748
github.com/huandu/go-clone v1.6.0 // indirect
48-
github.com/joho/godotenv v1.5.1 // indirect
4949
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
5050
github.com/mattn/go-colorable v0.1.13 // indirect
5151
github.com/mattn/go-isatty v0.0.20 // indirect

0 commit comments

Comments
 (0)