Commit Graph

2722 Commits

Author SHA1 Message Date
protolambda 904e2e9c0c
BLS on/off deco 2019-05-13 23:15:02 +02:00
Danny Ryan c2942c00c6
lint requires install_test in ci 2019-05-13 17:02:20 -04:00
Danny Ryan 5ba90d68e1
add flag for validate state root 2019-05-13 16:53:28 -04:00
Danny Ryan a0a2aa90de
lint 2019-05-13 16:40:45 -04:00
Danny Ryan 7bb85a69ed
add process_slots usage to validator guide 2019-05-13 16:34:30 -04:00
Danny Ryan 27c8e41b32
Merge branch 'dev' into JustinDrake-patch-14 2019-05-13 16:29:29 -04:00
Luke Anderson 67921ab96f
Fixed up some small wording in the API readme. 2019-05-13 16:30:53 +10:00
Luke Anderson ac7a40376b
Included a link to the API document in the root README.md file. 2019-05-13 16:26:45 +10:00
Luke Anderson 0b2c7acdb3
Fixed up markdown.
- Removed TOC
 - Removed all the old spec stuff
 - Uploaded spec to SwaggerHub and provided a link to it.
 - Added a 'license' section to the API description.
2019-05-13 16:25:22 +10:00
Luke Anderson 2035aea0b8
Formatting clean up.
- Moved /node/fork up with other node endpoints
 - Added descriptions and ordering to tags
 - Removed common merkle_root schema, to be more specific in descriptions.
 - Moved BeaconBlockCommon next to appropriate schemas.
 - Lots of small grammar improvements, full stops at end of descriptions.
2019-05-13 15:52:34 +10:00
Luke Anderson d10baf1dce
Added optional path, , renamed tags, and fixed up whitespace issues. 2019-05-13 15:18:56 +10:00
Luke Anderson 48ed25b2bd
Fleshed out a lot more of the API, nearly ready.
- Added all the fields from BeaconBlock(Body)
 - Tagged all paths as 'Minimum for validator'
 - Removed BeaconNode and ValidatorClient conventions
 - Moved the basic non-object schema components to the top
 - Broke out common beacon block properties into the BeaconBlockCommon object
 - Fixed links to Eth2.0 spec
2019-05-13 15:07:15 +10:00
Danny Ryan 204bbbbe30
Merge pull request #1076 from terencechain/patch-74
Fixed a bad formatted table
2019-05-12 20:16:10 -06:00
Age Manning feb3b5ea0d
Correct typo 2019-05-13 10:55:08 +10:00
terence tsao ba1949b2bc
Update 1_custody-game.md 2019-05-12 13:46:17 -07:00
Danny Ryan ca22c195e0
Merge pull request #1052 from ethereum/spectest-deco
Spectest decorator
2019-05-12 08:58:32 -06: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
protolambda 4f3f68bc12
signatures in tests, most block-ops updated, still many to go 2019-05-11 21:31:37 +02:00
protolambda 680017f69c
voluntary exit test case: invalid, exit in future 2019-05-11 18:33:41 +02:00
protolambda 636a45a415
voluntary exit test case: invalid index 2019-05-11 18:31:05 +02:00
protolambda 17d057e503
improve transfer testing 2019-05-11 18:24:30 +02:00
protolambda b4be220a48
new attestation tests
Co-Authored-By: Dmitry S <zilm13@users.noreply.github.com>
2019-05-11 17:52:44 +02:00
protolambda a39623a95a
fix test tooling bug 2019-05-11 17:51:02 +02:00
protolambda 3189cf0079
new proposer slashing tests
Co-Authored-By: jannikluhn <jannik@brainbot.com>
2019-05-11 17:01:12 +02:00
Diederik Loerakker 8570584a95
PR 1052 apply suggestions
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-05-11 16:44:09 +02: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
Luke Anderson b918cc3de3
Fleshed out a whole lot more of the OpenAPI specification for the API. 2019-05-10 14:03:59 +10:00
Luke Anderson 39fd625d35
Started porting the API proposal into OpenAPI 3 format. 2019-05-09 23:49:59 +10:00
Hsiao-Wei Wang 4db4d87930
Refactor `process_final_updates` 2019-05-09 14:57:36 +08:00
Hsiao-Wei Wang 3203e4f7d7
Merge branch 'dev' into vbuterin-patch-2 2019-05-09 14:52:56 +08: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 8da4b8173e
remove unnecessary import of copy 2019-05-08 14:49:53 -06:00
Justin Drake c37157ead1 Revert exception handling 2019-05-08 19:15:23 +01:00
protolambda d9baee2481
move tests to standard pkg/test folder, enable conftest options with soft-import, update readme and makefile 2019-05-08 18:14:47 +02:00
protolambda f9539ed1ab
move tests, update operations test vector generation 2019-05-08 17:33:09 +02: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