Commit Graph

1701 Commits

Author SHA1 Message Date
Raul Jordan
088507af66
Initialize State from ChainStart Deposits in POWChainService (#1474)
* tests passing once again in db package

* fixed all tests

* revert some weird p2p changes made accidentally

* fix repeated code

* build fixed

* fix p2p

* fix all tests
2019-02-03 16:44:48 -06:00
Preston Van Loon
30080656bc Update config for deposits processing (#1473) 2019-02-03 20:21:18 +01:00
Preston Van Loon
62f304e668
Update contract log chain start with timestamp=now (#1471)
* Update contract code to set chainstart to now

* Add note
2019-02-03 12:15:44 -05:00
Preston Van Loon
212e9c5268
Fix missing import in validator image (#1469)
* Fix missing import

* force building of manual targets

* Revert "force building of manual targets"

This reverts commit ada170ffa9c3f3592122e6e48372c330e355ac3a.
2019-02-03 09:07:01 -05:00
Preston Van Loon
0ffa79b2dc
Add configuration for deploying the deposit contract (#1467) 2019-02-03 08:55:02 -05:00
Nishant Das
9a4418c990
Clean Up Simulated Backend (#1433)
* initialize beacon state separately

* extracting out testcase into another func

* creating function for simulated objects

* creating simulated object struct

* final clean up

* documentation

* lint

* review comments
2019-02-03 18:58:36 +08:00
renovate[bot]
a96d4eca61 Update org_golang_x_sys commit hash to 7ae0202 (#1468) 2019-02-03 00:43:59 -05:00
renovate[bot]
5321b0a844 Update com_github_aristanetworks_goarista commit hash to e2363f6 (#1459) 2019-02-03 00:43:45 -05:00
Ed Mazurek
9943e87d76 update-mockgen.sh script (#1451)
* create update-mockgen.sh

* update-mockgen.sh: use for loop

* update-mockgen.sh access array through indices
2019-02-03 00:13:16 -05:00
renovate[bot]
453abae3f0 Update com_github_syndtr_goleveldb commit hash to 2f17a33 (#1466) 2019-02-03 00:12:05 -05:00
Preston Van Loon
5076ee8fd7
linguist-generated=true for mock and pb go files (#1465) 2019-02-02 17:25:28 -05:00
Ivan Martinez
5b209a2b18 Update DepositRoot to Eth1Data (#1403)
* update proto fileds

* Start writing ProcessETH1Data function

* More progress on tests

* Continue more work on tests

* Fix almost all the tests

* Fix all tests

* Fix everything

* Fix after rebase

* Fix for suggestions and fix per-epoch operation

* Remove method usage

* Fix build

* Fix suggestions

* Fix merge issues and suggestions

* Fix rebase issues

* Remove the error from ProcessETH1Data

* WIP write test

* Update test to reach crosslinks

* Revert "Update test to reach crosslinks"

This reverts commit 5ff9177f96c12c98c54eafffcfb385bd966b0888.

* Revert "WIP write test"

This reverts commit f7e7ed715c4af6b7e3c95643f7ebf85830caf638.
2019-02-02 16:24:42 -05:00
renovate[bot]
d06f5ac163 Update org_golang_x_sys commit hash to afcc84f (#1453) 2019-02-02 15:19:06 +01:00
terence tsao
3acffd878c
Aligning ETH2.0 spec - RANDAO helpers (#1454) 2019-02-01 22:22:52 +01:00
renovate[bot]
e8dab78527 Update dependency com_github_whyrusleeping_yamux to v1.1.5 (#1458) 2019-02-01 20:17:22 +01:00
renovate[bot]
f798cd249f Update dependency build_bazel_rules_nodejs to v0.16.7 (#1457) 2019-02-01 18:25:22 +01:00
terence tsao
cdf50e2fa2 Aligning ETH2.0 Spec - Implemented Slot & Epoch Helpers (#1447)
* starting to use SlotToEpoch...

* updated exisiting functions...

* fixed epoch tests

* fixed rest of the tests

* tests for newly added helper functions

* fixed visiblity

* added PrevEpoch and NextEpoch helpers

* lint

* removed file from other commit
2019-02-02 00:52:35 +08:00
terence tsao
72542d5fc7
removed exit count (#1455) 2019-02-01 17:07:11 +01:00
renovate[bot]
b6ea236480 Update dependency com_github_libp2p_go_buffer_pool to v0.1.3 (#1452) 2019-02-01 13:07:26 +08:00
renovate[bot]
50341b986f Update org_golang_x_crypto commit hash to b8fe169 (#1450) 2019-01-31 16:52:07 -05:00
terence tsao
8c355497ee
Beacon Block Operation Pool to store Attestation (#1444) 2019-01-31 19:54:24 +01:00
renovate[bot]
af588ff5ec Update dependency com_github_prometheus_prometheus to v2.7.1 (#1446) 2019-01-31 13:21:44 -05:00
Raul Jordan
67ae7a3a98
Validator Secret Initialization (#1436)
* begin validator initialization

* utilize keystore

* cli create

* add items

* validator accounts package

* completed tests

* linter

* fix broken build
2019-01-31 12:57:57 +01:00
terence tsao
3eff953df3
Inclusion Distance with Multiple Attestations (#1404) 2019-01-31 10:33:12 +01:00
renovate[bot]
66196b730c Update dependency build_bazel_rules_nodejs to v0.16.6 (#1426) 2019-01-31 06:40:40 +01:00
renovate[bot]
99d7031efb Update com_github_minio_sha256_simd commit hash to 2d45a73 (#1443) 2019-01-31 04:07:05 +01:00
Raul Jordan
cec6c8de83 Standardize Naming of Shared Packages, Remove Deprecated Packages (#1435)
* rem txpool

* standardize repo shared utils, remove deprecated items

* complete

* package lvl godoc
2019-01-31 10:53:58 +08:00
renovate[bot]
c7d4516315 Update dependency com_github_miekg_dns to v1.1.4 (#1442) 2019-01-30 17:07:46 -05:00
terence tsao
844f61d32c
fixed test (#1440) 2019-01-30 20:59:33 +01:00
terence tsao
665f3f885c
New Operation Service Part 1 - Sync and DB connection (#1437) 2019-01-30 20:48:50 +01:00
renovate[bot]
c59839125f Update org_golang_x_sys commit hash to aca4487 (#1441) 2019-01-30 20:03:19 +01:00
Raul Jordan
e4337c4b27
cli create (#1439) 2019-01-30 16:24:28 +01:00
Raul Jordan
425ec4eee1
Add NoSigVerification Option to State Transition (#1434)
* no sig verify

* gofmt
2019-01-30 13:45:01 +01:00
Raul Jordan
ec9240106e
Implement WaitForChainStart RPC Server and Client (#1421) 2019-01-30 13:28:53 +01:00
renovate[bot]
3f25b1ae84 Update org_golang_x_crypto commit hash to b01c7a7 (#1432) 2019-01-30 07:14:45 -05:00
renovate[bot]
de975ba2fd Update dependency io_bazel_rules_go to v0.17.0 (#1427)
* Update dependency io_bazel_rules_go to v0.17.0

* fix import

* upgrade go-ethereum rules_go
2019-01-30 06:59:53 -05:00
renovate[bot]
0c0cabe377 Update dependency io_bazel_rules_docker to v0.7.0 (#1400)
* Update dependency io_bazel_rules_docker to v0.7.0

* Update WORKSPACE

* Update WORKSPACE

* Update WORKSPACE

* fix build
2019-01-30 06:15:48 -05:00
Preston Van Loon
da891edca4
Remove coverage from travis (#1431) 2019-01-30 05:19:52 -05:00
terence tsao
c0f36e467b
Eliminate Custody Logic for Phase 0 (#1408) 2019-01-30 11:11:13 +01:00
renovate[bot]
315cdfc5cb Update org_golang_x_oauth2 commit hash to 99b60b7 (#1428) 2019-01-30 15:49:16 +08:00
renovate[bot]
c5c793c6c4 Update com_github_prometheus_client_model commit hash to fd36f42 (#1425) 2019-01-30 14:23:12 +08:00
renovate[bot]
26c03acea2 Update org_golang_x_crypto commit hash to ccddf37 (#1424) 2019-01-30 06:43:57 +01:00
renovate[bot]
fa97dfa15c Update com_github_prometheus_procfs commit hash to 316cf8c (#1423) 2019-01-30 10:26:53 +08:00
renovate[bot]
ea97442260 Update org_golang_x_crypto commit hash to bf88e3f (#1422) 2019-01-29 19:12:04 +01:00
terence tsao
ed5229f858 Add Beacon Block Operations to Messages.proto (#1420)
* added rest of the beacon block ops to messages.proto

* s/respond/response
2019-01-29 16:18:38 +01:00
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