Remove unused variables, functions and more (#15264)

This commit is contained in:
terence
2025-05-12 06:25:26 -07:00
committed by GitHub
parent 0251fd78e9
commit 93a5fdd8f3
13 changed files with 8 additions and 568 deletions

View File

@@ -153,13 +153,6 @@ func WithdrawalRequestsSliceRoot(withdrawalRequests []*enginev1.WithdrawalReques
return SliceRoot(withdrawalRequests, limit)
}
// ConsolidationRequestsSliceRoot computes the HTR of a slice of consolidation requests from the EL.
// The limit parameter is used as input to the bitwise merkleization algorithm.
func ConsolidationRequestsSliceRoot(consolidationRequests []*enginev1.ConsolidationRequest, limit uint64) ([32]byte, error) {
return SliceRoot(consolidationRequests, limit)
}
// ByteSliceRoot is a helper func to merkleize an arbitrary List[Byte, N]
// this func runs Chunkify + MerkleizeVector
// max length is dividable by 32 ( root length )