Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.5.0-beta.1 #4097

Merged
merged 37 commits into from
Jan 24, 2025
Merged
Changes from 7 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
902c74e
Simplify/optimize process_registry_updates
jtraglia Jan 13, 2025
fd87b46
Merge pull request #4081 from jtraglia/simplify-registry-updates
jtraglia Jan 15, 2025
eba62db
Fix various nits
jtraglia Jan 15, 2025
b13aff0
Merge pull request #4082 from jtraglia/fix-nits
jtraglia Jan 15, 2025
8d35951
Document Electra fork-digest for BeaconBlocksByRange/Root v2
nflaig Jan 16, 2025
17997c1
Merge pull request #4083 from nflaig/electra-fork-digest
jtraglia Jan 16, 2025
a9c5952
Add v1 to req/resp messages in phase0
jtraglia Jan 16, 2025
7d54cd0
For BlobSidecars, put ByRange before ByRoot
jtraglia Jan 16, 2025
155d15e
For DataColumnSidecars, put ByRange before ByRoot
jtraglia Jan 16, 2025
b1c70a9
Merge pull request #4084 from jtraglia/consistent-msg-order
jtraglia Jan 16, 2025
c85f58a
Add test for pending deposits with same pubkey and different withdraw…
debjit-bw Jan 18, 2025
6db8238
Add tests for deposit transitions with same pubkey and different with…
debjit-bw Jan 18, 2025
5c2d551
fmt and revert test for pending deposits with same pubkey and differe…
debjit-bw Jan 18, 2025
fe877aa
Merge branch 'dev' into electra-test
debjit-bw Jan 18, 2025
70be586
predefined indices which have the same pubkey
debjit-bw Jan 20, 2025
a079dbf
Rename indexes to indices
jtraglia Jan 20, 2025
13d9aa1
Add extra assert to ensure withdrawal creds are different
jtraglia Jan 20, 2025
b18c0f6
Add tests for execution payload processing with incorrect blob commit…
debjit-bw Jan 20, 2025
bd59b13
Merge branch 'dev' into ef-assignment
debjit-bw Jan 20, 2025
c3e2efe
remove invalid test
debjit-bw Jan 20, 2025
188a2ff
Merge pull request #4085 from debjit-bw/electra-test
jtraglia Jan 20, 2025
bc80f26
Merge branch 'dev' into ef-assignment
debjit-bw Jan 20, 2025
d9c9c66
add back test with comments
debjit-bw Jan 20, 2025
02f6719
Delete double space in comment
jtraglia Jan 20, 2025
19583b7
Add blocks with several withdrawal requests
ensi321 Jan 21, 2025
ad63ae7
Fix lint
mkalinin Jan 21, 2025
b7c4e27
Merge pull request #4090 from ensi321/multiple-withdrawal-requests
jtraglia Jan 21, 2025
bd212e7
Pin codespell version
jtraglia Jan 21, 2025
e79ef81
Merge pull request #4092 from jtraglia/pin-codespell
jtraglia Jan 21, 2025
5525cc9
Update Fulu configs
jimmygchen Jan 22, 2025
b73f3bd
Merge pull request #4095 from jimmygchen/fulu-config-udpate
jtraglia Jan 22, 2025
b1de7ef
Move dependencies to pyproject.toml (#4093)
jtraglia Jan 22, 2025
1d9577a
Bump version to 1.5.0-beta.1
jtraglia Jan 22, 2025
bdfd5f0
Merge pull request #4098 from ethereum/version-bump
jtraglia Jan 22, 2025
b87fbac
Add document with release instructions (#4065)
jtraglia Jan 22, 2025
526d550
Merge pull request #4087 from debjit-bw/ef-assignment
jtraglia Jan 24, 2025
f17311c
Replace pip with uv pip (#4100)
jtraglia Jan 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -185,6 +185,23 @@ def test_incorrect_commitment(spec, state):
yield from run_execution_payload_processing(spec, state, execution_payload, blob_kzg_commitments)


@with_deneb_and_later
@spec_state_test
def test_no_commitments_for_transactions(spec, state):
"""
The versioned hashes are wrong, but the testing ExecutionEngine returns VALID by default.
"""
execution_payload = build_empty_execution_payload(spec, state)

opaque_tx, _, blob_kzg_commitments, _ = get_sample_blob_tx(spec, blob_count=2, rng=Random(1111))
blob_kzg_commitments = [] # incorrect count

execution_payload.transactions = [opaque_tx]
execution_payload.block_hash = compute_el_block_hash(spec, execution_payload, state)

yield from run_execution_payload_processing(spec, state, execution_payload, blob_kzg_commitments)


@with_deneb_and_later
@spec_state_test
def test_incorrect_commitments_order(spec, state):
@@ -202,6 +219,26 @@ def test_incorrect_commitments_order(spec, state):
yield from run_execution_payload_processing(spec, state, execution_payload, blob_kzg_commitments)


@with_deneb_and_later
@spec_state_test
def test_incorrect_transaction_no_blobs_but_with_commitments(spec, state):
"""
The versioned hashes are wrong, but the testing ExecutionEngine returns VALID by default.
"""
execution_payload = build_empty_execution_payload(spec, state)

# the blob transaction is invalid, because the EL verifies that the tx contains at least one blob
# therefore the EL should reject it, but the CL should not reject the block regardless
opaque_tx, _, _, _ = get_sample_blob_tx(spec, blob_count=0, rng=Random(1111))
_, _, blob_kzg_commitments, _ = get_sample_blob_tx(spec, blob_count=2, rng=Random(1112))

execution_payload.transactions = [opaque_tx]
execution_payload.block_hash = compute_el_block_hash(spec, execution_payload, state)

# the transaction doesn't contain any blob, but commitments are provided
yield from run_execution_payload_processing(spec, state, execution_payload, blob_kzg_commitments)


@with_deneb_and_later
@spec_state_test
def test_incorrect_block_hash(spec, state):