Skip to content

Commit

Permalink
Merge pull request #252 from attestantio/relase-1.9.0
Browse files Browse the repository at this point in the history
Relase 1.9.0.
  • Loading branch information
Bez625 authored Sep 18, 2024
2 parents f501e86 + 818c813 commit 5c4facc
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 26 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ output:

# All available settings of specific linters.
linters-settings:
gosec:
excludes:
- G115 # This generates a lot of false positives, recheck once https://github.com/securego/gosec/issues/1212 is closed

lll:
line-length: 132

Expand Down
31 changes: 11 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,31 @@
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

1.9.0-beta.1:
- reduce time spent verifying account names
- ensure that attestations complete on Vouch's first ever epoch
1.9.0:
- allow Vouch to start with some consensus nodes unavailable
- allow Vouch to act as an MEV-boost client for non-Vouch validators
- reduce memory usage when obtaining Dirk accounts
- reduce memory usage when generating beacon committee subscriptions
- reduce time spent verifying account names in the common case
- add 'deadline' builder bid strategy
- increase proposal performance with new validator REST APIs
- add builder configurations to allow more control over selection of bids
- add "controller.fast-track" flag to control when attestation and sync committee processes start
- fix FromAsCasing warning in Docker image building
- change default timestamp in logs to millisecond-precision
- allow custom timestamp formatting in logs
- ensure that attestations complete on Vouch's first ever epoch
- add proposal value and blinded status to trace
- add beaconblockproposer.builder-boost-factor
- add reduced memory mode for memory-constrained systems
- reduce memory usage when obtaining Dirk accounts
- reduce memory usage when generating beacon committee subscriptions
- add "controller.fast-track" flag
- update internal active validators count when Dirk not available at start
- warn when graffiti is not as expected, rather than refuse to use the proposal
- provide fallback location for dynamic graffiti
- relax proposal checks to enable DVT proposals
- add individual "controller.fast-track" flags for attestations and sync committees
- add 'failed' dimension for root to slot lookup metrics
- add 'deadline' builder bid strategy
- add builder configurations to allow more control over selection of bids
- add sync committee verification metrics to highlight when we were and were not included in a SyncAggregate
- add config setting to enable the above metrics
- alter logic for determining sync committee eligible accounts
- enable first strategies to be defined for beaconblockheader and signedbeaconblock
- tidy up log entries for sync committee summaries
- reduce unnecessary log entries from some strategies
- change builder bid factor to be a percentage rather than a multiplier
- refactor metrics to be consistent

1.8.2:
Expand Down
2 changes: 1 addition & 1 deletion 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.3"
var ReleaseVersion = "1.9.0"

func main() {
exitCode := main2()
Expand Down
1 change: 0 additions & 1 deletion services/accountmanager/dirk/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ func New(ctx context.Context, params ...Parameter) (*Service, error) {
log.Warn().Str("endpoint", endpoint).Msg("Invalid port")
continue
}
//nolint:gosec
endpoints = append(endpoints, dirk.NewEndpoint(endpointParts[0], uint32(port)))
}
if len(endpoints) == 0 {
Expand Down
2 changes: 0 additions & 2 deletions services/chaintime/standard/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,11 @@ func (s *Service) GenesisTime() time.Time {

// StartOfSlot provides the time at which a given slot starts.
func (s *Service) StartOfSlot(slot phase0.Slot) time.Time {
//nolint:gosec
return s.genesisTime.Add(time.Duration(slot) * s.slotDuration)
}

// StartOfEpoch provides the time at which a given epoch starts.
func (s *Service) StartOfEpoch(epoch phase0.Epoch) time.Time {
//nolint:gosec
return s.genesisTime.Add(time.Duration(uint64(epoch)*s.slotsPerEpoch) * s.slotDuration)
}

Expand Down
1 change: 0 additions & 1 deletion util/epoch.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ func EpochToInt64(epoch phase0.Epoch) int64 {
panic("epoch too large to convert to int64")
}

//nolint:gosec
return int64(epoch)
}
1 change: 0 additions & 1 deletion util/slot.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ func SlotToInt64(slot phase0.Slot) int64 {
panic("slot too large to convert to int64")
}

//nolint:gosec
return int64(slot)
}

0 comments on commit 5c4facc

Please sign in to comment.