Commit Graph

1406 Commits

Author SHA1 Message Date
terence tsao
a52f73b78f
Remove Shard Committees Last Part (#1411) 2019-01-29 14:56:32 +01:00
Raul Jordan
07c0387be1
Validator Epoch Assignments RPC Implementation (#1419)
* begin reorder

* move into beacon server

* add proposer server

* fix

* add proposer server

* wrap up rpc reorder

* eliminated deprecated RPC endpoints

* formatted nicely

* RPC protos

* fix lint

* integrate hash proto

* epoch assignments

* deprecated committee code

* remove deprecated messages

* fixed mocks, added tests for validator epoch assignments

* gazelle

* fix broken bazel

* nishant comment
2019-01-29 13:56:14 +01:00
terence tsao
9e6782da04
add spec comments to fork choice functions (#1401) 2019-01-29 12:19:17 +01:00
renovate[bot]
41a7fa3f64 Update org_golang_x_sys commit hash to 302c3dd (#1418) 2019-01-29 16:19:35 +08:00
renovate[bot]
36844e51c1 Update org_golang_x_sys commit hash to d573998 (#1417) 2019-01-29 16:01:49 +08:00
renovate[bot]
327db6e124 Update org_golang_x_crypto commit hash to c7b33c3 (#1415) 2019-01-29 06:55:48 +01:00
renovate[bot]
a3371542c3 Update dependency com_github_prometheus_prometheus to v2.7.0 (#1412) 2019-01-29 06:44:00 +01:00
Ivan Martinez
e9cfc08549 Update all beacon constants to latest in spec (#1407)
* Update all beacon constants

* Fix documentation

* Fix sync time in config

* Fix some names
2019-01-29 12:16:50 +08:00
Raul Jordan
4c46b02dac
Deprecating Old RPC Methods (#1410)
* begin reorder

* move into beacon server

* add proposer server

* fix

* add proposer server

* wrap up rpc reorder

* eliminated deprecated RPC endpoints

* formatted nicely

* RPC protos

* fix lint

* integrate hash proto

* autoclean

* deprecate all old code

* include the rest of methods mocks

* bazel run

* lint fixes
2019-01-28 20:41:04 +01:00
Raul Jordan
ed1c440e0d
Hash Proto Helper Function (#1414)
* hashproto

* fix hash proto

* lint
2019-01-28 17:08:27 +01:00
Raul Jordan
b86388410d
Restructure RPC Server Into Individual Servers (#1393)
* begin reorder

* move into beacon server

* add proposer server

* fix

* add proposer server

* wrap up rpc reorder

* gazelle

* lint fix

* fix broken build
2019-01-28 16:40:40 +01:00
Raul Jordan
98a4274b81
Refactor ChainService for Synchronous Tests and ChainStart (#1347)
* can now test blockchain service synchronously

* completed chainstart listener

* fix comment

* completed refactor

* fix

* fix build

* rem genesis fetch

* fix broken

* fixed concurrency bug

* comments
2019-01-28 19:59:37 +08:00
Preston Van Loon
8569e1c477
Restore deployVRC docker image (#1413)
* Add deployVRC docker image back after #1343

* gazelle
2019-01-28 06:37:24 -05:00
renovate[bot]
bd6943128e Update dependency com_github_prometheus_common to v0.2.0 (#1405) 2019-01-28 05:56:49 -05:00
Jie Hou
4a383de5b4 More Strict Input Length Check when Decoding Struct (#1409) 2019-01-28 11:41:11 +01:00
Nishant Das
1e862511aa
Replace Solidity Contract With Vyper (#1343)
* adding deposit contract

* Adding bindings

* remove unused info

* shifting deploy function over

* new changes

* fixing tests and moving log utils to contract package

* new changes,helpers, fixing tests

* fix failing test

* readme

* contract change

* changes to contract

* new changes,helpers, fixing tests

* missing files

* adding constructor to contract

* lint

* updating with spec

* finally got it fixed

* add in deposit arguments

* new changes

* all tests pass

* addresing raul's and terence's comments

* remove vrc
2019-01-28 16:45:28 +08:00
Nishant Das
a57659a43b
Fix Readme (#1406)
* remove refs

* remove ref from yaml
2019-01-28 16:24:53 +08:00
Ivan Martinez
8d88394b28 Hotfix/rename caspervotes (#1384)
* Begin renaming

* Missing goimports

* Continue rename

* Fix errors and mismatches

* Run proto script

* Fix proto

* Fix some more issues

* Fix tests
duh

* Fix goimports
2019-01-28 14:13:37 +08:00
Raul Jordan
4d43f5128a Remove Simulator Service (#1392)
* remove all instances of simulator service

* fix flag decl

* fix lint
2019-01-27 12:51:44 -08:00
renovate[bot]
c5b196006d Update dependency build_bazel_rules_nodejs to v0.16.5 (#1399) 2019-01-26 14:57:39 +08:00
Arun Kumar
f661053ea3 Update ProcessValidatorExits spec definition in comment (#1398) 2019-01-26 13:19:36 +08:00
renovate[bot]
51ea11aebc Update org_golang_x_sys commit hash to b907332 (#1382) 2019-01-25 16:48:08 -08:00
terence tsao
af1c382828
Remove Shard Committees 5 - Align Core Package (#1379) 2019-01-25 08:20:02 -08:00
Dean Eigenmann
5d4af67e7d Update attestation_test.go (#1394) 2019-01-25 20:00:01 +08:00
Ivan Martinez
858231c90c Change baserewardquotient to spec and remove Gwei from config (#1388)
* Change baserewardquotient to spec and remove Gwei from config

* Attempt to fix test

* Fix tests
2019-01-25 15:10:53 +08:00
Preston Van Loon
956721fe43 Simplified validator workflow 2 - updateAssignments (#1371)
* Add attestation p2p messages

* first pass refactor

* lint

* viz fix

* comment unused const for now

* Add opentracing spans

* PR feedback

* added updateAssignments implementation

* update proto

* handle error in runner

* only do updates on epoch start

* gazelle

* goimports
2019-01-25 11:26:03 +08:00
Ivan Martinez
45e9eda43c Normalize ETH to Gwei client-wide (#1381) 2019-01-24 15:29:04 -08:00
terence tsao
821e7148f8
Remove Shard Committees 4 - Validator Registries Processing (#1368) 2019-01-23 23:09:52 -08:00
terence tsao
987b6e53b8
Remove Shard Committees 3 - Get RANDAO Mix Helper (#1364) 2019-01-23 22:44:19 -08:00
renovate[bot]
a66bed56c2 Update dependency io_bazel_rules_go to v0.16.6 (#1380) 2019-01-23 22:01:32 -05:00
renovate[bot]
d525c4f8e0 Update dependency com_google_cloud_go to v0.35.1 (#1369) 2019-01-23 22:01:18 -05:00
Andrei Ivasko
69c8d9072f Health check for Prometheus service (#1320) 2019-01-23 17:26:25 -08:00
renovate[bot]
6be637740b Update dependency com_github_prometheus_common to v0.1.0 (#1374) 2019-01-23 15:32:35 -08:00
renovate[bot]
cd24fda392 Update org_golang_x_crypto commit hash to 057139c (#1373) 2019-01-23 10:54:41 -08:00
renovate[bot]
9968174706 Update org_golang_x_sys commit hash to c6b37f3 (#1372) 2019-01-23 09:15:00 -08:00
renovate[bot]
8931f8ed49 Update dependency io_opencensus_go to v0.19.0 (#1370) 2019-01-23 08:19:46 -08:00
Preston Van Loon
0becb6dc01 Simplified validator workflow - first pass (#1362)
* Add attestation p2p messages

* first pass refactor

* lint

* viz fix

* comment unused const for now

* Add opentracing spans

* PR feedback
2019-01-23 10:52:39 +08:00
Antoine Toulme
fde3d782ca use little endian for the data length encoding when performing a merkle hash (#1350) 2019-01-23 10:18:45 +08:00
renovate[bot]
9d96a45ee7 Update org_golang_x_sys commit hash to 054c452 (#1365) 2019-01-22 17:38:02 +08:00
renovate[bot]
1c7cadf1c0 Update org_golang_x_crypto commit hash to 6407268 (#1363) 2019-01-22 16:19:21 +08:00
terence tsao
5cb361895d
Rm Shard Committees 2 - Get Crosslink Committees Helpers (#1360) 2019-01-21 23:38:26 -08:00
renovate[bot]
ffd3c37d44 Update com_github_aristanetworks_goarista commit hash to 8f049bd (#1361) 2019-01-21 14:24:30 -08:00
renovate[bot]
b6a79f8f11 Update org_golang_x_sys commit hash to 770c602 (#1358) 2019-01-21 13:20:59 -08:00
Preston Van Loon
bef84d96f1
Add attestation p2p messages (#1359) 2019-01-21 13:41:16 -05:00
Ed Mazurek
10b237e72d db methods: remove Get prefix (#1351)
* db methods: remove Get prefix for getter functions

* db methods: consistent test names by removing Get
2019-01-21 17:34:11 +08:00
Nishant Das
7ff544fddf
Fix travis and Other Linter Errors (#1356)
* fix travis and other linter errors

* remove megacheck
2019-01-21 13:35:34 +08:00
Jie Hou
247e8a5f8c SSZ: Switch to Little Endian (#1354)
* Change encode to little endian

* Fix decode
2019-01-21 12:44:17 +08:00
terence tsao
779bccba1e
Rm Shard Committees 1 - Update Protos and Configs (#1353) 2019-01-20 10:26:33 -08:00
Preston Van Loon
cff32a0e6f
Add config for probot stale bot (#1349)
* Add config for probot stale bot

* more words
2019-01-19 10:30:49 -05:00
Raul Jordan
f89fce9bd7
Implement Basic LMD Ghost Fork Choice Skeleton + Helper Funcs (#1310)
* add fork choice helpers

* LMD GHOST basic implementation

* add todos

* add in the initial test and finalize rest of functions

* added tests

* more simulation, adding trivial case with only one option for a head

* panics

* begin helper function tests

* more helper tests

* higher vote wins

* LMD Ghost full test

* comment

* add types

* optimize

* prepared

* deposits for chain

* lint

* use the hash beacon block util

* rem unnecessary db methods

* comments

* setup works
2019-01-19 10:57:51 +08:00