Skip to content

Commit

Permalink
Handle missing bellatrix fork epoch.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Mar 18, 2022
1 parent cc30068 commit f31ed8e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.6.1
- fix issue in obtaining sync committees after restart

0.6.0
- Bellatrix support

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import (
)

// ReleaseVersion is the release version for the code.
var ReleaseVersion = "0.6.0"
var ReleaseVersion = "0.6.1"

func main() {
os.Exit(main2())
Expand Down
2 changes: 1 addition & 1 deletion services/chaintime/standard/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func New(ctx context.Context, params ...Parameter) (*Service, error) {
bellatrixForkEpoch, err := fetchBellatrixForkEpoch(ctx, parameters.forkScheduleProvider)
if err != nil {
// Set to far future epoch.
altairForkEpoch = 0xffffffffffffffff
bellatrixForkEpoch = 0xffffffffffffffff
}
log.Trace().Uint64("epoch", uint64(bellatrixForkEpoch)).Msg("Obtained Bellatrix fork epoch")

Expand Down

0 comments on commit f31ed8e

Please sign in to comment.