From 1c8a27d9b6c13160cc978b9fa980719a63b4a39b Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Fri, 8 Mar 2024 11:26:20 -0700 Subject: [PATCH] Update specs/deneb/builder.md Co-authored-by: Chris Hager --- specs/deneb/builder.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specs/deneb/builder.md b/specs/deneb/builder.md index 3954987..95b18e3 100644 --- a/specs/deneb/builder.md +++ b/specs/deneb/builder.md @@ -109,8 +109,7 @@ Consider the following validation logic following definitions in the `consensus- ```python def verify_bid_value(execution_payload: ExecutionPayload, fee_recipient: ExecutionAddress, bid_value: uint256, balance_difference: uint256): - target_amounts = [w.amount for w in execution_payload.withdrawals if w.address == fee_recipient] - excluded_amount = sum(target_amounts) + excluded_amount = sum([w.amount for w in execution_payload.withdrawals if w.address == fee_recipient]) proposer_payment = balance_difference - excluded_amount assert proposer_payment == bid_value ```