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
Danny Ryan
ace46c38a7
revert local config settings from .gitignore
2020-06-16 15:34:01 -06:00
Dankrad Feist
113563176a
Updated .gitignore
2020-06-16 14:36:12 +01:00
protolambda
675d404c38
Package eth2spec for tooling and experimentation
...
See tests/core/pyspec/README.md for usage description.
This commit:
- refactors config loading to be part of the pyspec package
- updates requirements and main files to use new config loading
- cleans up the build script
- converts the build script to a distutil command
- runs pyspec build as part of build package command
- provides pyspecdev command to get editable spec python files
2020-01-25 01:57:11 +01:00
protolambda
d9f62f9303
Remerkleable - merkle tree based ssz for better and faster spec
2020-01-25 00:43:43 +01:00
Danny Ryan
676e216beb
reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move
2020-01-10 11:55:13 -07:00
protolambda
f0e909c8d8
add mypy cache to gitignore
2019-06-18 21:54:00 +02:00
protolambda
1c51982c6b
generate coverage reports in make test, open as html site
2019-06-14 23:12:04 +02:00
Carl Beekhuizen
b1711b4ff1
Implements parameterised phase1 tests
2019-05-16 12:10:08 +02:00
Danny Ryan
451c28342a
Revert "Only use `setup.py`"
2019-04-24 11:59:13 -06:00
Hsiao-Wei Wang
5437273e23
Update `packages`
2019-04-24 17:18:52 +08:00
Hsiao-Wei Wang
0fc31e3e7d
Update .gitignore
2019-04-24 17:18:52 +08:00
protolambda
14ff452314
move yaml output target
2019-04-20 12:28:50 +10:00
protolambda
9e010da118
rename pyspec pkg to eth2spec
2019-04-03 14:18:17 +11:00
protolambda
00c3c1e2a6
rename eth2 pkg to pyspec, per request of hww
2019-03-30 00:24:04 +08:00
protolambda
3f6d6535ad
Fix pyspec package structure
2019-03-28 22:04:51 +08:00
protolambda
ec4d41e15d
fix config, work on py_tests
2019-03-28 02:30:47 +08:00
protolambda
53e528e56c
work in progress: setup test libs, pyspec, pytests
2019-03-28 00:28:20 +08:00
Danny Ryan
fceebeec4e
backport 839 into dev
2019-03-25 11:25:33 -06:00
Danny Ryan
6715a0d4cc
reconfigure build a bit
2019-03-18 14:14:26 -06:00
Danny Ryan
f41caa713b
add circleci config
2019-03-18 13:06:45 -06:00
Danny Ryan
839590b5f4
initial pytests passing
2019-03-18 12:51:52 -06:00
Danny Ryan
828dd455ba
add basic dependencies and build script for phase0 testing
2019-03-18 10:18:57 -06:00