Commit Graph

2201 Commits

Author SHA1 Message Date
renovate[bot]
18e7ced517 Update io_bazel_rules_k8s commit hash to 6057108 (#2919) 2019-07-08 09:53:10 -04:00
Celeste Seberras
b3323bfb57 Formatting and structure changes (#2918) 2019-07-07 15:57:07 -04:00
Preston Van Loon
87894eb12f
fix issue #2830 (#2904) 2019-07-04 00:04:18 -04:00
Preston Van Loon
f12fdfda0f Complain about improperly sized tests (#2873) 2019-06-30 09:00:22 -07:00
renovate[bot]
72139c41ea Update io_bazel_rules_k8s commit hash to dda7ab9 (#2843) 2019-06-29 11:09:52 -04:00
renovate[bot]
7b49697dff Update dependency com_github_prometheus_common to v0.6.0 (#2845) 2019-06-29 10:32:20 -04:00
renovate[bot]
5853a399f6 Update dependency com_github_syndtr_goleveldb to v1 (#2847) 2019-06-29 09:54:17 -04:00
Dan
9ac950f480 Added the 'enable-upnp' flag to the list of command line args (#2860)
* Added the 'enable-upnp' flag to the list of supported command line arguments.

If the user specifies this feature flag (adds --enable-upnp as an argument) - the Beacon-chain and Validator services, when started, will initialize libp2p with the UPNP options.

* Added the new arg to usage.go due to test failure

* Update shared/p2p/service.go

Changed the logging according to Preston's recommendation.

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

* Code review changes:

1. File formatting.
2. Command line arg more detailed description.
2019-06-26 12:59:37 -07:00
Preston Van Loon
9bd6147027
BLS spec tests (#2826)
* bls spec tests

* add more bls tests

* use ioutil instead of bazel runfiles

* dont read bytes

* skip tests that overflow uint64

* manually fix input data

* add tests

* lint and gaz

* add all new changes

* some refactoring, cleanup, remove new API methods that only exist for tests

* gaz

* Remove yamls, skip test
2019-06-25 12:57:47 -04:00
Preston Van Loon
c944b281c8 Revert "Merge renovate updates (#2850)" (#2854) 2019-06-24 14:18:07 -07:00
Preston Van Loon
ebdbc230c3
Merge renovate updates (#2850)
* Update com_github_prysmaticlabs_go_ssz commit hash to 0fdbce2

* Update io_bazel_rules_k8s commit hash to cddc035

* Update dependency build_bazel_rules_nodejs to v0.32.2

* Update dependency com_github_prometheus_common to v0.6.0

* Update dependency com_github_syndtr_goleveldb to v1

* revert ssz breakage

* Update libp2p

* update infra

* update infra

* specify node_modules

* add flag

* clarify in comment

* update rules_docker

* workarounds for python2. see: https://github.com/bazelbuild/rules_docker/issues/842
2019-06-24 15:53:49 -04:00
Preston Van Loon
9460232550 Update allocations.go (#2819) 2019-06-19 15:34:57 -07:00
Preston Van Loon
2c8bddc324
Update kubesec.bzl to new starlark attr.label API (#2823)
* Update kubesec.bzl

* fix rule take 2
2019-06-19 13:01:39 -04:00
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