36 Commits

Author SHA1 Message Date
Lion - dapplion
d0a78a209c Re-org dashboards into common folder (#3905) 2022-04-10 21:07:08 +05:30
Lion - dapplion
d61d898d0d Bump to new gossipsub (#3858)
* Bump to new gossipsub

* Fix test type errors

* Add getMeshPeers method

* Cleanup test nodes on success and error

* Add allowPublishToZeroPeers option

* Add allowPublishToZeroPeers to dev options

* Add scripts to run dev servers

* Bump gossipsub

* Bump gossipsub

* Expose gossip peer score stats

* bump gossipsub

* Dump gossipsub score params

* Bump lodestar

* Add behaviourPenaltyThreshold to gossip scoring params

* Switch to latest gossipsub update

* Fix cli unit test

* Fix unknownBlockSync e2e test

* Update latest gossipsub

* Fix e2e - network addr in use

* Use latest gossipsub 3efae56c9d39ff3a047a7e6c65fa32e5756bebde

* Use latest gossipsub 039af54c7bf47396c1be414d9fa33aa2e8cc2697

* Increase meshMessageDeliveriesWindow and gossipsubIWantFollowupMs

* Set gossipsubIWantFollowupMs and meshMessageDeliveriesWindow 12s

* Reset gossipsub metric behaviourPenalty per scrape

* Compute score using lodestar score and gossipsub score (#3875)

* Refactor PeerRpcScoreStore: add PeerScore class

* Aggregate lodestarScore, gossipsubScore to compute final score

* updateGossipsubScores util and unit test

* Populate PeerScore on updateGossipsubScore

* Fix peerManager e2e test

* Fix test/sim/multiNodeSingleThread.test.ts

* Update latest gossipsub

* lodestar_gossip_mesh_peers_by_client_count metric

* Log sent peers in gossipsub.publishObject()

* Fix lodestar_gossip_mesh_peers_by_client_count metric

* Fix lodestar_gossip_mesh_peers_by_client_count metric

* Add asyncValidation=true option to gossipsub

* Fix sha256 usage

* Go with libp2p-gossipsub 0.14.0

Co-authored-by: Tuyen Nguyen <vutuyen2636@gmail.com>
Co-authored-by: Cayman <caymannava@gmail.com>
2022-04-05 17:32:11 +07:00
Lion - dapplion
1a4640db74 Enforce usage of node:* protocol with eslint (#3714)
* Restrict node imports without the node:* protocol

* Enforce usage of node protocol with eslint
2022-02-07 09:59:54 -06:00
Lion - dapplion
6a713019bf Fix release workflow (#3686)
* Checkout full history during release (#3539)

* Fix release workflow

* Add git tag commands as example

* Checkout full depth for changelog

Co-authored-by: Cayman <caymannava@gmail.com>
2022-02-01 15:29:54 -06:00
chainoperator
5d92233096 Use node:* import protocol for safer module resolution (#3667)
This PR uses `node:*` imports for `fs` and `path` modules as specified in [issue 3664](https://github.com/ChainSafe/lodestar/issues/3664).

Note that using `node:*` imports requires us to whitelist `node:fs` in the `import/core-modules` `eslint` setting. If we do not whitelist it then our linter fails because it can not identify `node:fs` as a node module.
2022-01-28 08:49:16 -06:00
Lion - dapplion
87639f8417 Add generate changelog script (#3598) 2022-01-12 09:46:29 -06:00
Lion - dapplion
148ac6f4ea Add build if changed script (#3543)
* Add build if changed script

* Remove stale comment
2021-12-21 11:11:40 +01:00
Lion - dapplion
f5d6f9f2e7 Add multi-node dashboard (#3503)
* Add ad hoc filter to dashboard

* Add multinode dashboard

* Enable auto-refresh

* Scan all dashboards for exemplar
2021-12-11 09:26:40 -06:00
Lion - dapplion
2287e82d90 Trigger release with tag push (#3504)
* Trigger release with tag push

* Fix variable in Get previous tag

* Add tag regex pattern
2021-12-10 17:39:01 +01:00
g11tech
4a8080926c inspecting lodestar.json with regexp to invalidate use of exemplar (#3192)
* exemplar check with regex

* heading change for linting grafana dash
2021-09-20 15:49:34 +02:00
Afr Schoe
28ea8ab348 github: ensure release script docker job depends on npm job (#3022)
* github: ensure release script docker job depends on npm job

* scripts: trimp v character from version tag

* github: docker push requires exactly one argument

* Update release.yml

Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
2021-08-26 16:24:37 +02:00
Afr Schoe
3b36d7f982 github: allow release workflow to wait up to 15 minutes for npm package to publish (#3006)
* scripts: provide means to check versions in npm registry

* github: allow the release workflow to verify npm version availability

* github: await release for up to 15 minutes
2021-08-25 10:05:54 +02:00
Lion - dapplion
fde84b56bb Remove gitData script from docker build (#2815) 2021-07-06 13:24:09 -05:00
Cayman
1e68d39a97 Remove stale files (#2301) 2021-03-30 15:49:05 -05:00
dapplion
50afaffa78 Fix package rename 2021-03-24 10:48:13 +01:00
dapplion
563fd709f1 Remove mocha script 2021-03-07 12:42:44 +01:00
dapplion
b61a9f3ad7 Inject Lodestar version branch and commit on docker build 2021-02-27 15:11:23 +01:00
dapplion
9a611d669e Use artifact uploading 2020-10-30 11:09:05 +01:00
dapplion
641033dd4b Remove prometheus binary 2020-10-06 10:30:58 +02:00
dapplion
e5c9579258 Register ts-node and a custom test tsconfig 2020-08-22 21:02:15 +02:00
dapplion
495b0cb156 Improve build:docs script 2020-08-15 11:14:28 +02:00
dapplion
d4a4deee10 Organize doc generation scripts 2020-08-15 10:57:33 +02:00
dapplion
ae781ce2f2 Rename typedocs generation script and dir as typedocs 2020-08-15 10:57:33 +02:00
dapplion
1c0d2ad372 Log package preparing docs
Allow errors in prepare docs script


Use peaceiris/actions-gh-pages@v3


Fix extra social icon
2020-06-21 20:06:40 +02:00
dapplion
a654b93e05 Bootstrap mkdocs 2020-06-21 18:45:54 +02:00
Gregory Markou
79ac7f766b add prometheus 2019-09-15 19:39:34 -04:00
Cayman
7cfd87b0d2 Add peers to whiteblock_start 2019-09-12 10:47:23 -05:00
Cayman
65866b1324 Fix whiteblock_start.sh 2019-09-12 09:50:04 -05:00
Cayman
4b1fb9df6c Redirect output of whiteblock_start.sh 2019-09-11 23:34:08 -05:00
Cayman
b940d0d2cd Fix validator keys yaml processing 2019-09-11 23:22:07 -05:00
Cayman
78201dac83 Fix whiteblock_start.sh again 2019-09-11 22:09:11 -05:00
Cayman
dc1e9c6789 Fix whiteblock_start.sh 2019-09-11 21:59:52 -05:00
Cayman
b4478da184 Move whiteblock_start.sh 2019-09-11 21:51:01 -05:00
Cayman
c4ae5b72df Collect packages documentation for deployment 2019-08-09 15:25:37 -05:00
Gregory Markou
5d1847c40e switched to lerna 2019-07-16 01:49:00 -04:00
Cayman
1022d9e0d9 Add minimally configurable constants 2019-05-22 13:12:46 -05:00