Commit Graph

6979 Commits

Author SHA1 Message Date
Danny Ryan 4da53e62d9
Apply suggestions from code review
Co-authored-by: Diederik Loerakker <proto@protolambda.com>
2021-10-29 14:04:25 -06:00
Danny Ryan 78040ac3ae
update penalty params for Merge 2021-10-29 12:41:38 -06:00
Danny Ryan 2fc0564a5a
Merge pull request #2686 from ethereum/tx-limits
fix gossip and tx size limits for the merge
2021-10-28 14:18:38 -06:00
Danny Ryan b50c33ee35
Merge pull request #2696 from ethereum/typo-fix
Fix typo
2021-10-28 06:44:50 -06:00
Hsiao-Wei Wang d0bcf294a8
Fix typo 2021-10-28 18:42:16 +08:00
Alex Stokes 0eff6e0a93
Merge pull request #2677 from ethereum/ralexstokes-patch-1
Update `ssz_generic` test format README
2021-10-28 02:33:56 -06:00
Danny Ryan 4f49c63cb4
Merge pull request #2695 from ethereum/new-test-case
Add new attestation test case
2021-10-27 12:28:36 -06:00
Danny Ryan d58b1c57ef
bump up MAX_CHUNK_SIZE at the merge as well 2021-10-27 10:48:38 -06:00
Alex Stokes 43a659a51b
Update tests/formats/ssz_generic/README.md 2021-10-27 05:55:53 -06:00
Mikhail Kalinin 4879383afa
Merge pull request #2694 from ethereum/reuse-pow-chain
Update `pow_chain` to dict and reuse it instead of calling `get_pow_block`
2021-10-27 14:45:28 +06:00
Danny Ryan bda07e15ad
remove extraneous gossip condition 2021-10-26 15:47:07 -06:00
Danny Ryan dae5b87c2b
increase TX sizes to account for very high gas limits 2021-10-26 15:46:08 -06:00
Danny Ryan 3e320dacff
fix gossip and tx size limits for the merge 2021-10-26 15:46:08 -06:00
Hsiao-Wei Wang 62504d9efd
Update `pow_chain` to dict and reuse it instead of calling `get_pow_block` 2021-10-26 21:59:33 +08:00
Hsiao-Wei Wang 314840117d
Add `test_invalid_previous_source_root` and fix `test_invalid_current_source_root` 2021-10-26 16:04:52 +08:00
Hsiao-Wei Wang a89b55d7f7
Merge pull request #2688 from ethereum/fork-cli-fix 2021-10-21 23:30:45 +08:00
Hsiao-Wei Wang 405f2e2c2f
Update tests/core/pyspec/eth2spec/test/conftest.py
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-10-21 23:21:56 +08:00
Danny Ryan 966d34b063
Merge pull request #2687 from ethereum/remove-p2p
remove extraneous p2p condition
2021-10-21 07:39:23 -06:00
Hsiao-Wei Wang cb513aa82d
--fork cli option: fix the case of unset directory path + validate fork name 2021-10-21 12:26:11 +08:00
Danny Ryan edb5a023c8
remove extraneous p2p condition 2021-10-20 12:24:00 -06:00
Danny Ryan a20f6f7b5f
Merge pull request #2684 from ethereum/merge-txs
Remove Union from ExecutionPayload transaction type
2021-10-20 08:59:25 -06:00
Danny Ryan c6af7b3228
add merge execution values to preset yaml files 2021-10-19 15:46:41 -06:00
Danny Ryan 8a27a7cb5d
remove union type for eecution-payload txs 2021-10-19 15:46:18 -06:00
Danny Ryan 65d56dc9c9
Merge pull request #2679 from ethereum/ci-in-forks
[CI] Run CI tests in parallel by forks
2021-10-19 14:30:58 -06:00
Danny Ryan c08a8c90ce
Merge pull request #2678 from ethereum/run-specific-fork
Run Pytest with specific phase(s)/fork(s) tests
2021-10-19 14:30:30 -06:00
Danny Ryan 4bf88ba89e
Merge pull request #2683 from ethereum/remove-prepare-payload
remove prepare_payload
2021-10-19 09:41:44 -06:00
Danny Ryan def46dd16c
Merge pull request #2682 from ethereum/TBH-epoch
add TBH_ACTIVATION_EPOCH
2021-10-19 09:36:33 -06:00
Danny Ryan 8023edc94b
cleanup some copy relatedto removal of prepare_payload 2021-10-19 09:28:52 -06:00
Danny Ryan 294b60a48b
pr feedback 2021-10-19 09:24:07 -06:00
Mikhail Kalinin cebf3ed730
Merge pull request #2681 from ethereum/pre-finalized-forkchoice
call to pre-finalized notify_forkchoice_updated
2021-10-19 10:48:24 +03:00
Hsiao-Wei Wang 34335e0334
Remove `prepare_payload` leftover 2021-10-19 15:30:49 +08:00
Hsiao-Wei Wang ba582b3e3a
Fix setup.py parser and rename `TBH_ACTIVATION_EPOCH` -> `TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH` 2021-10-19 11:26:53 +08:00
Danny Ryan d5be6b5d68
remove prepare_payload in favor of a unification with notify_forkchoice_updated 2021-10-18 18:12:11 -06:00
Danny Ryan 3bfdc917e1
ad TBH_ACTIVATION_EPOCH 2021-10-18 13:38:08 -06:00
Danny Ryan 190ef9fb50
call notify_forkchoice_updated with finalized_block_hash == 0x00..00 if not yet finalized 2021-10-18 12:07:33 -06:00
Hsiao-Wei Wang 140596f1a4
Merge pull request #2674 from ethereum/update-remerkleable
update remerkleable
2021-10-18 18:55:30 +08:00
Hsiao-Wei Wang 2f6e817f3d
Set CI job for each fork 2021-10-18 18:30:33 +08:00
Hsiao-Wei Wang afb62eebf0
Add pytest CLI option `--fork` so that we can just run with specific phase (fork) 2021-10-18 17:59:55 +08:00
Alex Stokes ec516a7625
Update `ssz_generic` test format README
The existing README has a reference to an alias type `Bytes[N]` that has been removed from the repo so it is not clear what it exactly refers to.

