Skip to content

Synchronously check all transactions to have non-zero length#6491

Merged
etan-status merged 3 commits into
unstablefrom
dev/etan/bf-emptytx
Aug 16, 2024
Merged

Synchronously check all transactions to have non-zero length#6491
etan-status merged 3 commits into
unstablefrom
dev/etan/bf-emptytx

Conversation

@etan-status

Copy link
Copy Markdown
Contributor

Reject blocks with zero length transactions early when no EL connected.

@github-actions

github-actions Bot commented Aug 16, 2024

Copy link
Copy Markdown

Unit Test Results

         9 files  ±0    1 334 suites  ±0   30m 39s ⏱️ + 1m 7s
  5 064 tests ±0    4 716 ✔️ ±0  348 💤 ±0  0 ±0 
20 991 runs  ±0  20 587 ✔️ ±0  404 💤 ±0  0 ±0 

Results for commit d5d1c1b. ± Comparison against base commit cb58148.

♻️ This comment has been updated with latest results.

# whatever data the block itself contains.
# required checks on the CL instead and proceed as if the EL was syncing
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.4/specs/bellatrix/beacon-chain.md#verify_and_notify_new_payload
# https://github.com/ethereum/consensus-specs/blob/1.5.0-alpha.4/specs/deneb/beacon-chain.md#modified-verify_and_notify_new_payload

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these two lines refer to the spec version differently, with/without v prefix?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, have fixed it. the v prefix is correct.

Comment thread beacon_chain/gossip_processing/block_processor.nim Outdated
@etan-status etan-status enabled auto-merge (squash) August 16, 2024 18:07
@etan-status etan-status merged commit 6f7c4ff into unstable Aug 16, 2024
@etan-status etan-status deleted the dev/etan/bf-emptytx branch August 16, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants