Commit Graph

1678 Commits

Author SHA1 Message Date
Nishant Das
43932bc0d1 Optimize ETH1 Data Vote (#1757)
* optimize ETH1 data vote flow

* fixing merge issues

* Add benchmark

* fix genesis case
2019-02-28 17:27:28 -06:00
terence tsao
852214e497
Remove Next Epoch Registry Change Checks (#1761) 2019-02-28 07:27:43 -08:00
terence tsao
a483dba91c Update Renovates (#1758)
* Update com_github_libp2p_go_libp2p_autonat commit hash to ca1e879

* Update com_github_libp2p_go_libp2p_discovery commit hash to f6df2e8

* Update com_github_prometheus_procfs commit hash to bbced96

* Update com_github_libp2p_go_libp2p_autonat commit hash to ca1e879

* Update com_github_libp2p_go_libp2p_discovery commit hash to f6df2e8

* Update com_github_prometheus_procfs commit hash to bbced96

* Update org_golang_x_lint commit hash to 5b3e6a5

* Update dependency com_github_google_uuid to v1.1.1

* Update dependency com_github_hashicorp_golang_lru to v0.5.1
2019-02-28 15:13:59 +08:00
renovate[bot]
889caebdb0 Update org_golang_x_crypto commit hash to 31a3858 (#1755) 2019-02-28 14:44:18 +08:00
shayzluf
62c6cd58e0 Batch db write in order to resolve test slowliness (#1732)
* first version of batching

* batching db writes to solve test slowliness

* remove debug msg

* variable problem

* remove exesive code
2019-02-28 13:14:52 +08:00
Nishant Das
b1799e08be add address check (#1754) 2019-02-27 20:49:57 -08:00
Preston Van Loon
a19cb1864e Tracing additions (#1747) 2019-02-27 19:55:47 -08:00
terence tsao
4bc324dc95
Make Getting Epoch Assignment Generic (#1746) 2019-02-27 17:16:05 -08:00
terence tsao
9f950211d8
Rename Shard Block Root to Crosslink Data Root (#1743) 2019-02-27 15:07:39 -08:00
renovate[bot]
5ab34780a6 Update org_golang_x_crypto commit hash to 215aa80 (#1742) 2019-02-27 15:52:02 -05:00
Preston Van Loon
c4afa34ac3
update gazelle to 0.17.0 (#1741) 2019-02-27 15:35:00 -05:00
Ivan Martinez
136950e0c5 Update some of client to v0.3 spec (#1733)
* Update validator to v0.3 spec

* Fix typos with rename
2019-02-27 12:21:15 -08:00
terence tsao
79252f1e96 Fix committee assignment bugs (#1740)
* moved processiing logs to block chain service layer

* fix-committee-start-shard-bug

* typo

* fixed test
2019-02-27 13:36:37 -06:00
renovate[bot]
f7ac2b1820 Update com_github_golang_lint commit hash to 5b3e6a5 (#1739) 2019-02-27 13:44:24 -05:00
renovate[bot]
2c4b1d0727 Update com_github_libp2p_go_libp2p_autonat commit hash to 20af83c (#1725) 2019-02-27 13:44:11 -05:00
Preston Van Loon
6935f610d1
Update renovates (#1738)
* Update com_github_libp2p_go_libp2p_autonat commit hash to 4fdddcb

* Update com_github_libp2p_go_libp2p_discovery commit hash to 39a8e5c

* Update org_golang_x_oauth2 commit hash to e64efc7

* Update org_golang_x_sync commit hash to e225da7

* Update org_golang_x_sys commit hash to 775f819

* Update dependency com_github_konsorten_go_windows_terminal_sequences to v1.0.2

* Update dependency com_github_multiformats_go_multiaddr_net to v0.0.1

* Update dependency com_github_multiformats_go_multistream to v0.0.1
2019-02-27 13:32:31 -05:00
renovate[bot]
d8e355498c Update dependency io_bazel_rules_go to v0.17.1 (#1731) 2019-02-27 12:21:09 -05:00
terence tsao
727adacb4b fixed slashed epoch (#1723) 2019-02-26 16:12:06 -06:00
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