Skip to content

Commit

Permalink
fix assemble + nit
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jan 31, 2025
1 parent 2d5d705 commit 67aacbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@

package tech.pegasys.teku.spec.logic.common.statetransition.exceptions;

import com.google.errorprone.annotations.FormatMethod;
import com.google.errorprone.annotations.FormatString;

public final class ExecutionPayloadProcessingException extends Exception {

public ExecutionPayloadProcessingException(final String message) {
super(message);
}

public ExecutionPayloadProcessingException(final String template, Object... args) {
super(String.format(template, args));
@FormatMethod
public ExecutionPayloadProcessingException(@FormatString final String format, Object... args) {
super(String.format(format, args));
}

public ExecutionPayloadProcessingException(final Exception ex) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
public class ExecutionPayloadManager {
private static final Logger LOG = LogManager.getLogger();

// EIP-7732 TODO: cleanup when the execution payload has been imported (similar to
// ReceivedBlockEventsChannel usage)
// EIP-7732 TODO: cleanup cache
private final Map<Bytes32, SignedExecutionPayloadEnvelope> validatedExecutionPayloadEnvelopes =
new ConcurrentHashMap<>();

Expand Down

0 comments on commit 67aacbf

Please sign in to comment.