Commit Graph

2624 Commits

Author SHA1 Message Date
Vitalik Buterin
3630b2ea9f Merge branch 'ssz-impl-rework' of github.com:ethereum/eth2.0-specs into ssz-impl-rework 2019-05-30 09:42:47 -04:00
Vitalik Buterin
8fae0f8c78 Added support for SSZ partials 2019-05-30 09:42:42 -04:00
Hsiao-Wei Wang
ebdf74c6b8 kick the CI 2019-05-30 15:57:39 +08:00
Vitalik Buterin
053d6e7805 Simplified hash tree root 2019-05-28 14:33:12 -04:00
Vitalik Buterin
4955c40a7b merge 2019-05-28 09:44:53 -04:00
Vitalik Buterin
19601df572 Starting work on partials 2019-05-28 09:30:35 -04:00
Hsiao-Wei Wang
f0ceefc36d Make test_libs/pyspec/tests pass
1. Use `typing_inspect` library to check if it's `typing.List[Any]`. Use it in `is_list_type`.
2. Add `__hash__`, `__eq__`, `__repr__` methods to some classes.
2019-05-28 13:57:42 +08:00
Hsiao-Wei Wang
00ffaf4d71 Fix ssz path 2019-05-28 12:37:41 +08:00
protolambda
5e28adf556 bugfix: don't forget about var-length bytes getting a length mixin 2019-05-28 00:51:27 +02:00
protolambda
9e61cc2ed3 bugfix: typing edge-case: python bool is subclass of int. 2019-05-28 00:45:13 +02:00
protolambda
0e9a047b1d Merge branch 'dev' into ssz-impl-rework 2019-05-28 00:42:35 +02:00
Diederik Loerakker
2a7fcb6ffa Merge pull request #1132 from ethereum/fix-build-script
fix dev branch build script, missing quotes
2019-05-28 00:09:09 +02:00
protolambda
c99fa52d9f fix dev branch build script, missing quotes 2019-05-27 23:56:17 +02:00
protolambda
54b14b5ac3 update ssz-static generator 2019-05-27 23:41:48 +02:00
protolambda
b4c4df6a09 bugfix in sss_types global building in script 2019-05-27 23:41:29 +02:00
protolambda
d023d2d20f lots of bugfixes 2019-05-27 23:40:05 +02:00
protolambda
0f79ed709b update yaml encoder/decoder and obj randomizer for typed ssz usage 2019-05-27 22:19:18 +02:00
protolambda
c68944bd53 separate type (direct) from kinds (alias incl) 2019-05-27 22:18:34 +02:00
protolambda
87b3466eae update encoder and decoder for reading from parsed data 2019-05-27 21:46:14 +02:00
protolambda
d63b553a2d efficiency bugfix in bytes encoding, improve typing doc + bugfix 2019-05-27 21:45:47 +02:00
protolambda
132d3c976a fix spec builder 2019-05-27 21:14:59 +02:00
protolambda
f3088884b3 Minor adjustments + getting the beacon spec doc ready 2019-05-27 20:29:53 +02:00
protolambda
d5eab257d0 improve impl, box less used integer types, use uint64 as default 2019-05-27 18:01:46 +02:00
Danny Ryan
31c02ebcab Merge pull request #1116 from ethereum/hwwhww/phase1_withdrawable
Clean up `process_penalties_and_exits` and fix ToC
2019-05-27 09:33:43 -06:00
Danny Ryan
7327f12296 Merge pull request #1126 from michaelsproul/sort-attester-slashings
Sort attester slashing indices to avoid arbitrary ordering
2019-05-27 09:14:13 -06:00
Vitalik Buterin
e14f789779 Presentation edits 2019-05-27 08:07:00 -04:00
Michael Sproul
a82a6f9a1a Sort attester slashing indices to avoid arbitrary ordering
Closes #1125
2019-05-27 17:36:20 +10:00
vbuterin
3b4d9b7a85 Class-ified the type definitions 2019-05-25 16:14:52 -04:00
Vitalik Buterin
5b6a98b107 Some updates 2019-05-25 14:06:42 -04:00
Danny Ryan
dd091724d0 Merge pull request #1120 from ethereum/phase1-candidate-bug
a number of minor fixes in phase 1
2019-05-25 07:18:53 -06:00
protolambda
81cb4a23b3 update some common usage of SSZ types, as a start 2019-05-25 00:10:06 +02:00
protolambda
ed4416ba34 update SSZ implementation 2019-05-25 00:05:03 +02:00
Danny Ryan
28b76bcd4c a number of minor fixes in phsae 1 2019-05-24 11:59:22 -06:00
Danny Ryan
b0a3b436e3 Merge pull request #1117 from ralexstokes/update-py-ecc-version
update version used in test generators to get SHA-256 hash
2019-05-24 11:33:23 -06:00
Danny Ryan
3539e608f7 Merge pull request #1118 from AgeManning/typo-fixes
Fix typo in libp2p-standardization
2019-05-24 10:46:24 -06:00
Age Manning
2cd188358b Fix typo in libp2p-standardization 2019-05-24 21:24:35 +10:00
Alex Stokes
32f97a1c80 update version used in test generators to get SHA-256 hash 2019-05-23 15:12:29 -07:00
Hsiao-Wei Wang
0f7abfa4ce Update specs/core/1_custody-game.md
Co-Authored-By: Carl Beekhuizen <carl.beek@gmail.com>
2019-05-24 02:54:41 +08:00
Hsiao-Wei Wang
650c4244bd Things are different after rebasing #1035 2019-05-24 01:35:51 +08:00
Danny Ryan
72e12679ae Merge pull request #935 from AgeManning/libp2p
Add initial libp2p standardization
2019-05-23 09:33:55 -06:00
Age Manning
ae6d30fd62 Update with discv5 2019-05-23 11:48:04 +10:00
Danny Ryan
e509015191 Merge pull request #1055 from ethereum/fix-deposit-forkv
Fix deposit domain
2019-05-22 16:54:57 -04:00
Danny Ryan
c13421a9a7 type hinting for fork version
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-05-22 16:52:44 -04:00
Danny Ryan
2c79e584c2 minor lint 2019-05-21 22:42:47 -06:00
protolambda
6b5f4b44ea avoid zero constant for deposits fork-version, just default to it 2019-05-22 01:39:20 +02:00
Danny Ryan
b075a7a0ab add bls_domain to toc 2019-05-21 11:33:52 -06:00
Danny Ryan
847fcf52cc utilize bls_domain directly for deposits 2019-05-21 11:30:38 -06:00
Danny Ryan
7a9097ec23 Merge branch 'dev' into fix-deposit-forkv 2019-05-21 11:04:13 -06:00
Danny Ryan
e92e5f82de Merge pull request #1103 from ethereum/JustinDrake-patch-11
Edit BLS spec warning
2019-05-21 08:59:18 -04:00
Justin
90a3f56e0f Edit BLS spec warning
Fix #898.
2019-05-21 09:13:57 +01:00