Skip to content

Commit

Permalink
Merge branch 'unstable' into cayman/snappy-tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Dec 3, 2024
2 parents b5a8fc1 + 376fe2a commit 7072661
Show file tree
Hide file tree
Showing 1,147 changed files with 7,727 additions and 5,978 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ validators
.tmp
.npmrc
.vscode/launch.json
.vscode/settings.json
!.vscode/settings.json
.vscode/tasks.json

# Tests artifacts
Expand Down
27 changes: 27 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"window.title": "${activeEditorShort}${separator}${rootName}${separator}${profileName}${separator}[${activeRepositoryBranchName}]",
// For `sysoev.vscode-open-in-github` extension
"openInGitHub.defaultBranch": "unstable",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.biome": "explicit",
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
}
28 changes: 28 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
API
APIs
Andreas
Antonopoulos
Expand All @@ -13,6 +14,7 @@ Casper
Chai
ChainSafe
Codespaces
CoinCashew
Corepack
Customizations
DPoS
Expand All @@ -29,6 +31,7 @@ ENRs
ETH
Edgington
Erigon
Esat
EthStaker
EtherScan
Ethereum
Expand All @@ -37,15 +40,19 @@ FINDNODE
FX
Flamegraph
Flamegraphs
GPG
Geth
Github
Goerli
Golang
Gossipsub
Grafana
Grandine
HTTPS
HackMD
Hashicorp
Homebrew
Hyperledger
IPFS
IPv
Infura
Expand All @@ -60,15 +67,18 @@ LGPLv
LMD
LPoS
LTS
LVM
Lerna
MEV
MacOS
Metamask
MevBoost
ModuleNotFoundError
Monorepo
NPM
NVM
Nethermind
Nim
NodeJS
NodeSource
OSI
Expand All @@ -81,9 +91,11 @@ Quickstart
RPC
Reth
Ryzen
SFTP
SHA
SSD
SSZ
Somer
Stakehouse
TOC
TTD
Expand All @@ -98,18 +110,21 @@ Vitalik
Vitest
Wagyu
api
args
async
backfill
beaconcha
blockRoot
blockchain
blockspace
blst
bootnode
bootnodes
bundlers
chainConfig
chainsafe
chiado
chmod
cli
cmd
codebase
Expand All @@ -125,6 +140,8 @@ dApp
dApps
ddos
decrypt
decrypted
derypted
deserialization
dev
devcontainer
Expand All @@ -139,30 +156,38 @@ env
envs
ephemery
ethers
feeRecipient
flamegraph
flamegraphs
floodsub
fsSL
getNetworkIdentity
gnosis
gpg
heapdump
heaptrack
holesky
interop
js
keymanager
keypair
keyrings
keystore
keystores
libp
lightclient
linter
liveness
lldb
llnode
lockfile
mainnet
malloc
mbps
mdns
merkle
merkleization
misconfiguration
mmeshsub
monorepo
multiaddr
Expand Down Expand Up @@ -199,6 +224,7 @@ ssz
stakers
subnet
subnets
sudo
tcp
testnet
testnets
Expand All @@ -215,6 +241,8 @@ vite
vitest
webpack
wip
xRelayPubKey
xcode
yaml
yamux
yml
2 changes: 1 addition & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"ignore": ["**/lib", "**/.nyc_output", "./packages/*/spec-tests", "**/node_modules", "./packages/*/node_modules/**"]
},
"organizeImports": {
"enabled": false
"enabled": true
},
"linter": {
"enabled": true,
Expand Down
67 changes: 50 additions & 17 deletions dashboards/lodestar_block_production.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,19 +445,22 @@
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisLabel": "builder | engine",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"fillOpacity": 30,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
Expand All @@ -473,19 +476,22 @@
"mode": "off"
}
},
"mappings": []
"fieldMinMax": false,
"mappings": [],
"noValue": "0",
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "total"
"options": "engine success"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"fixedColor": "dark-green",
"mode": "fixed"
}
}
Expand All @@ -494,13 +500,13 @@
{
"matcher": {
"id": "byName",
"options": "successes"
"options": "builder success"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"fixedColor": "dark-green",
"mode": "fixed"
}
}
Expand All @@ -509,13 +515,13 @@
{
"matcher": {
"id": "byName",
"options": "success"
"options": "engine errors"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"fixedColor": "dark-red",
"mode": "fixed"
}
}
Expand All @@ -524,13 +530,13 @@
{
"matcher": {
"id": "byName",
"options": "errors"
"options": "builder errors"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"fixedColor": "dark-red",
"mode": "fixed"
}
}
Expand Down Expand Up @@ -565,10 +571,11 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "rate(beacon_block_production_successes_total[$rate_interval])",
"expr": "rate(beacon_block_production_successes_total{source=\"engine\"}[$rate_interval])",
"format": "time_series",
"hide": false,
"interval": "",
"legendFormat": "success",
"legendFormat": "engine success",
"range": true,
"refId": "B"
},
Expand All @@ -579,11 +586,37 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "rate(beacon_block_production_requests_total[$rate_interval])\n-\nrate(beacon_block_production_successes_total[$rate_interval])",
"expr": "rate(beacon_block_production_requests_total{source=\"engine\"}[$rate_interval])\n-\nrate(beacon_block_production_successes_total{source=\"engine\"}[$rate_interval])",
"interval": "",
"legendFormat": "errors",
"legendFormat": "engine errors",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "-1 * rate(beacon_block_production_successes_total{source=\"builder\"}[$rate_interval])",
"hide": false,
"instant": false,
"legendFormat": "builder success",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "-1 *\n(\n rate(beacon_block_production_requests_total{source=\"builder\"}[$rate_interval])\n -\n rate(beacon_block_production_successes_total{source=\"builder\"}[$rate_interval])\n)",
"hide": false,
"instant": false,
"legendFormat": "builder errors",
"range": true,
"refId": "D"
}
],
"title": "Success + Error rates",
Expand Down Expand Up @@ -746,7 +779,7 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(lodestar_api_rest_errors_total{operationId=~\"produceBlockV2|produceBlindedBlock|publishBlock|publishBlindedBlock\"}[$rate_interval])",
"expr": "rate(lodestar_api_rest_errors_total{operationId=~\"produceBlockV3|publishBlockV2|publishBlindedBlockV2\"}[$rate_interval])",
"legendFormat": "{{operationId}}",
"range": true,
"refId": "A"
Expand Down
Loading

0 comments on commit 7072661

Please sign in to comment.