Commit Graph

1660 Commits

Author SHA1 Message Date
Raul Jordan
c2ad89a8b6
invalid timestamp from log issue (#1720) 2019-02-26 15:19:51 -06:00
Preston Van Loon
28e360665d
Complain if contract address changes (#1724)
* complain if wrong contract address

* add comment
2019-02-26 13:40:17 -05:00
terence tsao
84a6d2dcc5 Fix Get Previous Epoch Logic (#1721)
* moved processiing logs to block chain service layer

* fixed prev epoch logic
2019-02-26 11:53:36 -06:00
Raul Jordan
ed156e7c0e
use reg change flag everywhere (#1722) 2019-02-26 11:27:27 -06:00
Preston Van Loon
a21aa28ff8
remove preemptive chainstart variable set (#1719) 2019-02-26 11:41:22 -05:00
terence tsao
0976584f8e moved processiing logs to block chain service layer (#1708) 2019-02-26 10:23:38 -06:00
terence tsao
c4ebb0a522
Fix attestation inclusion (#1715) 2019-02-26 07:38:49 -08:00
kaidiren
40c0daf343 Update README.md (#1717)
fix link jump error for Running an ETH2.0 Validator Client
2019-02-26 09:48:40 -05:00
Nishant Das
ef137beea4 reduce test time (#1716) 2019-02-26 06:45:59 -05:00
Nishant Das
a27c52e3a3
Update Initial Sync (#1694)
* adding check for chainHead

* add batch block limit

* adding state root

* removing genesisHash

* removing setBlockForInitialSync

* fixing tests

* remove obsolete check

* changing to check for state initialization

* changing var name

* fix test

* add in tests

* fix all tests

* lint

* reduce test time

* merge fixes

* gazelle
2019-02-26 13:37:28 +08:00
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