Skip to content

Commit

Permalink
Merge pull request #250 from attestantio/update_grace
Browse files Browse the repository at this point in the history
Update fast-track grace default value to 500ms
  • Loading branch information
Bez625 authored Sep 3, 2024
2 parents e57ca16 + 2901cda commit f501e86
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
dev:

1.9.0-beta.3:
- fix FromAsCasing warning in Docker image building
- change controller.fast-track.grace default value from 200ms to 500ms

1.9.0-beta.2:
- change default timestamp in logs to millisecond-precision
- allow custom timestamp formatting in logs
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ controller:
sync-committees: true
# grace is the delay between receiving the notification of the head block and starting the fast track process. This allows
# the rest of the network to settle if we saw the head block early.
grace: '200ms'
grace: '500ms'
# This flag enables verification of sync committee messages included in SyncAggregate. Exposes information via metrics and logs,
# defaults to false as this requires some extra processing to calculate the required metrics.
verify-sync-committee-inclusion: false
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ import (
)

// ReleaseVersion is the release version for the code.
var ReleaseVersion = "1.9.0-beta.2"
var ReleaseVersion = "1.9.0-beta.3"

func main() {
exitCode := main2()
Expand Down Expand Up @@ -241,7 +241,7 @@ func fetchConfig() error {
viper.SetDefault("controller.verify-sync-committee-inclusion", false)
viper.SetDefault("controller.fast-track.attestations", true)
viper.SetDefault("controller.fast-track.sync-committees", true)
viper.SetDefault("controller.fast-track.grace", 200*time.Millisecond)
viper.SetDefault("controller.fast-track.grace", 500*time.Millisecond)
viper.SetDefault("blockrelay.timeout", 1*time.Second)
viper.SetDefault("blockrelay.listen-address", "0.0.0.0:18550")
viper.SetDefault("blockrelay.fallback-gas-limit", uint64(30000000))
Expand Down

0 comments on commit f501e86

Please sign in to comment.