protolambda
8ec4773339
EIP-4844: consensus layer changes
2022-03-10 06:52:27 +01:00
Alex Stokes
fd27d93898
add `pylint` to catch unused args
2022-01-13 11:27:11 -08:00
Hsiao-Wei Wang
8facc0a095
Merge -> Bellatrix
2021-12-23 14:25:43 +08:00
Hsiao-Wei Wang
257173fc9e
Add The Merge spec to coverage report targets
2021-11-16 12:35:57 +08:00
Hsiao-Wei Wang
2f6e817f3d
Set CI job for each fork
2021-10-18 18:30:33 +08:00
Etan Kissling
559ca86e2a
"is build" -> "is built" typo
...
Corrects a typo in a Makefile comment.
2021-09-10 16:56:27 +02:00
Hsiao-Wei Wang
3be3643bcb
Rename `eth2.0-spec-tests` to `consensus-spec-tests`
2021-08-19 20:09:15 +08:00
Hsiao-Wei Wang
715e450e0b
Generate coverage report on `minimal` config spec by default
2021-05-26 00:18:59 +08:00
protolambda
fb82472b46
update test generators
2021-05-18 18:48:58 +02:00
protolambda
0894125bf7
update test util
2021-05-18 13:59:26 +02:00
Diederik Loerakker
1c8f56c84b
Fix indentation of comment
...
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2021-04-22 02:35:54 +02:00
protolambda
c99d72d541
update pyspec dev usage docs, improve makefile
2021-04-21 03:28:22 +02:00
Hsiao-Wei Wang
6e8b4b3ea9
Add eth2spec.merge.spec
2021-04-08 05:57:16 +08:00
protolambda
07b7774241
misc. phase1 modules refactor updates
2021-03-30 01:46:02 +02:00
protolambda
0c94be4204
clean up more phase1 test references
2021-03-27 00:14:32 +01:00
protolambda
a6c01f8212
no phase1 in tests, per-feature testing now, executable specs will be re-enabled per feature
2021-03-26 23:21:36 +01:00
protolambda
6d2d8cb982
toc updates
2021-03-26 22:37:32 +01:00
Hsiao-Wei Wang
f360a9823f
Add Makefile commands `detect_generator_error_log` and `detect_generator_incomplete`
2021-03-17 02:45:52 +08:00
Hsiao-Wei Wang
a2268a432c
Fix missing --cov-report
2021-03-15 19:20:36 +08:00
Hsiao-Wei Wang
b44e576e95
LIGHTCLIENT_PATCH/HF1 -> ALTAIR
2021-03-11 21:32:00 +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
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
20bd00cef0
Add `make lint_generators` linter check for test generators
2020-09-15 11:19:50 +08:00
Hsiao-Wei Wang
adf8698778
Update the docs and remove unused code
2020-08-18 00:58:08 +08:00
Hsiao-Wei Wang
094dd1470f
Cleaning
2020-08-18 00:35:50 +08:00
Hsiao-Wei Wang
377b2e3f83
Clean up the CI workflow, enable web3.py tests
2020-08-18 00:27:23 +08:00
Hsiao-Wei Wang
80fb126401
WIP: add solidity deposit contract CI workflow
...
Export `DAPP_LIB`
Fix .gitmodules
update CI solc version
Kick cache
Make metadata remain the same
2020-08-17 23:37:33 +08:00
Hsiao-Wei Wang
819bb6d21d
Use Milagro BLS in CI
2020-07-24 02:00:52 +08:00
Hsiao-Wei Wang
5171a91dfb
Fix path
2020-06-18 19:03:40 +08:00
Hsiao-Wei Wang
51e7969147
Set linter configs in `linter.ini`
2020-06-18 14:36:14 +08:00
Danny Ryan
c761c437d4
revert e128 and c901 in lint
2020-06-16 12:11:47 -06:00
Dankrad Feist
bcfaa1b635
Fix tests
2020-06-12 11:07:44 +01:00
Danny Ryan
3a4db69a20
Merge branch 'dev' into dankrad-custody-256bit
2020-06-01 18:45:22 -06:00
protolambda
b1c2c6e3a2
Default BLS to ON, keep CI BLS off for now, add milagro option
2020-05-11 19:18:49 +02:00
Hsiao-Wei Wang
ee4c866575
Merge branch 'dev' into dankrad-custody-256bit-merging
2020-05-05 15:22:36 +08:00
Dankrad Feist
d30f11a781
Fix lint
2020-05-01 00:16:00 +01:00
Dankrad Feist
ab2ee0e2c2
Restoring chunk challenges and testing
2020-04-24 17:06:27 +01:00
Giuseppe Bertone
79d6b49a90
Fixed target compile_deposit_contract
...
Path of validator_registration.vy contract was wrong
2020-04-10 17:38:37 +02:00
protolambda
33f8f4936d
Fix base-reward memoization bug, improve memoization with LRU, and improve misc rewards test
2020-03-20 21:15:13 +01:00
protolambda
1a16e9a3ab
version eth2spec
2020-02-05 18:38:21 +01:00
protolambda
7848500ea9
spec packaging; implement review suggestions from hww
2020-01-25 22:10:03 +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
86b699bfd1
Merge branch 'dev' into phase1rebase
2020-01-23 19:24:03 +01:00
protolambda
01f7c6c1e2
separate deposit contract compiler and tester, pin compiler to python 3.7. Upgrade others to 3.8
2020-01-22 19:41:19 +01:00
Danny Ryan
3c07b2c954
Make phase 0 fork choice more modular to more easily adopt for slight modifications in phase 1
2020-01-15 16:40:50 -07:00
protolambda
4732c7beb1
merge in dev (v0.10) and fix reorg/lint issues
2020-01-13 18:55:21 +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
140129ec51
Merge dev into phase1 refactor, update BLS phase1
2020-01-09 14:56:06 +01:00
Hsiao-Wei Wang
fbfe024e7a
Rename vyper file from `.v.py` to `.vy`
2020-01-07 17:20:17 +08:00