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
Diederik Loerakker
fd04f4129a
Merge pull request #1174 from ethereum/JustinDrake-patch-20
...
Fix #1173
2019-06-14 02:41:00 +02:00
Danny Ryan
f834f727fa
lint
2019-06-13 18:03:20 -06:00
Danny Ryan
c391017a05
address #1146 by inserting state root and re-signing blocks in tests
2019-06-13 17:57:29 -06:00
protolambda
e7bb9bf19b
SSZ decoding through pyssz, with translation of types/values
2019-06-14 01:56:36 +02:00
Diederik Loerakker
e4704e08cc
Merge pull request #1175 from ethereum/bytes-type-error
...
fix #1169 bytes type error
2019-06-13 22:49:19 +02:00
Danny Ryan
4a08abfa1d
ensure sanity tests run with bls
2019-06-13 14:47:53 -06:00
Danny Ryan
7c0cc7f801
fix #1169 bytes type error
2019-06-13 14:32:45 -06:00
Justin
67d2585ec0
Fix #1173
...
The bug is that it's possible to include a participating validator which has custody bit one *without* specifying that validator in `attestation.aggregation_bitfield`. In other words, we want to check that every bit in `custody_bitfield` is zero whenever the corresponding bit in `aggregation_bitfield` is zero. Well spotted @protolambda
2019-06-13 21:01:10 +01:00
Danny Ryan
fea8fc64b9
Merge pull request #1171 from ethereum/input-checking
...
attestations: check shard, and check epoch earlier. Open question about another attestation check.
2019-06-13 13:30:31 -06:00
protolambda
aabd2b08ad
attestations: check shard, and check epoch earlier
2019-06-13 15:51:22 +02:00
Alex Stokes
f095ab43bb
Update 0_beacon-chain.md ( #1170 )
...
minor typo fix
2019-06-13 10:40:02 +01:00
Hsiao-Wei Wang
8577cff72e
enable mypy check in CI
2019-06-12 20:10:24 -04:00
Hsiao-Wei Wang
48e8164e28
Add phase1 type hinting checks and fix many bugs
2019-06-12 20:08:19 -04:00
Hsiao-Wei Wang
8a54203796
Modify the mypy config
2019-06-12 16:50:49 -04:00
Hsiao-Wei Wang
7a366828ba
Make phase0 pass
2019-06-12 14:54:00 -04:00
Danny Ryan
12293a91b4
Merge pull request #1152 from ethereum/deposit-contract-justin
...
Custom genesis trigger, and deposit contract cleanups
2019-06-12 10:54:11 -06:00
Danny Ryan
54c6b035ce
Merge pull request #1163 from ethereum/dev
...
Release v0.7.0 into master
2019-06-11 17:13:50 -06:00
Danny Ryan
577f76aff5
Merge pull request #1165 from ethereum/phase-generators
...
phase restricted generators
2019-06-11 16:48:18 -06:00
protolambda
9ec395c04f
fig linting + improve docs + structure of hash optimization
2019-06-11 21:53:38 +02:00
Justin Drake
193b628fb4
Bypass Vyper compiler bug
2019-06-11 19:03:26 +01:00
protolambda
f4814862fe
fix typing check, add zero-hash cache to hash function
2019-06-11 19:23:45 +02:00
protolambda
1157d9b8d8
fix shuffling generator
2019-06-11 18:34:49 +02:00
protolambda
d6fd19ce44
fix ssz-static generator
2019-06-11 18:30:50 +02:00
protolambda
22f624e12e
re-order type check for more speed
2019-06-11 18:08:27 +02:00
protolambda
85b0c237ca
fix formatting sanity generator file names
2019-06-11 17:58:13 +02:00
Danny Ryan
cba5add992
Merge pull request #1167 from ethereum/configs-v07
...
update naming of 2 constants, fix comments in minimal config
2019-06-11 09:38:31 -06:00
protolambda
7fafebd6cf
missed one case, fix withdrawal byte <> int problem
2019-06-11 17:32:42 +02:00
protolambda
2d636ddf5a
BLS withdrawal byte is formatted as int now, but still one byte. Justin changed spec, now fix tests + configs
2019-06-11 17:27:34 +02:00
Danny Ryan
cc625c7d6d
lint
2019-06-11 09:26:23 -06:00
Danny Ryan
ef1ef753a3
comment out transfer test from sanity tests
2019-06-11 09:16:37 -06:00
protolambda
e86771250b
Fix tests to use new constant name
2019-06-11 17:16:02 +02:00
Danny Ryan
98a798bd54
sanity tests gens to use explicit phase0
2019-06-11 09:10:09 -06:00
protolambda
481c9664be
update naming of 2 constants, fix comments in minimal config (mainnet time estimates do not hold with different amount of slots per epoch)
2019-06-11 17:07:48 +02:00
protolambda
46d8422510
fix ssz container recognition for generators
2019-06-11 16:49:36 +02:00
Justin Drake
6a83205420
Minor copy edit
2019-06-11 15:29:34 +01:00
Justin Drake
abe48cc988
Address final comments by HW and Danny
2019-06-11 15:25:25 +01:00
Hsiao-Wei Wang
f2c33529df
Add mypy check in CI
2019-06-11 00:45:00 -04:00
Hsiao-Wei Wang
6f526add79
flake8 length
2019-06-11 00:45:00 -04:00
Hsiao-Wei Wang
9f454185f8
WIP!
...
1. Use custom types in SSZ declaration
2. Casting
2019-06-11 00:44:54 -04:00
Hsiao-Wei Wang
8b64f37d22
Make uint64 be `class` for type hinting
2019-06-10 23:16:59 -04:00
Danny Ryan
94d4e3a944
operations suite generator for phase0
2019-06-10 20:05:43 -06:00