Alex Stokes
a9e3ecabbd
demo spec comment feature
2021-04-21 18:49:51 -07:00
Alex Stokes
de3ac15d9c
introduce alternate spec parser with spec comments
2021-04-21 18:49:51 -07:00
Hsiao-Wei Wang
f2df4bf5c8
Merge branch 'dev' into refactor-spec-builder2
2021-04-19 23:14:30 +08:00
Sam.An
9e4f5c1879
changed alphabet string to string module.
...
changed alphabet string to string module.
2021-04-19 22:41:45 +09:00
Hsiao-Wei Wang
5349645a8f
Rename `SpecAdjustment` to `SpecBuilder` and add `build_spec` interface
2021-04-16 11:29:10 +08:00
Hsiao-Wei Wang
e8c3d28a86
Merge branch 'dev' into refactor-spec-builder2
2021-04-16 11:03:57 +08:00
Danny Ryan
2ac19be198
Merge pull request #2331 from BenSchZA/BenSchZA-patch-1
...
Update variable name ALTAIR_INVAIANT_CHECKS to INVARIANT in `setup.py`
2021-04-15 07:20:14 -05:00
Danny Ryan
2baeee463d
Merge pull request #2322 from mkalinin/merge-cleanup
...
Merge cleanups and improvements
2021-04-15 07:17:55 -05:00
BenSchZA
35fea7a11b
Update copy INVAIANT to INVARIANT
2021-04-14 21:37:25 +02:00
Danny Ryan
320172fb08
fix lint
2021-04-14 08:02:09 -05:00
Alex Stokes
18fc7c0498
Merge pull request #2311 from ralexstokes/add-altair-val-tests
...
Add some basic tests for Altair validator guide
2021-04-12 15:19:44 -07:00
Alex Stokes
4bf6331c21
update remerkleable
2021-04-12 15:11:21 -07:00
Hsiao-Wei Wang
79230c5f68
Update pyspec builder
2021-04-10 03:04:27 +08:00
Hsiao-Wei Wang
3320ebb865
Fix typo and add `SpecAdjustment.fork` property
2021-04-09 22:39:12 +08:00
Hsiao-Wei Wang
ceb352be12
Refactor `imports_and_predefinitions` into `imports` and `preparations`
2021-04-09 22:17:01 +08:00
Hsiao-Wei Wang
1ffa436836
Update `imports_and_predefinitions`
2021-04-09 21:28:58 +08:00
Hsiao-Wei Wang
658ede2191
Refactor pyspec builder with `SpecAdjustment` classes
2021-04-09 21:12:05 +08:00
Danny Ryan
af9ea0efb6
Merge branch 'dev' into merge-exe
2021-04-09 07:21:51 -05:00
Hsiao-Wei Wang
6e8b4b3ea9
Add eth2spec.merge.spec
2021-04-08 05:57:16 +08:00
Hsiao-Wei Wang
0bbef67efe
Add ALTAIR_INVAIANT_CHECKS, checks the weight configurations
2021-04-06 00:08:30 +08:00
protolambda
1acb1d6f70
disable phase1 pyspec build
2021-03-26 22:37:32 +01:00
Hsiao-Wei Wang
2ce389216d
Executable Altair validator guide
2021-03-19 23:38:59 +08:00
Hsiao-Wei Wang
32d0c8087f
Fix `NEXT_SYNC_COMMITTEE_INDEX`
2021-03-15 23:17:59 +08:00
Hsiao-Wei Wang
a2268a432c
Fix missing --cov-report
2021-03-15 19:20:36 +08:00
Hsiao-Wei Wang
310301236f
Fix typo
2021-03-12 20:29:28 +08:00
Hsiao-Wei Wang
22fe06829b
Refactor `objects_to_spec`
2021-03-12 20:26:26 +08:00
Hsiao-Wei Wang
c34eae33d0
Merge branch 'dev' into lightclient-sync-exe
2021-03-12 00:49:29 +08:00
Hsiao-Wei Wang
b44e576e95
LIGHTCLIENT_PATCH/HF1 -> ALTAIR
2021-03-11 21:32:00 +08: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
813608928c
Merge branch 'dev' into tests-compression
2021-03-10 16:43:02 -07:00
Danny Ryan
36b6f8c3bf
Merge branch 'dev' into lightclient-sync-exe
2021-03-10 16:25:01 -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
Hsiao-Wei Wang
91f6956b3a
Bump py_ecc to 5.2.0
2021-03-10 21:55:50 +08:00
Danny Ryan
6bd1efc73b
rename fork files
2021-03-08 17:16:13 -07:00
Danny Ryan
6df3de8506
Merge pull request #2199 from ethereum/turn_off_phase1_testgen
...
[testgen] turn off phase 1, turn on HF1, and refactoring
2021-02-22 13:28:19 -06:00
Justin
a28b2d7349
Bump Milagro dependency for M1 support
2021-02-20 15:29:34 +00:00
Hsiao-Wei Wang
e58dcb40ac
Clean up and kick the cache
2021-02-18 17:51:01 +08:00
Hsiao-Wei Wang
844c879f1c
Bump `py_ecc` and `milagro_bls_binding` ( #2169 )
...
* Bump py_ecc to v5.1.0 and milagro_bls_binding to v1.6.2
* python3.8 -> python3 for py39 compatibility
* fix
* Try python:3.9
* Revert: using Python3.8 in CI now
2021-01-05 21:00:52 +08:00
Hsiao-Wei Wang
d01a4ad823
Fix depth calculation...again(!) and add unittests
2020-12-16 15:01:22 +08:00
Hsiao-Wei Wang
bcde37c39f
Make `sync-protocol.md` pass the linter
2020-12-15 13:24:43 +08:00
Hsiao-Wei Wang
acfe49e3f3
executable light client patch: beacon-chain.md ( #2141 )
...
* Bump remerkleable to 0.1.18
* Disable `sync-protocol.md` for now. Make linter pass
* Enable lightclient tests
* Use *new* `optional_fast_aggregate_verify`
* Fix ToC and codespell
* Do not run phase1 tests with Lightclient patch
* Fix the Eth1Data casting bug. Add a workaround.
* Fix `run_on_attestation` testing helper
* Revert
* Rename `optional_fast_aggregate_verify` to `eth2_fast_aggregate_verify`
* Apply Proto's suggestion
* Apply Danny's suggestion
* Fixing tests
* Fix after rebasing
* Rename `LIGHTCLIENT` -> `LIGHTCLIENT_PATCH`
* New doctoc
* Add lightclient patch configs
* fix gitignore light client patch generator output
* Upgrade state for light client patch
* Add `lightclient-fork.md` to deal the fork boundary and fix
`process_block_header`
* Misc cleanups
1) Add a summary note for every function that is changed.
2) Avoid changing `process_block` (instead only change `process_block_header`).
3) Rename `G2_INFINITY_POINT_SIG` to `G2_POINT_AT_INFINITY` to avoid `SIG` contraction.
4) Misc cleanups
* Update block.py
* Update beacon-chain.md
* Fix typo "minimal" -> "mainnet"
Co-authored-by: Marin Petrunić <mpetrunic@users.noreply.github.com>
* Use the new `BeaconBlockHeader` instead of phase 0 version
* Update config files
* Move `sync_committee_bits` and `sync_committee_signature` back to `BeaconBlockBody`
Co-authored-by: protolambda <proto@protolambda.com>
Co-authored-by: Justin <drakefjustin@gmail.com>
Co-authored-by: Marin Petrunić <mpetrunic@users.noreply.github.com>
2020-12-15 13:18:20 +08:00
Hsiao-Wei Wang
4df3547edf
Make `lightclient` patch pass the linter ( #2133 )
...
* Make `lightclient` an executable patch fork
* fix conflicts
* Fix ToC
* Lightclient -> Light client
* Try protolambda/remerkleable#8
* Fix sync-protocol.md ToC
* Build lightclient/sync-protocol
* Fix typo
Co-authored-by: vbuterin <v@buterin.com>
Co-authored-by: vbuterin <v@buterin.com>
2020-11-17 10:41:26 +08:00
Hsiao-Wei Wang
00a19e583e
Bump milagro_bls_binding to 1.5.0
2020-10-06 16:17:29 +08:00
Hsiao-Wei Wang
4d3ac72473
Bump milagro_bls_binding to `1.4.0`, handle the exception cases
2020-10-05 21:55:49 +08:00
Hsiao-Wei Wang
4613c6b333
Bump py_ecc to 5.0.0
2020-10-01 00:44:47 +08:00
Danny Ryan
68bcc19e09
Merge pull request #1957 from ethereum/testgenphase1
...
Enable test generation for phase1
2020-09-18 08:44:38 -06:00
Danny Ryan
177f88962e
Merge pull request #2073 from ethereum/weak-subjectivity-guide
...
Weak subjectivity guide
2020-09-17 12:07:19 -06:00
Danny Ryan
8bb05827ab
add weak-subjectivity.md to setup.py build and do final lint cleanups
2020-09-17 12:01:25 -06:00
Hsiao-Wei Wang
5374890da0
Merge branch 'dev' into testgenphase1
2020-09-17 21:11:49 +08:00
protolambda
28137a6176
Merge branch 'dev' into testgenphase1
2020-09-09 23:43:26 +02:00