Commit Graph

3015 Commits

Author SHA1 Message Date
protolambda d1ecfd510e
typing improvements 2019-06-20 19:53:32 +02:00
vbuterin 8919f628cb Update test_libs/pyspec/eth2spec/utils/ssz/ssz_impl.py
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
2019-06-20 19:52:02 +02:00
Vitalik Buterin 7c4232455c Added get_container_type to get_zero_value 2019-06-20 19:52:02 +02:00
protolambda 5ddfe34f0c
Simplified SSZ impl 2019-06-20 19:51:38 +02:00
Danny Ryan 29dbe1b880 Increase historical length and cleanups (#1196)
* increase historical length and a few cleanups
2019-06-19 20:59:44 +01:00
Hsiao-Wei Wang 145e54b373
Merge pull request #1166 from ethereum/mypy
Add mypy type hinting check
2019-06-18 14:34:07 -06:00
protolambda 6df75ec3d4
cleanup unused byte part of builder 2019-06-18 22:16:21 +02:00
Hsiao-Wei Wang 7d2f0a9dc0
clean up 2019-06-18 14:07:42 -06:00
protolambda 060041945c
remove unnecessary cast 2019-06-18 22:00:22 +02:00
protolambda 346e61dfeb
make epoch pattern similar to exit-epoch loop 2019-06-18 21:59:16 +02:00
protolambda f0e909c8d8
add mypy cache to gitignore 2019-06-18 21:54:00 +02:00
protolambda 207f632e1a
resolve other ret comment 2019-06-18 21:53:39 +02:00
protolambda f4de5e3c72
fix review comment: one line cache set 2019-06-18 21:50:53 +02:00
Hsiao-Wei Wang dd79a0edb5
Merge branch 'dev' into mypy 2019-06-18 08:24:23 -06:00
Danny Ryan a1ca0f801b
Merge pull request #1159 from ethereum/JustinDrake-patch-14
Tweak inclusion delay rewards and set BASE_REWARD_FACTOR
2019-06-17 16:38:59 -06:00
Danny Ryan 02954e84fe
Merge branch 'dev' into JustinDrake-patch-14 2019-06-17 16:33:59 -06:00
Danny Ryan e80d363eed
Merge pull request #1157 from ethereum/JustinDrake-patch-13
Set MIN_ATTESTATION_INCLUSION_DELAY to 1
2019-06-17 16:29:55 -06:00
Danny Ryan 7298b3e290
Merge pull request #1191 from ethereum/constats-config
split constants vs configuration
2019-06-17 16:18:34 -06:00
Danny Ryan 89d9d80b1c
move BASE_REWARDS_PER_EPOCH to constants 2019-06-17 16:12:47 -06:00
Hsiao-Wei Wang 01e9f18713
Merge branch 'dev' into mypy 2019-06-17 17:51:46 -04:00
Hsiao-Wei Wang 9af9bbf42b
Merge branch 'dev' into mypy 2019-06-17 17:51:00 -04:00
Danny Ryan b5c109c9bb
Merge pull request #1188 from ethereum/v071backport
Backport v0.7.1 to dev
2019-06-17 15:40:37 -06:00
Danny Ryan 5fc6649b33
Merge pull request #1190 from terencechain/patch-81
Typo on Slots Test Formats
2019-06-17 15:26:46 -06:00
Hsiao-Wei Wang 18ebd2aa90
Bytes32 -> Hash 2019-06-17 17:21:45 -04:00
Danny Ryan 207eb808a0
split constants vs configuration 2019-06-17 15:19:44 -06:00
terence tsao d911236fbb
Update slots.md 2019-06-17 14:19:17 -07:00
Danny Ryan d7ac601b9e
Merge branch 'dev' into v071backport 2019-06-17 13:42:27 -06:00
Danny Ryan c70643e49d
Merge pull request #1156 from ethereum/container-cleanup
Cleanup containers
2019-06-17 13:30:20 -06:00
Danny Ryan 2d13a3adec
Merge pull request #1176 from ethereum/v07x
release `v0.7.1`
2019-06-16 21:25:45 -06:00
Danny Ryan ac76c6d279
Merge pull request #1182 from ethereum/cov-reports
generate coverage reports in make test, open as html site
2019-06-16 17:42:57 -06:00
Danny Ryan 2f9c554bf7
minor fix to makefile, add codecov instructiosn to readme 2019-06-16 17:38:48 -06:00
Danny Ryan 25a16bd26a
Merge pull request #1178 from ethereum/decode-with-pyssz
Fuzzing utilities package / SSZ decoding for spec
2019-06-16 17:25:50 -06:00
Hsiao-Wei Wang e93ba51ef8
More clean up 2019-06-15 18:25:37 -04:00
Hsiao-Wei Wang 9b77ec11f8
Version: Bytes4 2019-06-15 17:32:52 -04:00
Hsiao-Wei Wang b772b03847
Handle `BLSPubkey` and `BLSSignature` 2019-06-15 17:23:44 -04:00
Hsiao-Wei Wang 00a68e28b5
Define Custom Types via function_puller 2019-06-15 16:57:50 -04:00
protolambda 75b469281e
fix linting issue 2019-06-15 18:05:01 +02:00
Justin Drake 7cd7659a4b Add comments to non-obvious container fields 2019-06-15 15:51:17 +01:00
Justin Drake ed748a7d76 Address Danny's comments 2019-06-15 15:09:50 +01:00
protolambda 20aa539f4d
update clean command 2019-06-15 01:13:29 +02:00
protolambda 1c51982c6b
generate coverage reports in make test, open as html site 2019-06-14 23:12:04 +02:00
protolambda 367586d888
remove need for presets loading, just test mainnet, not too many/large objects anyway 2019-06-14 21:31:33 +02:00
protolambda d4bf55e5a1
update pyssz to include deserialization bugfix 2019-06-14 21:24:24 +02:00
protolambda 895ab67815
fix decoder, also fix bug in pyssz, see PR 74 2019-06-14 20:41:08 +02:00
protolambda 01be8b7e65
minor fix 2019-06-14 19:16:15 +02:00
protolambda 7b0ffc1ace
move decoder for fuzzing, minor fixes, update dependency to support SOS style offsets 2019-06-14 19:09:49 +02:00
Danny Ryan a6230425b8
Merge branch 'dev' into container-cleanup 2019-06-14 10:36:41 -06:00
Diederik Loerakker 79e6850a84
Merge pull request #1179 from ethereum/bls-test-pad-issue
Bls G2 padding issue
2019-06-14 18:23:40 +02:00
Danny Ryan aed5db033a
enforce byte length for g2 values in test generators 2019-06-14 10:15:54 -06:00
Diederik Loerakker 7cf0dcd25d
Merge pull request #1177 from ethereum/block-state-root-fix
Fix #1146 block state root issue
2019-06-14 02:47:41 +02:00