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 |
Danny Ryan
|
df2a9e1b54
|
Merge pull request #1180 from ethereum/list-rework
pyspec-SSZ: lists-rework (enable static generalized indices) + fully python class based now.
|
2019-06-25 07:38:50 -06:00 |
JSON
|
20602bc92b
|
phase 0 doc standardization b4 spec freeze (#1212)
|
2019-06-25 14:32:56 +01: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
|
c06a60c95a
|
Fix descriptions
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
|
2019-06-04 15:37:08 +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 |
Hsiao-Wei Wang
|
6cd981128d
|
Delete extra newline
|
2019-06-03 17:21:38 +08:00 |
protolambda
|
7df788c7d5
|
resolve linting problems, except ssz-partials
|
2019-06-01 02:22:14 +02:00 |
protolambda
|
e044305457
|
Merge branch 'dev' into ssz-impl-rework
|
2019-06-01 01:34:49 +02:00 |
Carl Beekhuizen
|
5155bc6c4f
|
Makes everything pass around
|
2019-05-30 22:57:18 +02:00 |
Hsiao-Wei Wang
|
6ec59867ef
|
Fix linter errors
|
2019-05-30 09:53:46 +08:00 |
Danny Ryan
|
a994a5d835
|
Merge pull request #1131 from ethereum/v06x-to-dev
V06x to dev
|
2019-05-28 15:59:49 -06:00 |
Carl Beekhuizen
|
fd05b6e364
|
Minor bugfixes
|
2019-05-28 09:58:51 +02:00 |
protolambda
|
0e9a047b1d
|
Merge branch 'dev' into ssz-impl-rework
|
2019-05-28 00:42:35 +02:00 |
protolambda
|
c99fa52d9f
|
fix dev branch build script, missing quotes
|
2019-05-27 23:56:17 +02:00 |
protolambda
|
b4c4df6a09
|
bugfix in sss_types global building in script
|
2019-05-27 23:41:29 +02:00 |
protolambda
|
132d3c976a
|
fix spec builder
|
2019-05-27 21:14:59 +02:00 |
Danny Ryan
|
d3d8b36365
|
Merge branch 'dev' into v06x-to-dev
|
2019-05-27 11:09:52 -06:00 |
Carl Beekhuizen
|
a7dbbafc92
|
Integrates shard-data-chains
|
2019-05-26 14:14:48 +02:00 |
protolambda
|
81cb4a23b3
|
update some common usage of SSZ types, as a start
|
2019-05-25 00:10:06 +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
|
9f2d410a17
|
removes old files
|
2019-05-16 17:15:45 +02:00 |
Carl Beekhuizen
|
f6f7d53735
|
simplify function_puller
|
2019-05-16 17:14:07 +02:00 |
Carl Beekhuizen
|
14ea7d9f40
|
new spec buildign stratergy
|
2019-05-16 16:36:35 +02:00 |
Carl Beekhuizen
|
f3742566f7
|
The new test structure starts to take shape
|
2019-05-15 15:02:27 +02:00 |
Carl Beekhuizen
|
c10fb92776
|
Merge dev -> dankrad-p-7
|
2019-05-15 10:36:01 +02:00 |
protolambda
|
904e2e9c0c
|
BLS on/off deco
|
2019-05-13 23:15:02 +02:00 |
Danny Ryan
|
27c8e41b32
|
Merge branch 'dev' into JustinDrake-patch-14
|
2019-05-13 16:29:29 -04:00 |
protolambda
|
08faa86d70
|
POC ssz types spec build + update spec defs, typing still needs work
|
2019-05-12 23:56:53 +02:00 |
Hsiao-Wei Wang
|
84472a5a6e
|
fix pyspec lint
|
2019-05-09 14:34:23 +08:00 |
Hsiao-Wei Wang
|
ef41d7a064
|
No "import *"
|
2019-05-09 14:34:23 +08:00 |
Dankrad Feist
|
ec230f443a
|
Merge branch 'dev' into dankrad-patch-7
# Conflicts:
# specs/core/1_custody-game.md
# specs/core/1_shard-data-chains.md
|
2019-05-09 01:00:25 +01:00 |
Dankrad Feist
|
6ab55efd3d
|
Phase 0 tests work on phase 1, yay :)
|
2019-05-08 23:30:08 +01:00 |
Danny Ryan
|
8da4b8173e
|
remove unnecessary import of copy
|
2019-05-08 14:49:53 -06:00 |
Justin Drake
|
ecc6429b9e
|
Address Danny's comment
|
2019-05-07 15:01:23 +01:00 |
Dankrad Feist
|
4ad92a0989
|
Fix typing
|
2019-05-07 13:23:28 +01:00 |
Dankrad Feist
|
a604d03dff
|
Basic phase 1 pulling + correcting syntax errors in phase 1
|
2019-05-07 12:13:22 +01:00 |
Justin Drake
|
22b06d581d
|
Update instances of int_to_bytes
|
2019-05-07 10:57:41 +01:00 |
Justin
|
9eeca0cdbd
|
Merge branch 'dev' into JustinDrake-patch-14
|
2019-05-07 10:16:38 +01:00 |
Justin Drake
|
50009ea85b
|
Implement HW's exception-handling suggestion
|
2019-05-07 10:12:33 +01:00 |
Danny Ryan
|
d15ca4c50c
|
replace asserts in get_active_index_root and get_randao_mix with comment
|
2019-05-02 18:11:11 -06:00 |
Danny Ryan
|
b169c42339
|
fix underflows in generate_seed, get_randao_mix, and get_active_index_roots
|
2019-05-01 17:44:34 -06:00 |
Danny Ryan
|
ef72b7ec20
|
Merge branch 'master' into vbuterin-patch-2
|
2019-05-01 16:19:21 -06:00 |
Danny Ryan
|
8f2c7a3663
|
revert cache to compute_committee
|
2019-05-01 12:56:48 -06:00 |
Danny Ryan
|
b3373a2d71
|
fix up some PR feedback and testing for #1009
|
2019-04-30 12:55:14 -06:00 |
Hsiao-Wei Wang
|
fc7d57eec6
|
PEP8-ish clean up
|
2019-04-25 16:03:02 +08:00 |
protolambda
|
23d6b468e3
|
Work towards testing all edge-cases of SSZ, for known (static) object types
|
2019-04-19 12:06:00 +10:00 |
Hsiao-Wei Wang
|
110af997cd
|
Update scripts/phase0/function_puller.py
Co-Authored-By: protolambda <proto@protolambda.com>
|
2019-04-16 13:32:28 +10:00 |
protolambda
|
18d54fa1f8
|
fix deposit contract placeholder address length
|
2019-04-14 19:38:37 +10:00 |
protolambda
|
db91c7fe9e
|
Work for new pyspec based test generators
|
2019-04-10 21:45:46 +10:00 |