Commit Graph

2288 Commits

Author SHA1 Message Date
Preston Van Loon
cebefde335
Update config.go to fix BLS issue (#2821)
* Update config.go

* fix test
2019-06-18 18:02:01 -04:00
terence tsao
df84615496 Renovate Updates (#2815)
* Update dependency com_github_golang_snappy to v0.0.1

* Update dependency io_bazel_rules_go to v0.18.6

* Update dependency org_uber_go_automaxprocs to v1

* Update dependency com_github_prometheus_client_golang to v1

* Update libp2p

* Update libp2p
2019-06-17 20:26:38 -04:00
Preston Van Loon
132a5f10f2 Update README.md (#2801)
To display build status for master only
2019-06-17 14:47:31 -07:00
Preston Van Loon
c0752f0de5
Create FUNDING.yml (#2800)
Added gitcoin
2019-06-17 01:49:06 -04:00
Preston Van Loon
c30bc3dd97
Revert "Add BoltDB Internal Stats (#2768)" (#2799)
This reverts commit c66186b54a.
2019-06-16 15:50:23 -04:00
Preston Van Loon
dd131561bf automaxprocs (#2770) 2019-06-13 07:53:42 -07:00
Hsien-Tang Kao
3a167e54b5 Properly log and handle HTTP server error (#2685) 2019-06-12 19:58:49 -04:00
Nishant Das
c66186b54a Add BoltDB Internal Stats (#2768)
* lint

* add metrics

* rename file

* add review changes

* remove dumb pattern

* fix naming

* add all the buckets data

* change to seconds

* Update beacon-chain/db/db_metrics.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* preston's comments
2019-06-12 19:07:36 -04:00
Nishant Das
663490ee1f Update Phore Dependency to the latest version (#2792)
* add new changes

* fix typos
2019-06-12 11:06:39 -05:00
Nishant Das
d48e0925d0 Add gRPC Gateway Folder (#2793)
* add gateway proto files

* lint
2019-06-12 10:11:04 -05:00
Preston Van Loon
6611916689
Update codecov to ignore generated code (#2794) 2019-06-12 10:45:17 -04:00
Preston Van Loon
d9ee55013d
Use generalized examples in test (#2786) 2019-06-10 14:29:15 -04:00
renovate[bot]
9793de59a6 Update libp2p (#2783)
* Update libp2p

* Update libp2p, remove unused WORKSPACE go_repositories, fix test
2019-06-10 12:17:42 -04:00
terence tsao
81f777cd46 Renovate Updates (#2785)
* Update com_github_atlassian_bazel_tools commit hash to 6fbc36c

* Update dependency com_github_prometheus_procfs to v0.0.2

* Update dependency com_github_spf13_cobra to v0.0.5

* Update dependency com_google_cloud_go to v0.40.0

* Update dependency org_golang_google_api to v0.6.0
2019-06-10 10:41:16 -04:00
Preston Van Loon
fbac09c1f6
Add go maxprocs metric (#2765) 2019-06-07 15:43:22 -04:00
gzuhlwang
78c3166ef2 fix typo (#2764) 2019-06-07 07:58:27 -04:00
terence tsao
85c5672ab3 Mega Renovate Updates (#2751)
* Update dependency com_github_prometheus_client_golang to v0.9.3

* Update dependency com_github_spf13_cobra to v0.0.4

* Update dependency com_google_cloud_go to v0.39.0

* Update dependency io_bazel_rules_go to v0.18.5

* Update com_github_atlassian_bazel_tools commit hash to f04c7c0

* Update com_github_prysmaticlabs_go_ssz commit hash to 2e84733

* Update io_bazel_rules_k8s commit hash to e521766

* Update dependency build_bazel_rules_nodejs to v0.30.2

* Update dependency com_github_prometheus_procfs to v0.0.1

* Update dependency io_opencensus_go to v0.22.0

* Update libp2p

* Update dependency com_github_ghodss_yaml to v1

* Update dependency grpc_ecosystem_grpc_gateway to v1

* Update libp2p

* Revert "Update io_bazel_rules_k8s commit hash to e521766"

This reverts commit b2c5ee219c786c709c096af1f0733fc3ac05eb69.

* Revert "Update dependency build_bazel_rules_nodejs to v0.30.2"

This reverts commit 3286af0b462cfcf1773f1736986b9ada9565e558.

* Revert "Update libp2p"

This reverts commit 699fc4489fe67eb87a2ddd595b0f9f393ed151a1.

* Revert "Update libp2p"

This reverts commit e1a2372cd0d82d3125cce2351d0d9b67c6d532fa.
2019-06-03 11:21:38 +08:00
Preston Van Loon
9e98e914a1 Add a gRPC gateway (#2604) 2019-06-02 08:33:44 -07:00
Dan
71b5d5beec Adding the BlockTreeBySlots function for getting the Block tree filte… (#2720) 2019-06-01 22:41:17 -07:00
Preston Van Loon
55bedd0745 Move go-ssz to external repo under MIT license (#2722) 2019-05-29 18:04:25 -07:00
Antoine Toulme
932e68571b expose p2p private key for static peering (#2719)
* expose p2p private key for static peering

* Review revisions

* Use testutil.TempDir()

* Use testing.T to report fatal errors
2019-05-29 15:43:23 -04:00
Antoine Toulme
fcc54317a3 Fix static peering (#2725)
* Fix static peering

* Fix import and use a slice to assemble peers to watch for

* Add a check for zero-length

* Fix duplicate import
2019-05-29 15:30:26 -04:00
Nishant Das
3871be006c Update Renovate (#2711) 2019-05-28 06:13:35 -07:00
Preston Van Loon
9ce5de3d95 Add flag to whitelist certain connections (#2716) 2019-05-28 05:54:49 -07:00
Hsien-Tang Kao
0aeaed866e Fix attester server test data race (#2708) 2019-05-27 06:22:51 -07:00
Preston Van Loon
e71e91c9aa
update BLS (#2692) 2019-05-25 11:26:03 -04:00
Preston Van Loon
2d7dcfae61
fix joonix log after https://github.com/joonix/log/pull/13 (#2691) 2019-05-24 16:54:03 -04:00
skillful-alex
305fea5bdb fix panic if activeValidatorIndices is zero (#2621)
* fix panic if activeValidatorIndices is zero

* add unit test
2019-05-24 16:34:33 -04:00
LamboshiNakaghini
4fd8ddf8ca update README.md (#2684)
* Update README.md

Added more complete instructions for running testnet on Linux.

* Update README.md
2019-05-24 16:23:20 -04:00
Hsien-Tang Kao
3bf46ff6e8 Update CONTRIBUTING.md (#2679) 2019-05-23 06:30:00 -07:00
shayzluf
5e3931dc44 change rebase into pull (#2669) 2019-05-22 14:53:46 -07:00
Dan
b040ac909e Persistent logs (#2660)
* added file log feature

* moved the logic to one central location (shared/logutil/logutil.go), removed new line chars from file logs

* removed a resdundant temp file refrences that went into beachon-chain/BUILD.bazel by mistake

* Update shared/cmd/flags.go

Co-Authored-By: shayzluf <thezluf@gmail.com>

* Update shared/cmd/flags.go

Co-Authored-By: shayzluf <thezluf@gmail.com>

* manually added loguitl dep to the go image target

* Manaully added the logutil dep to the go image target

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update validator/main.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update validator/main.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: terence tsao <terence@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: terence tsao <terence@prysmaticlabs.com>

* syntax and styling changes required by code reviewers

* Update beacon-chain/main.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/main.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* changed the return type of 'ConfigurePersistentLogging' from bool, error to error based on recommendation from code review

* ran goimports in beacon-chain/main.go after tests have failed

* Update beacon-chain/main.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/main.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/main.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update shared/logutil/logutil.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update validator/main.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Update validator/main.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>

* Changes requested by code reviewer

* Added a mandatory comment (linter required)  to the 'Fire' event

* Changed the beacon-chain and validator to support only same format stdout and file logging due to complications in the outputs when using different formats.

* Had to run gazelle --fix due to check failure
2019-05-22 09:22:11 -04:00
Preston Van Loon
2617f5c3ac Eth1 bal monitoring followup (#2651)
* Add eth1 balance monitoring

* lint

* lint

* priority

* lint

* use value in alerts

* fix beacon-chain service

* working on stability

* more yaml

* add more alerts to the finality alerts

* add nother header to ignore

* extend requirement time for low balance

* remove old flag

* remove extra flag

* feedback to use consistent flag

* PR feedback

* fix image build
2019-05-20 14:05:04 -04:00
Preston Van Loon
3f205e462f
add security file (#2662) 2019-05-20 12:55:38 -04:00
Preston Van Loon
46f215b673 Renovate updates (#2661) 2019-05-20 11:10:43 -04:00
Preston Van Loon
40588021d4 Add eth1 balance monitoring alert (#2575)
* Add eth1 balance monitoring

* lint

* lint

* priority

* lint

* use value in alerts

* fix beacon-chain service

* working on stability

* more yaml

* add more alerts to the finality alerts

* add nother header to ignore

* extend requirement time for low balance

* remove old flag

* remove extra flag

* feedback to use consistent flag
2019-05-19 10:52:17 -04:00
Raul Jordan
632f6797cd Reverts #2638 #2637 #2630 (#2640)
* Revert "fix nil block (#2638)"

This reverts commit d43ea74244.

* Revert "add to topic mapping (#2637)"

This reverts commit 85ef099360.

* Revert "Reorg to an Announced Finalized Block if On a Different Chain (#2630)"

This reverts commit 08288f0958.
2019-05-17 22:27:44 -04:00
terence tsao
3bad541f3c
Revert "remove canonical attestation filtering (#2635)" (#2639) 2019-05-17 22:16:45 -04:00
Raul Jordan
d43ea74244
fix nil block (#2638) 2019-05-17 21:31:28 -04:00
Raul Jordan
85ef099360
add to topic mapping (#2637) 2019-05-17 20:48:28 -04:00
Raul Jordan
50063912a8 Remove Expensive Participation Rate Prometheus Gauge (#2636)
* rem expensive prom gauge

* rem prom
2019-05-17 19:57:13 -04:00
terence tsao
becd06553b
remove canonical attestation filtering (#2635) 2019-05-17 19:47:16 -04:00
Preston Van Loon
bdf4590b86 Fix config value, yaml fixes (#2634)
* minor fixes

* go back to 8
2019-05-17 19:27:13 -04:00
Preston Van Loon
208c5dfea6 Revert "Disable libp2p TLS security protocols for now (#2622)" (#2633) 2019-05-17 18:59:01 -04:00
Nishant Das
25ce3a3676 Add Excess Deposit Flag to allow Validator Balances more than 32 ETH (#2625)
* add flags and code

* adding tests

* gaz

* Update shared/featureconfig/config.go

Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>
2019-05-17 17:10:34 -04:00
Raul Jordan
08288f0958
Reorg to an Announced Finalized Block if On a Different Chain (#2630)
* proto changes

* spacings

* rem root

* finalized root

* regen

* handle finalized state announcement

* handle finalized announcement

* fixed broken tests

* finalized state switch

* tests passing

* sync service imports

* check interface impl
2019-05-17 16:58:04 -04:00
Preston Van Loon
72d1fa2899 Change a few params in k8s (#2628) 2019-05-17 16:28:53 -04:00
terence tsao
3349fb4cba increase slots per epoch to 16 (#2627) 2019-05-17 14:41:49 -04:00
Preston Van Loon
15cac0c0b1
Disable libp2p TLS security protocols for now (#2622)
* Disable security protocols for now

* Enabling security for test only. See https://github.com/libp2p/go-libp2p-swarm/issues/124

* Fix spacing
2019-05-17 13:29:25 -04:00
terence tsao
b9fe8b172c Filter Canonical Attestation by Default (#2626)
* exclusive of finalized block

* filter canonical attestations by default
2019-05-17 13:17:29 -04:00