483 Commits

Author SHA1 Message Date
Hsiao-Wei Wang
b8949677fd
Merge branch 'dev' into eip7002 2023-06-01 18:37:31 +08:00
Hsiao-Wei Wang
0d4b07f63c
Merge pull request #3389 from ethereum/fork-settings
Turn off light client tests for feature specs
2023-06-01 14:59:27 +08:00
Hsiao-Wei Wang
30da14e9b4
Create LIGHT_CLIENT_TESTING_FORKS to limit the light client tests 2023-05-25 13:49:41 +08:00
Hsiao-Wei Wang
57378c87d3
Update fork constants 2023-05-24 12:13:41 +08:00
Hsiao-Wei Wang
6b5513b43a
Merge branch 'dev' into engine-versioned-hashes 2023-05-24 11:19:56 +08:00
Hsiao-Wei Wang
289d8147be
Move verify_and_notify_new_payload to Bellatrix 2023-05-24 11:12:03 +08:00
Hsiao-Wei Wang
2192882faa
Merge pull request #3354 from g11tech/kzg-big-endian
Update the endianness of the polynomial commitments to be big endian
2023-05-23 23:43:19 +08:00
Hsiao-Wei Wang
d4483e4ca7
Merge branch 'dev' into eip7002 2023-05-20 01:38:08 +08:00
Hsiao-Wei Wang
8ecf89a2eb
Apply PR feedback from @djrtwo and add more tests 2023-05-20 01:37:50 +08:00
Hsiao-Wei Wang
a11cc094ee
Update ExecutionLayerExit fields: replace validator_index with validator_pubkey 2023-05-15 20:07:11 +08:00
Hsiao-Wei Wang
eea04704d4
Fix tests 2023-05-15 17:16:41 +08:00
Hsiao-Wei Wang
847553783b
Add test_zeroed_commitment 2023-05-15 17:11:50 +08:00
Hsiao-Wei Wang
74596190e7
Fix tests 2023-05-10 22:26:55 +08:00
Hsiao-Wei Wang
34693f2db6
Add basic tests 2023-05-10 21:28:57 +08:00
Hsiao-Wei Wang
f1765dfef3
Merge branch 'dev' into deneb-tests 2023-05-04 18:04:20 +08:00
Hsiao-Wei Wang
2a1d998594
Test non zero excess_data_gas 2023-04-28 19:01:19 +08:00
Hsiao-Wei Wang
d78c7ada03
Fix previous fork version 2023-04-06 20:08:23 +08:00
Mikhail Kalinin
389b79408b Add EIP6110 operations gen, and to fork upgrades list 2023-04-06 17:39:19 +06:00
Mikhail Kalinin
108f1eed86 Rebase EIP6110 to Deneb 2023-04-06 16:53:31 +06:00
Mikhail Kalinin
80e6b0d665 Add deposits transition tests 2023-04-05 19:46:28 +06:00
Mikhail Kalinin
4c401d6575 Port process_deposit tests 2023-04-03 18:17:03 +06:00
Hsiao-Wei Wang
9dfee5ef48
Update execution_payload helpers for new EIP-6110 field 2023-03-28 15:21:09 +08:00
Hsiao-Wei Wang
cd7783e59d
EIP-6110: Fix compute_fork_version and add light client specs 2023-03-28 15:08:03 +08:00
Hsiao-Wei Wang
8acc31adce
Fix the default testing genesis by setting deposit_receipts_start_index and fork versions 2023-03-28 14:23:23 +08:00
Hsiao-Wei Wang
d0839dfec4
Add EIP-6110 to the pytest scope 2023-03-27 21:31:03 +08:00
Hsiao-Wei Wang
debf51e87a
Fix get_sample_opaque_tx call signature 2023-03-16 10:16:03 +08:00
Hsiao-Wei Wang
de57f2ac91
Merge pull request #3284 from etan-status/lc-forkversion
Check correct fork version in LC sync protocol
2023-03-16 09:08:01 +08:00
Danny Ryan
985fcc2525
Merge pull request #3283 from ethereum/deneb-crypto-coverage
Deneb crypto helpers test coverage
2023-03-15 11:28:43 -06:00
Aditya Asgaonkar
e9551715d5 large fork choice upgrade 2023-03-13 11:52:43 -07:00
Dankrad Feist
96ad61bcec
Add tests for blob sidecar signature 2023-03-12 23:05:01 +00:00
Etan Kissling
43e714e60f
Check correct fork version in LC sync protocol
- Sync committee is determined by signature_slot
- Signature fork version is determined by max(signature_slot, 1) - 1
- Attested block fork version can be anything < signature_slot

