Commit Graph

1701 Commits

Author SHA1 Message Date
Ivan Martinez
5aa7320507 Clear Up Code Inconsistencies (#1836) 2019-03-03 09:31:29 -08:00
Nishant Das
fe2eb5a812 Fixing Sync (#1830)
* fix querier

* new fixes for sync

* reducing batch size and adding equality condition

* remove commented code

* fix test

* fix few more tests
2019-03-03 11:03:47 -06:00
Preston Van Loon
f09c66035b
add slot metric (#1815) 2019-03-03 08:18:27 -05:00
Preston Van Loon
f5aed821a6 Set static to off for cgo built beacon-chain (#1813)
* Update BUILD.bazel

* gazelle
2019-03-02 23:49:27 -08:00
terence tsao
c467ef19fa remove fmt print (#1811) 2019-03-02 22:49:00 -05:00
terence tsao
94e6cfe478
Refactor Crosslink Committees at Slot (#1771) 2019-03-02 19:14:04 -08:00
terence tsao
6a1addbd1a remove logging exits (#1791) 2019-03-02 21:22:35 -05:00
terence tsao
394dae6076
Update Renovates (#1805) 2019-03-02 16:36:30 -08:00
Nishant Das
b8785ba1d8 Eth1 Data Fix (#1785)
* adding fields to initalize state

* fix references

* change naming

* change to eth1data

* lint
2019-03-02 17:38:22 -06:00
terence tsao
5ab93dfabb Fix Randao Reveal Bug (#1801)
* use 32 bytes

* all tests passed

* lint
2019-03-02 17:24:15 -06:00
renovate[bot]
3144c36164 Update dependency com_github_libp2p_go_libp2p_blankhost to v0.0.1 (#1793) 2019-03-02 10:25:32 -05:00
renovate[bot]
6c62d294bd Update dependency com_github_libp2p_go_libp2p_autonat to v0.0.1 (#1790) 2019-03-02 10:03:26 -05:00
Preston Van Loon
1c53c1a2b3 Update renovate (#1789) 2019-03-02 06:45:33 -08:00
Nishant Das
9de86c0d3a make less aggressive log (#1786) 2019-03-02 08:58:58 -05:00
Preston Van Loon
4b0249b89e
update geth (#1776) 2019-03-02 00:13:55 -05:00
Nishant Das
615daa98e9
Add Error Log for Attester (#1759)
* add log

* add test
2019-03-02 09:57:02 +08:00
Raul Jordan
88765b6d3c
Fix Attestation Info at Slot to Match Justified Epoch Expectations (#1768)
* fix crosslinkt committees

* fix lint

* fix in epoch

* imports

* add gx tags

* epoch shuffling tests

* regress test

* preston comments

* service change

* advance to handle skip slots

* ready

* imports

* rem unnecessary log

* revert config

* last comment

* imports
2019-03-01 18:33:55 -06:00
Preston Van Loon
8e3d8bca18
change this log to debug because its very verbose (#1772) 2019-03-01 16:28:03 -05:00
Preston Van Loon
4bf0ec0720 Block caching for ETH1Data (includes #1760) (#1769)
* add tests for cache

* changes to test

* add pruning and tests

* add fifo queue

* revamped key function

* fix all methods to use new fifo queue

* fix tests and gazelle

* refactor block cache

* lint

* add a bit more testing to service_test
2019-03-01 14:31:38 -06:00
James Towle
cfbbc9c61a Implemented the flag grouping logic (#1756)
* Implemented the flag grouping logic

* Added a usage file to the validator binary and fixed style issues

* Ran gazelle fix to fix the CI tests that failed
2019-03-01 14:48:05 -05:00
Raul Jordan
7fac8a3c42
Fix Crosslink Calculation in Assignment Fetching (#1737)
* fix crosslinkt committees

* fix lint

* fix in epoch

* imports

* add gx tags

* epoch shuffling tests

* regress test

* preston comments

* lint
2019-03-01 11:39:09 -06:00
Preston Van Loon
b6ff2d0ef1 Remove all tag based imports (#1766)
* remove all tag based imports

* add new import
2019-03-01 23:19:17 +08:00
terence tsao
6dc6a9b766 Misc Fixes for Epoch Processing (#1762)
* misc fixes for epoch processing

* more fixes

* more fixes

* added todos

* fixed tests

* lint
2019-02-28 20:47:32 -06:00
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