Commit Graph

2510 Commits

Author SHA1 Message Date
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
Vitalik Buterin
e14f789779 Presentation edits 2019-05-27 08:07:00 -04: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
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
protolambda
08faa86d70 POC ssz types spec build + update spec defs, typing still needs work 2019-05-12 23:56:53 +02:00
protolambda
761c9e55fe SSZ impl. rework started, see issue 1064 2019-05-12 23:16:17 +02:00
Danny Ryan
9bd771f787 Merge pull request #1075 from jrhea/patch-1
get_genesis_beacon_state is not defined in the deposit contract
2019-05-12 08:56:37 -06:00
Danny Ryan
e85847719f use relative path for beacon chain link 2019-05-12 08:50:46 -06:00
Jonny Rhea
36514d1c38 Update 0_deposit-contract.md
get_genesis_beacon_state is not defined here.  i modified the spec to link to the function.
2019-05-11 16:49:46 -05:00
Diederik Loerakker
acf07892bb Merge pull request #1065 from ethereum/linter
Add linter
2019-05-11 16:31:45 +02:00
Ryuya Nakamura
ae19521ea8 Update the docstring of initiate_validator_exit (#1072) 2019-05-11 19:41:05 +08:00
dankrad
ef24b97190 Merge pull request #1073 from NIC619/fix_ssz_union_example
Fix SSZ union type example
2019-05-11 11:40:53 +02:00
NIC619
c0d4334ced Fix SSZ union type example 2019-05-11 15:12:11 +08:00
Diederik Loerakker
88d6a8614f Merge pull request #1071 from ethereum/ralexstokes-patch-1
Update 0_beacon-chain-validator.md
2019-05-11 00:18:47 +02:00
Alex Stokes
a552b94d46 Update 0_beacon-chain-validator.md
typo fix
2019-05-10 11:02:39 -07:00
Hsiao-Wei Wang
e1343f99bb Fix pyspec/eth2spec/debug lint 2019-05-09 14:34:23 +08:00
Hsiao-Wei Wang
84472a5a6e fix pyspec lint 2019-05-09 14:34:23 +08:00
Hsiao-Wei Wang
a4ba283d67 Limit to 120 characters per line
Limit to 120 characters per line
2019-05-09 14:34:23 +08:00
Hsiao-Wei Wang
ef41d7a064 No "import *" 2019-05-09 14:34:23 +08:00
Hsiao-Wei Wang
d7c1305ce4 Add flake8 check
max-line-length=120
2019-05-09 14:34:16 +08:00
Danny Ryan
9ee240bfcc Merge pull request #1028 from ethereum/JustinDrake-patch-10
Clean up verify_indexed_attestation
2019-05-08 08:47:36 -06:00
Danny Ryan
33e5b98f17 Merge branch 'dev' into JustinDrake-patch-10 2019-05-08 08:42:47 -06:00
Danny Ryan
513c44bd3d add back in empty attestation test 2019-05-08 08:38:14 -06:00
Danny Ryan
af2bb7d6f6 Merge pull request #1044 from ethereum/JustinDrake-patch-21
Crosslink in AttestationData
2019-05-08 08:35:06 -06:00
Danny Ryan
67e733dfac Merge pull request #1060 from ethereum/JustinDrake-patch-20
Cleanup int_to_bytes
2019-05-07 17:41:08 -06:00
dankrad
b97096250f Merge pull request #893 from ethereum/dankrad-patch-3
Add union type and null to SSZ
2019-05-07 23:24:11 +02:00
Danny Ryan
97a0baa398 Merge pull request #1058 from ralexstokes/add-merkleize-clarity
Add clarity around merkleize on a single chunk
2019-05-07 11:53:08 -06:00
Danny Ryan
13d2ee6969 cleanup validator guide for crosslinks 2019-05-07 11:49:45 -06:00
Dankrad Feist
b3501fbf2b Merge branch 'dev' into dankrad-patch-3
# Conflicts:
#	specs/simple-serialize.md
2019-05-07 18:10:18 +01:00
Justin Drake
62c44ffce3 Refactor to validate_indexed_attestation 2019-05-07 17:34:19 +01:00
Justin Drake
ecc6429b9e Address Danny's comment 2019-05-07 15:01:23 +01:00
Justin Drake
22b06d581d Update instances of int_to_bytes 2019-05-07 10:57:41 +01:00
Justin
b1520ea967 Update 0_beacon-chain.md 2019-05-07 10:33:51 +01:00
Justin Drake
964e55cd4a block_body_root => body_root 2019-05-07 08:52:56 +01:00
Danny Ryan
f0fcbfd8fc Merge pull request #1057 from terencechain/patch-73
Fixed Validator Responsibilities Links
2019-05-06 20:17:04 -06:00
Alex Stokes
fc1239c0ff Add clarity around merkleize on a single chunk 2019-05-06 18:50:20 -07:00
terence tsao
24966d71be Update 0_beacon-chain-validator.md 2019-05-06 17:54:40 -07:00
Danny Ryan
a9616b05cf Merge pull request #1056 from ethereum/ralexstokes-patch-1
Update simple-serialize.md
2019-05-06 18:41:22 -06:00
Alex Stokes
54fd822b55 Update simple-serialize.md
typo
2019-05-06 17:36:55 -07:00
Justin Drake
ea60fb632c More renaming 2019-05-06 20:49:46 +01:00
Justin Drake
f4db9ebae0 Renamings triggered by HW comment 2019-05-06 18:26:14 +01:00
Justin Drake
8b1a2edb7c Fix genesis bug 2019-05-06 17:53:49 +01:00