Skip to content

Commit

Permalink
Electra: ProcessConsolidationRequests (#14219)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvanloon authored Jul 15, 2024
1 parent e5b2507 commit 422438f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion beacon-chain/core/electra/transition_no_verify_sig.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package electra

import (
"context"
"fmt"

"github.com/pkg/errors"
"github.com/prysmaticlabs/prysm/v5/beacon-chain/core/blocks"
Expand Down Expand Up @@ -93,6 +94,8 @@ func ProcessOperations(
return nil, errors.Wrap(err, "could not process deposit receipts")
}

// TODO: Process consolidations from execution header.
if err := ProcessConsolidationRequests(ctx, st, exe.ConsolidationRequests()); err != nil {
return nil, fmt.Errorf("could not process consolidation requests: %w", err)
}
return st, nil
}

0 comments on commit 422438f

Please sign in to comment.