Skip to content

Commit

Permalink
Temporarly disable block simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Oct 28, 2024
1 parent 20d0a95 commit fe05f94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions services/api/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,11 @@ func (api *RelayAPI) startValidatorRegistrationDBProcessor() {
// simulateBlock sends a request for a block simulation to blockSimRateLimiter.
func (api *RelayAPI) simulateBlock(ctx context.Context, opts blockSimOptions) (blockValue *uint256.Int, requestErr, validationErr error) {
t := time.Now()

// TODO: Remove when Reth adds validateBuilderSubmissionV4
opts.log.Warn("skipping block simulation")
return nil, nil, nil

response, requestErr, validationErr := api.blockSimRateLimiter.Send(ctx, opts.req, opts.isHighPrio, opts.fastTrack)

Check failure on line 610 in services/api/service.go

View workflow job for this annotation

GitHub Actions / Lint

unreachable code
log := opts.log.WithFields(logrus.Fields{
"durationMs": time.Since(t).Milliseconds(),
Expand Down

0 comments on commit fe05f94

Please sign in to comment.