Commit Graph

5647 Commits

Author SHA1 Message Date
Hsiao-Wei Wang e77ba91821
Apply proto's feedback, fix+refactor test_get_head, fix test format doc
Note that to execute on_attestation after on_block

Output more checking field

Disable mainnet config test_filtered_block_tree

Fix after rectoring + use more run_on_block

Fix and refactor `tick_and_run_on_attestation`
2021-03-13 00:29:35 +08:00
Hsiao-Wei Wang d29926efe6
Remove the duplicate get_head unit test 2021-03-12 21:05:23 +08:00
Hsiao-Wei Wang 23b28b62d0
Apply suggestions from @djrtwo code review
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-03-12 20:40:29 +08:00
Hsiao-Wei Wang 9254f1bf8c
Fix conflicts 2021-03-12 00:39:38 +08:00
Hsiao-Wei Wang 216bbb0a46
Merge branch 'dev' into fork-choice-test-vectors 2021-03-12 00:34:23 +08:00
Hsiao-Wei Wang 78a4897418
Add fork choice rule format doc 2021-03-12 00:33:04 +08:00
Hsiao-Wei Wang 8e303b60b9
Fix generator to ssz_snappy mode 2021-03-12 00:06:52 +08:00
Danny Ryan 7304f9299f
Merge pull request #2228 from ethereum/altair-name
Rename "HF1"/"LIGHTCLIENT_PATCH" to Altair
2021-03-11 09:04:04 -07:00
Danny Ryan b9c95b722d
one more hf-1 to Altair conversion 2021-03-11 08:55:55 -07:00
Hsiao-Wei Wang 96e29841a7
Merge branch 'dev' into fork-choice-test-vectors 2021-03-11 23:45:54 +08:00
Hsiao-Wei Wang b44e576e95
LIGHTCLIENT_PATCH/HF1 -> ALTAIR 2021-03-11 21:32:00 +08:00
Hsiao-Wei Wang 69489d1541
Rename folders and file names to `altair` 2021-03-11 21:12:46 +08:00
Danny Ryan 27e643a77b
Merge pull request #2224 from ethereum/sanity-gen
Add missed generator requirement
2021-03-10 18:55:43 -07:00
Danny Ryan 4569ddea5d
add missing sanity requirements.txt for generators 2021-03-10 18:49:50 -07:00
Danny Ryan b4d7f426fa
Merge pull request #2097 from ethereum/tests-compression
Tests compression with Snappy, remove YAML duplicates
2021-03-10 17:31:02 -07:00
Danny Ryan c36106e630
put snappy in 'generator' extra dep build and use for generator builds 2021-03-10 17:18:11 -07:00
Danny Ryan 7205f70192
patch remaining generator docs to reflect snappy_ssz encoding 2021-03-10 16:48:53 -07:00
Danny Ryan 813608928c
Merge branch 'dev' into tests-compression 2021-03-10 16:43:02 -07:00
Danny Ryan fab27d17f0
Merge pull request #2223 from ethereum/bump-py_ecc
Bump py_ecc to v5.2.0
2021-03-10 16:19:14 -07:00
Danny Ryan a9421e784b
Merge pull request #2220 from ethereum/hf1-fork-tests
Altair fork tests
2021-03-10 13:16:31 -07:00
Danny Ryan 1f3e73703c
use 'other_phases' for fork tests 2021-03-10 12:52:35 -07:00
Danny Ryan e792c27c91
@hwwhww review
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-03-10 12:27:50 -07:00
Hsiao-Wei Wang 91f6956b3a
Bump py_ecc to 5.2.0 2021-03-10 21:55:50 +08:00
Danny Ryan 338be1f636
clean up fork gens 2021-03-09 16:27:06 -07:00
Danny Ryan f9b54ea03b
remove fork_test 2021-03-09 16:18:30 -07:00
Danny Ryan 21cdbc9b3d
Merge pull request #2221 from ethereum/hf1-fork-tests-truly-pass
Make `test_fork.py` truly pass (on #2220)
2021-03-09 16:09:15 -07:00
Danny Ryan 956a7a2ef1
Update tests/core/pyspec/eth2spec/test/context.py 2021-03-09 16:09:08 -07:00
Hsiao-Wei Wang f71a3c6b22
Generate with mainnet config 2021-03-09 21:34:45 +08:00
Hsiao-Wei Wang 5e864af67a
Reload Altair spec 2021-03-09 21:32:37 +08:00
Hsiao-Wei Wang f025ec40c5
Fix linter error 2021-03-09 21:21:32 +08:00
Hsiao-Wei Wang 7a10c7108a
Fix decorator calls 2021-03-09 21:21:10 +08:00
Hsiao-Wei Wang f97ea9e172
Generate basic tests. Still having problem with generating `with_custom_state` tests 2021-03-09 20:55:39 +08:00
Hsiao-Wei Wang 50fb3da072
Make test_fork.py truly pass 2021-03-09 20:54:48 +08:00
Danny Ryan 6c406753f1
working through test gens 2021-03-08 19:11:31 -07:00
Danny Ryan d6961f636d
add base hf1 fork function tests 2021-03-08 17:21:01 -07:00
Danny Ryan 6bd1efc73b
rename fork files 2021-03-08 17:16:13 -07:00
Danny Ryan f2eb5e38e2
Merge pull request #2219 from ethereum/ralexstokes-patch-1
Fix a small typo
2021-03-08 11:45:30 -06:00
Alex Stokes e1023f55d1
Fix a small typo 2021-03-05 18:05:15 -08:00
Danny Ryan 09648cfd61
Merge pull request #2216 from ethereum/justin-hf1-cleanups
port @justindrake's general cleanups from #2212
2021-03-02 08:04:00 -06:00
Danny Ryan 8ea5e37608
add another 'modified' tag
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-03-02 07:56:30 -06:00
Danny Ryan deace8768e
port @justindrake's general cleanups from #2212 2021-03-01 19:41:28 -07:00
Hsiao-Wei Wang 7dc70cbd19
Merge pull request #2215 from ethereum/dev-merge
Backport v1.0.1 to dev
2021-02-25 09:46:02 +08:00
Danny Ryan 63e014791c
Merge branch 'dev' into dev-merge 2021-02-24 16:23:04 -07:00
Danny Ryan d5d0d75655
Merge pull request #2211 from ethereum/release-0x01
[minor release] 0x01 credentials
2021-02-24 09:46:51 -06:00
Danny Ryan 396d399129
Apply suggestions from code review form @hwwhww
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-02-24 08:53:54 -06:00
Danny Ryan fb974ed37f
bump version to 1.0.1 2021-02-23 16:40:19 -07:00
Hsiao-Wei Wang b789b10397
Minor update ToC 2021-02-23 16:31:19 -07:00
Hsiao-Wei Wang d1401a7f60
Fix doctoc@2 version 2021-02-23 16:31:19 -07:00
Hsiao-Wei Wang 192696a6c5
Set codespell<3.0.0,>=2.0.0 version and add `ether` to whitelist 2021-02-23 16:31:19 -07:00
Danny Ryan 1f7e9fabf2
minor 0x01 PR feedback 2021-02-23 16:16:46 -07:00