Skip to content

Commit

Permalink
debug block gas usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hsouf committed Aug 15, 2023
1 parent a4948a7 commit 1764073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (rs *Relay) SubmitBlock(ctx context.Context, m *structs.MetricGroup, uc str
m.AppendSince(tVerify, "submitBlock", "verify")

root, wRetried, err := verifyWithdrawals(rs.beaconState, sbr)
logger = logger.WithField("withdrawalsRoot", root)
logger = logger.With(log.F{"withdrawalsRoot": root, "registeredGasLimit": gasLimit})
if err != nil {
return fmt.Errorf("failed to verify withdrawals: %w", err)
}
Expand Down

0 comments on commit 1764073

Please sign in to comment.