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
Danny Ryan
c9f52d0099
Merge branch 'dev' into phase1rebase
2020-01-03 07:49:23 -07:00
Martin Lundfall
798fadc3cb
Makefile: Use codespell as intended
2019-12-16 14:18:34 +01:00
Martin Lundfall
5234e431ec
Add codespell to ci
2019-12-16 13:06:01 +01:00
Martin Lundfall
a4f8a77c02
Fix spelling errors found by codespell
2019-12-16 13:02:36 +01:00
Martin Lundfall
aa0c9f89c3
Add check_toc rule to makefile, which fails if table of contents of any of the MARKDOWN_FILES are out of sync
2019-12-10 18:29:50 +01:00
Danny Ryan
82c9adce8b
fix phase 1 make build (not lint or tests)
2019-12-05 13:29:51 -07:00
Hsiao-Wei Wang
72b9781051
Merge branch 'dev' into vbuterin-patch-13
2019-08-24 02:37:19 +08:00
Hsiao-Wei Wang
722a69467f
Add `light_client/merkle_proofs.md` to executable stack. Errors revealed.
2019-08-15 15:07:44 +08:00
Hsiao-Wei Wang
e4e6c4d8ee
Fix the order of build spec
2019-08-12 00:45:33 +08:00
Hsiao-Wei Wang
c5acddc071
Enable it in CI
2019-08-11 23:19:17 +08:00
protolambda
0c5153d3f0
add coment about test generation config filtering to makefile
2019-07-30 22:17:44 +02:00
protolambda
eba473079b
update makefile to support generators outputting to same config, or even same runner dir
2019-07-30 12:49:18 +02:00
Carl Beekhuizen
90bba0348c
Fix spelling error
...
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
2019-06-30 17:53:21 +02:00
Carl Beekhuizen
f6322e199b
Fixes typing and Makefile
2019-06-30 11:18:36 +02:00
Carl Beekhuizen
1d9fe90d97
Makes v-guide executable
2019-06-30 10:58:04 +02:00
Diederik Loerakker
c86108de00
Merge pull request #1207 from ethereum/fix_make_lint
...
Fix `make lint`
2019-06-22 17:07:00 +02:00
Hsiao-Wei Wang
99df7da94a
Add `&&` between the commands
2019-06-21 22:53:02 -06:00
Danny Ryan
f12c32a690
Xdist tests for parallelism ( #1201 )
...
* add xdist parallelization
* reduce circleci cpus to 8
* reduce cpus to 4
* reduce circleci cpus to 2
* circleci back to 4 cpus
2019-06-21 14:18:28 -06:00
Carl Beekhuizen
3418c3506f
Merge dev and resolve conflicts (please let the CI tests pass with the new dev)
2019-06-19 20:27:54 +02:00
Carl Beekhuizen
31a4700223
Merge conflicts on `dev`
2019-06-17 22:09:43 -04:00