Skip to content

Commit

Permalink
fix: ci env
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatil12 committed Feb 4, 2025
1 parent b3a17f3 commit 888b178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions eigen_pod_proofs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ func loadBeaconState(headerPath, statePath string, chainID uint64) error {

func TestMain(m *testing.M) {
// Load .env file
if err := godotenv.Load(); err != nil {
panic("Error loading .env file")
}
godotenv.Load()

rpcURL := os.Getenv("RPC_URL")
if rpcURL == "" {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ require (
github.com/ferranbt/fastssz v0.1.3
github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/jbrower95/multicall-go v0.0.0-20241012224745-7e9c19976cb5
github.com/joho/godotenv v1.5.1
github.com/minio/sha256-simd v1.0.1
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.32.0
Expand Down Expand Up @@ -45,7 +46,6 @@ require (
github.com/gorilla/websocket v1.5.3 // indirect
github.com/holiman/uint256 v1.3.1 // indirect
github.com/huandu/go-clone v1.6.0 // indirect
github.com/joho/godotenv v1.5.1 // indirect
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
Expand Down

0 comments on commit 888b178

Please sign in to comment.