Old logic incorrectly derived signature fork version from signature_slot
and did not subtract a slot. Extended tests to check this edge case.
2023-03-08 15:34:56 +01:00
Ben Edgington
7637158a2f Change get_latest_attesting_balances() to get_weight() 2023-02-15 11:39:33 +00:00
Hsiao-Wei Wang
7b5acbfd21
Fix Capella fork test assertions 2023-02-10 00:30:00 +08:00
Paul Harris
078e1cc871 fix references to eip4844 2023-02-08 09:22:28 +10:00
Paul Harris
0bf006cc06 Merge remote-tracking branch 'upstream/dev' into 3207 2023-02-02 16:34:34 +10:00
Hsiao-Wei Wang
366e3b64c4
hotfix: transition_to_slot_via_block only return unsigned block 2023-01-27 15:37:12 +01:00
Hsiao-Wei Wang
3e78448fd1
Address PR feedback 2023-01-27 10:44:32 +01:00
Hsiao-Wei Wang
507a7ec113
Add BLS_TO_EXECUTION_CHANGE fork transition tests 2023-01-26 10:14:53 +01:00
Hsiao-Wei Wang
e3b42ca397
Add activate and partial withdrawal tests 2023-01-25 16:15:39 +01:00
Paul Harris
317facbd64 Replaced EIP4844 references with Deneb
Fixes #3207
2023-01-23 15:08:34 +01:00
Hsiao-Wei Wang
0f2d25d919
Merge pull request #3213 from etan-status/ee-mockgwei
Use `Gwei` for `Withdrawal` amount in mock-EE
2023-01-17 23:00:35 +08:00
George Kadianakis
296ba921c9 EIP4844: Handle barycentric evaluations at roots of unity 2023-01-16 17:51:50 +02:00
Etan Kissling
52d978b12e
Use Gwei for Withdrawal amount in mock-EE
Updates the EL block hash computation for pytests to match latest spec.
Notably, use `Gwei` for `Withdrawal` amount consistently.
Also fix `excess_data_gas` not being correctly accounted for.

https://github.com/ethereum/execution-apis/pull/354
https://github.com/ethereum/EIPs/pull/6325
2023-01-15 12:13:35 +01:00
Hsiao-Wei Wang
e1df31818b
fix typo 2023-01-13 23:18:29 +08:00
djrtwo
d4eaf4bff4 add invalid test for BLSChange genesis_validators_root 2023-01-13 08:07:21 -07:00
Hsiao-Wei Wang
730a7afe49
Always use GENESIS_FORK_VERSION to sign BLSToExecutionChange message 2023-01-12 23:28:41 +08:00
Hsiao-Wei Wang
a2099dabf7
Add test_invalid_previous_fork_version 2023-01-12 03:23:17 +08:00
Hsiao-Wei Wang
0777a52f55
Merge pull request #3149 from etan-status/lc-toheader
Add `block_to_light_client_header` helper
2023-01-05 12:12:36 +08:00
Hsiao-Wei Wang
1cfabcbe54
Rename HistoricalBatchSummary -> HistoricalSummary and historical_batches -> historical_summaries 2023-01-02 23:07:00 +08:00
Hsiao-Wei Wang
84592f101b
Add tests for process_historical_batches_update 2022-12-16 01:01:00 +08:00