Skip to content

Commit

Permalink
Merge pull request #191 from attestantio/v1.8.1-fixes
Browse files Browse the repository at this point in the history
Backport fixes for 1.8.1
  • Loading branch information
mcdee authored Mar 18, 2024
2 parents 04ad7ac + a4800e7 commit 7e6c7bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.8.1:
- ensure proposer-config-check command operates correctly
- avoid crash by suitably locking a controller read/write map

1.8.0:
- support Deneb
- reject block proposals with 0 fee recipient
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ import (
)

// ReleaseVersion is the release version for the code.
var ReleaseVersion = "1.8.0"
var ReleaseVersion = "1.8.1"

func main() {
exitCode := main2()
Expand Down Expand Up @@ -852,7 +852,7 @@ func startMonitor(ctx context.Context,
) {
log.Trace().Msg("Starting metrics service")
var monitor metrics.Service
if viper.Get("metrics.prometheus.listen-address") != nil {
if viper.GetString("metrics.prometheus.listen-address") != "" {
var err error
monitor, err = prometheusmetrics.New(ctx,
prometheusmetrics.WithLogLevel(util.LogLevel("metrics.prometheus")),
Expand Down
2 changes: 2 additions & 0 deletions services/controller/standard/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ func (s *Service) HandleHeadEvent(event *api.Event) {
}

// Remove old subscriptions if present.
s.subscriptionInfosMutex.Lock()
delete(s.subscriptionInfos, s.chainTimeService.SlotToEpoch(data.Slot)-2)
s.subscriptionInfosMutex.Unlock()
}

// handlePreviousDependentRootChanged handles the situation where the previous
Expand Down

0 comments on commit 7e6c7bd

Please sign in to comment.