Skip to content

Commit

Permalink
fix: revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Bostoen committed May 27, 2024
1 parent d5b62d1 commit 12d1ced
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type DiscConfig struct {
}

var DefaultDiscConfig DiscConfig = DiscConfig{
IP: "::",
IP: "0.0.0.0",
UDP: 9000,
TCP: 9000,
DBPath: "",
Expand All @@ -72,7 +72,7 @@ func (d *DiscConfig) Eth2EnrEntry() (enr.Entry, error) {
// currentSlot := slots.Since(genesisTime)
// currentEpoch := slots.ToEpoch(currentSlot)

// TODO: not hardcoded
// TODO: not hardcoded, use timestamp to calculate
nextForkVersion, nextForkEpoch, err := forks.NextForkData(286168)
if err != nil {
return nil, fmt.Errorf("calculate next fork data: %w", err)
Expand Down Expand Up @@ -111,6 +111,6 @@ var DefaultNodeConfig NodeConfig = NodeConfig{
Encoder: encoder.SszNetworkEncoder{},
DialTimeout: 10 * time.Second,
ConcurrentDialers: 64,
IP: "::",
IP: "0.0.0.0",
Port: 9000,
}
4 changes: 2 additions & 2 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ app = 'valtrack'
primary_region = 'ams'

[build]
dockerfile = "Dockerfile.valtrack"
dockerfile = "Dockerfile.valtrack"

[env]
NATS_URL = "nats://nats-jetstream-app.fly.dev:4222"
NATS_URL = "nats://nats-jetstream-app.fly.dev:4222"

[[services]]
# Libp2p port (needs to run on IPv6)
Expand Down

0 comments on commit 12d1ced

Please sign in to comment.