This PR updates the type to the equivalent `List[T, N]` using more recent SSZ typing syntax.
2021-10-18 02:34:52 -07:00
protolambda 7e080c18f7
update remerkleable 2021-10-16 01:15:31 +02:00
Diederik Loerakker 6852c5a1d0
Merge pull request #2673 from ethereum/fix-test
fix issue with mutation in test generation
2021-10-16 02:04:45 +03:00
Danny Ryan c5b169bd62
fix issue with mutation in test generation 2021-10-15 16:15:37 -06:00
Alex Stokes d0379cf89a
Merge pull request #2672 from ralexstokes/fix-altair-transition-tests
Yield the `pre` state for this test type before making blocks
2021-10-15 13:05:32 -06:00
Alex Stokes aa91788dfb
Yield the `pre` state for this test type before making blocks 2021-10-15 19:46:46 +01:00
Danny Ryan 7f41f18167
Merge pull request #2669 from ethereum/bump-version
bump version.txt to 1.1.3
2021-10-15 11:00:14 -06:00
Danny Ryan a05a78246f
bump version.txt to 1.1.3 2021-10-15 09:47:24 -06:00
Alex Stokes bf01e11cae
Merge pull request #2664 from ethereum/new-transition-test-cases
Add new Altair transition tests
2021-10-15 09:38:24 -06:00
Hsiao-Wei Wang e70ef11b4d
Fix SSZ underflow 2021-10-15 22:49:43 +08:00
Hsiao-Wei Wang 7480fad8cd
Add `test_transition_with_activation_at_fork_epoch` 2021-10-15 22:46:16 +08:00
Hsiao-Wei Wang b0b3733243
Fix `randomize_state` default params 2021-10-15 22:18:13 +08:00