Commit Graph

1650 Commits

Author SHA1 Message Date
Raul Jordan
f5178ef4a6 registry change fix (#1713) 2019-02-25 20:19:24 -08:00
Raul Jordan
20803b4c9d
Revert Usage of ssz.TreeHash Across Repo (#1711)
* revert using ssz.TreeHash

* gazelle
2019-02-25 21:42:31 -06:00
renovate[bot]
33d65dbf05 Update dependency build_bazel_rules_nodejs to v0.26.0 (#1712) 2019-02-25 18:57:15 -08:00
renovate[bot]
3da5bced67 Update dependency com_github_mattn_go_isatty to v0.0.6 (#1709) 2019-02-25 18:35:00 -08:00
Raul Jordan
84142477ea
Utilize New UpdateRegistry Function (#1710)
* fix current boundary issue

* gazelle

* test fix

* deprecate old epoch processing justified hash indices

* finality fixes

* fmt

* pseudocode

* underflow conditions

* add back att fix

* remove off by one fix

* fix most tests

* fix all tests

* logging proposers

* use the update registry function

* outdated tests

* fixed check reg change

* gazelle

* tests pass

* registry change flag
2019-02-25 18:37:55 -06:00
Raul Jordan
f1114ca35c
Align Epoch Processing With Spec (#1703)
* fix current boundary issue

* gazelle

* test fix

* deprecate old epoch processing justified hash indices

* finality fixes

* fmt

* pseudocode

* underflow conditions

* add back att fix

* remove off by one fix

* fix most tests

* fix all tests
2019-02-25 15:16:12 -06:00
renovate[bot]
e142532fdb Update com_github_prometheus_procfs commit hash to 6ed1f7e (#1706) 2019-02-25 12:39:49 -08:00
Preston Van Loon
facb8ba1fe add gx/ to all of these deleted tags (#1705) 2019-02-25 13:18:24 -06:00
terence tsao
b6cc79fa2a
Save Validator Public Key -> Index in DB (#1690) 2019-02-25 09:37:02 -08:00
renovate[bot]
7aa39528d1 Update org_golang_x_crypto commit hash to 7f87c0f (#1700) 2019-02-25 12:23:08 -05:00
renovate[bot]
5845352aa3 Update com_github_multiformats_go_multiaddr_net commit hash to c8d587e (#1702) 2019-02-25 09:12:40 -08:00
renovate[bot]
7e2f939ddb Update dependency com_github_multiformats_go_multiaddr to v0.0.1 (#1699) 2019-02-25 20:52:33 +08:00
renovate[bot]
f0bf16fb28 Update org_golang_x_sys commit hash to cc5685c (#1697) 2019-02-25 20:26:00 +08:00
Raul Jordan
e19920aec1
Miscellaneous Runtime Fixes & Improvements - Raul (#1674)
* fatal if impossible to receive chainstart

* fix tests

* fix

* custom delay

* completed custom delay

* errors

* better logs, nothing at genesis

* use demo in val

* add gazelle

* log

* starting to log stuff

* pass in ops

* avoid printing the large #s for debug, still working on tests..

* all around better logging

* fixed build error in epoch process

* fixed state transiton tests

* fixed block tests

* lint

* verify sigs in randao

* ready for inclusion falg

* only print waiting when slot is not valid

* fix build

* mod config

* fixed last justified slot issue

* fix inclusion

* fixed attestation issue

* using zero hash from params instead

* fix tests

* update balance

* removed swp

* more `- genesis_slot` for logs

* rem unused log

* fix broken tests

* account for skip slots in state root computation

* fixes done

* validator guide bug fixes - 671

* epoch boundary at the last slot of the epoch

* fix epoch issue

* more balance cal logs for debugging

* greater balance

* attestaton fixes

* fixes

* addressed testrun

* fixed ejection balance

* fix tests with far future epoch

* revert sync change

* revert initial sync change

* fix changes

* off by one att fix

* revert the att fix

* address comments

* format

* fix build

* rem file
2019-02-24 20:09:45 -06:00
Preston Van Loon
e14378a0ec
add missing dep to the docker image (#1695) 2019-02-24 11:34:36 -05:00
renovate[bot]
94fbf62b67 Update org_golang_x_crypto commit hash to ffb98f7 (#1693) 2019-02-24 18:31:59 +05:30
Preston Van Loon
69572d0ada
Add validator balance metric (#1692)
* Add validator metrics

* Add test

* use hex.EncodeToString for faster processing
2019-02-23 23:33:10 -05:00
renovate[bot]
900a0bad36 Update org_golang_x_crypto commit hash to 6635ad9 (#1691) 2019-02-23 20:06:52 -08:00
Ivan Martinez
06a9b582a0 Implement BlockExists and BlockHashByHeight (#1682) 2019-02-23 18:58:13 -08:00
Nishant Das
f5c88e1bcb
Test Syncing with Another Fully Synced Service (#1594)
* clean up test

* adding test setup

* add chainstart check to sync querier

* goimports

* goimports

* backend cleanup

* adding getters

* lint

* moving to db

* gazelle

* adding more services setup

* adding more changes

* adding different test setups

* other merge issues

* imports

* fixing keys

* get intial sync able to be set up

* new changes and gazelle

* use simulated p2p

* everything finally works

* unexport fields

* revert changes from merge

* remove mock server

* add documentation

* gazelle

* add another node

* review comments

* fix tests
2019-02-23 11:36:20 +05:30
renovate[bot]
e118713a2f Update dependency com_github_mattn_go_isatty to v0.0.5 (#1686) 2019-02-22 16:29:35 -08:00
Preston Van Loon
273993a7e0 DepositInput: Proof of possession, withdrawal credentials (#1675)
* move deposit input to keystore pkg, add proof of possession and withdrawal addr

* Add spec details for deposit input

* Use ssz

* actually use withdrawal key
2019-02-22 14:24:31 -06:00
renovate[bot]
6bb2d32ad0 Update org_golang_x_sys commit hash to cd39177 (#1688) 2019-02-22 11:20:59 -08:00
renovate[bot]
b072a1d86a Update dependency com_github_mattn_go_colorable to v0.1.1 (#1685) 2019-02-22 14:01:23 -05:00
Preston Van Loon
5adbaa2e23
Add example encoding for godoc ssz (#1687)
* Add example encoding for godoc ssz

* A bit more comments

* Add comment about fatal error
2019-02-22 12:50:28 -05:00
Ivan Martinez
0d29b2cd91 Makes test naming consistent across codebase (#1636) 2019-02-22 07:11:26 -08:00
Preston Van Loon
9f533fb7ae fix zero being power of two (#1684) 2019-02-22 06:45:25 -08:00
renovate[bot]
69058c126d Update org_golang_x_sys commit hash to a9d3bda (#1681) 2019-02-22 19:10:20 +05:30
renovate[bot]
3f0b3d7b7f Update dependency com_github_syndtr_goleveldb to v1 (#1683) 2019-02-22 18:34:11 +05:30
renovate[bot]
a152bc9950 Update org_golang_x_exp commit hash to 438050d (#1680) 2019-02-22 17:48:17 +05:30
renovate[bot]
c7d31935ee Update com_github_aristanetworks_goarista commit hash to 728bce6 (#1677) 2019-02-21 19:53:18 -08:00
renovate[bot]
7077fce256 Update org_golang_x_exp commit hash to 3d75e7a (#1678) 2019-02-21 14:00:00 -08:00
Raul Jordan
0a3b8fae9b
Deprecate Old Configuration Flags (#1676)
* replace password flag with path to password

* changed to simple string flag

* fix build
2019-02-21 14:34:44 -06:00
Raul Jordan
718f99ee10
Custom ChainStart Genesis Time Delay in Deposit Contract (#1666)
* custom delay

* completed custom delay
2019-02-21 10:51:29 -06:00
renovate[bot]
143d6335d5 Update org_golang_x_sys commit hash to b4e8571 (#1659) 2019-02-21 16:57:43 +05:30
Nishant Das
5e5a8e75e5
Add ChainStart Check To Sync (#1671)
* Add chainstart to sync service

* adding changes to node

* fixing tests

* comments

* add test

* add another test

* remove test in build.bzl
2019-02-21 12:27:04 +05:30
renovate[bot]
ff9174eefd Update com_github_libp2p_go_libp2p_discovery commit hash to 5e0d40c (#1672) 2019-02-20 22:28:26 -08:00
renovate[bot]
82e47acd1a Update org_golang_x_oauth2 commit hash to 9b3c759 (#1658) 2019-02-20 20:31:16 -08:00
renovate[bot]
df69bcbeb0 Update dependency com_github_multiformats_go_multihash to v1.0.10 (#1669) 2019-02-20 20:38:54 -05:00
renovate[bot]
22c44e74af Update dependency build_bazel_rules_nodejs to v0.18.7 (#1668) 2019-02-20 20:04:11 -05:00
Raul Jordan
dcc0672a19
Fatal if ChainStart Receiving Fails (#1665)
* fatal if impossible to receive chainstart

* fix tests
2019-02-20 15:58:23 -06:00
terence tsao
06bfda24d5 Revert "Remove Redundant Committee Assignment Getters in Validator RPC Service (#1655)" (#1664)
This reverts commit 15f8b6a10d.
2019-02-20 14:46:30 -06:00
terence tsao
ddb8fa1867
Implement Process Slot for Per-slot Processing (#1663) 2019-02-20 12:08:05 -08:00
terence tsao
15f8b6a10d
Remove Redundant Committee Assignment Getters in Validator RPC Service (#1655) 2019-02-20 11:53:49 -08:00
Cayman
df28379c0e Update typo in Contributing.md (#1662)
gometallinter -> gometalinter
2019-02-20 11:24:28 -08:00
Raul Jordan
19abe81472
Implement Randao Reveal Signing in Proposer Client (#1650)
* finish the BLS API wrapper

* all tests passing

* unexported comment

* gofmt tests for bls

* block processing test into own package to avoid cycle

* randao tests pass

* blocks test passing

* use common deposit generator

* helper

* resolved import cycle

* setup initial

* builds

* almost done with blockchain tests

* fix blockchain tests

* getting through with chaintests

* revert client change

* lint

* sync master conflict gazelle

* randao test fixes

* randao proposer impl

* tests pass
2019-02-20 12:58:34 -06:00
Cayman
e3ba3e181c Remove leaf hashing in MerkleRoot function (#1653)
* Remove leaf hashing in MerkleRoot function

See https://github.com/ethereum/eth2.0-specs/pull/646 for clarification.

* Add comment clarifying leaf hashing removal
2019-02-20 23:51:35 +05:30
Raul Jordan
9bee695a3b
Implement Eth1Data RPC Server Functionality (#1615)
* eth1 data comments

* eth1 data RPC server side impl

* logic is data objects is empty

* finished eth1 server logic

* update comments

* fmt

* big int comparisons

* begin adding eth1 data tests

* empty data votes test runs

* all tests complete with every code branch triggered, behavior correct

* fmt, imports

* address comments

* wrapped up tests

* addressed all comments
2019-02-20 11:57:02 -06:00
Nishant Das
668a7633ad
Add Utility to Send Deposit Transactions (#1618)
* add in utility

* fix errors

* remove image target

* add in stats package

* add in stats package

* key fix
2019-02-20 12:21:33 +05:30
terence tsao
c0bf3ec5b9
Implement Attestation Req/Res for Sync Service (#1654)
* sync responds for attestation and unseen attestations

* hook up routines

* wrapped up tests

* better name

* gaz
2019-02-19 22:29:51 -08:00