Carl Beekhuizen
e0a0f6e156
Makes markdown comply with linter
2019-06-30 21:25:58 +02:00
Carl Beekhuizen
9deb4090b0
Merge branch 'dev' into exec_v_spec
...
* dev:
delayed_activation_exit_epoch -> compute_activation_exit_epoch
remove 'int' types from spec typehints. replace with uint64
'beacon state getters' -> ' beacon state accessors'
PR feedback
Cleanup
Fix bug
ready for review
A few more cleanups
Push draft
WIP
WIP2
WIP
2019-06-30 21:03:27 +02:00
Carl Beekhuizen
0fd1d38417
`Misc` function rename
2019-06-30 20:58:02 +02:00
Justin Drake
0be2b8e620
Cleanup
2019-06-30 16:10:22 +01:00
Carl Beekhuizen
1d9fe90d97
Makes v-guide executable
2019-06-30 10:58:04 +02:00
Dankrad Feist
93ce168862
More linting fixes
2019-06-27 16:47:48 +01:00
Dankrad Feist
67c50cb197
Changed attestation and custody bitfields
2019-06-27 12:15:29 +01:00
Dankrad Feist
02f6ba36f0
Add Bitvector and Bitlist
...
Bool, Bit -> boolean, bit
Fix simple-serialize.md
2019-06-27 09:51:06 +01:00
protolambda
d90d56c610
Change uint aliases to just be subclasses, do not override init with no-op
2019-06-25 18:42:34 +02:00
protolambda
054a157953
get rid of TypingList, add MutableSequence
2019-06-25 02:58:10 +02:00
protolambda
9fb5806764
be explicit about input for balance sum
2019-06-25 00:24:13 +02:00
protolambda
5989e5cd23
use Bool as base name, make Bit an alias
2019-06-24 23:56:26 +02:00
protolambda
00aae07d46
type annotation clean up
2019-06-22 18:12:42 +02:00
protolambda
80c40f5e09
merge dev, resolve minor merge conflicts
2019-06-21 21:22:23 +02:00
Hsiao-Wei Wang
e99c864ed1
Deltas = NewType('Deltas', TypingList[Gwei])
2019-06-20 17:17:12 -06:00
protolambda
4dcfee2d2c
remove unused spec-helper from spec builder
2019-06-20 21:46:00 +02:00
protolambda
2d67717079
fix linting issues + make spec builder remove comments in container re-initialization part
2019-06-20 21:42:55 +02:00
Carl Beekhuizen
c26fffc154
Moves copy into SSZ container
2019-06-20 20:55:28 +02:00
protolambda
4e747fb887
fixes for class based ssz typing
2019-06-20 20:25:22 +02:00
protolambda
5048b9e87a
temporary fix for phase-1 spec typing
2019-06-20 20:20:45 +02:00
protolambda
6f46c1d837
fix typing in spec builder monkey patch
2019-06-20 20:17:30 +02:00
protolambda
5be0c57aad
fix linting + mypy
2019-06-20 20:17:29 +02:00
protolambda
c9747b634f
improve build spec, get clean dependencies list
2019-06-20 20:13:55 +02:00
protolambda
439e4d4859
Build spec
2019-06-20 20:12:17 +02: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
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
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
Carl Beekhuizen
31a4700223
Merge conflicts on `dev`
2019-06-17 22:09:43 -04:00
Hsiao-Wei Wang
9af9bbf42b
Merge branch 'dev' into mypy
2019-06-17 17:51:00 -04:00
Hsiao-Wei Wang
18ebd2aa90
Bytes32 -> Hash
2019-06-17 17:21:45 -04:00
Carl Beekhuizen
2ea6cede3e
Moves fork-choice objects away from SSZ
2019-06-17 10:48:33 -04:00
Carl Beekhuizen
11edda64ed
Adds fork-choice to spec builder
2019-06-15 18:42:03 -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
Justin Drake
ed748a7d76
Address Danny's comments
2019-06-15 15:09:50 +01: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
7a366828ba
Make phase0 pass
2019-06-12 14:54: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
Hsiao-Wei Wang
9fc197af67
class Bytes32
2019-06-10 11:10:13 -04:00
Justin Drake
565f61dfaa
Cleanup containers
2019-06-09 20:41:21 +01:00
Carl Beekhuizen
60d9dc68c4
Apply suggestions from @djrtwo's code review
2019-06-05 21:49:30 +02:00
Carl Beekhuizen
d761b6f041
Implements new SSZ types
2019-06-05 15:29:26 +02:00
Carl Beekhuizen
f6bb47c402
Apply @dankrad's suggestions from code review
2019-06-04 17:08:18 +02:00
Carl Beekhuizen
381fcc3215
Adds label explainer
2019-06-03 15:14:20 +02:00
Carl Beekhuizen
226adb35df
Adds Docstrings and type-checking to spec builder.
2019-06-03 14:22:03 +02:00
Carl Beekhuizen
5155bc6c4f
Makes everything pass around
2019-05-30 22:57:18 +02:00
Carl Beekhuizen
fd05b6e364
Minor bugfixes
2019-05-28 09:58:51 +02:00
Carl Beekhuizen
a7dbbafc92
Integrates shard-data-chains
2019-05-26 14:14:48 +02:00
Carl Beekhuizen
ac9564c2b7
Adds Insert-into-label functionality
2019-05-24 16:51:21 +02:00
Carl Beekhuizen
271f615873
Dramatically speed up tests
2019-05-22 12:40:57 +02:00
Carl Beekhuizen
24c4d21d5e
Minor edits + PEP8
2019-05-21 12:41:24 +02:00
Carl Beekhuizen
6b062405c9
merge dev -> carl-exec-phase1
2019-05-20 20:59:08 +02:00
Carl Beekhuizen
fac9f6c91d
Automatic SSZ dependancy Ordering!
2019-05-20 14:00:54 +02:00
Carl Beekhuizen
c954687f58
Corrects combination of ssz objects
2019-05-20 11:27:41 +02:00
Carl Beekhuizen
cfed4bb41c
Adds missing functions
2019-05-20 10:50:07 +02:00
Carl Beekhuizen
0e2d9e4963
Function_puller returns objects
2019-05-18 10:42:04 +02:00
Carl Beekhuizen
7c8f83d5e8
partial combination of phase0 and phase1 implemented
2019-05-16 23:52:40 +02:00
Carl Beekhuizen
306a613c8a
Simplify minimal SSZ again
2019-05-16 21:01:32 +02:00
Carl Beekhuizen
14ea7d9f40
new spec buildign stratergy
2019-05-16 16:36:35 +02:00