Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge v1.20.0 stable back to unstable #6944

Merged
merged 3 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Contributing to tests:

## Devcontainer

A [devcontainer](https://containers.dev/) [configuration](.devcontainer/devcontainer.json) is provided to help speed up linux based development environment setup. It will be used by [GitHub Codespaces](https://github.com/features/codespaces) or directly inside VS Code via your local through this [extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
A [devcontainer](https://containers.dev/) [configuration](https://github.com/ChainSafe/lodestar/blob/unstable/.devcontainer/devcontainer.json) is provided to help speed up linux based development environment setup. It will be used by [GitHub Codespaces](https://github.com/features/codespaces) or directly inside VS Code via your local through this [extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).

### Common Issues

Expand Down
12 changes: 6 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^3.4.0",
"@docusaurus/plugin-client-redirects": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@docusaurus/theme-mermaid": "^3.4.0",
"@docusaurus/core": "3.2.0",
"@docusaurus/plugin-client-redirects": "3.2.0",
"@docusaurus/preset-classic": "3.2.0",
"@docusaurus/theme-mermaid": "3.2.0",
"@easyops-cn/docusaurus-search-local": "^0.40.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
Expand All @@ -26,8 +26,8 @@
"react-dom": "^18.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.4.0",
"@docusaurus/types": "^3.4.0"
"@docusaurus/module-type-aliases": "3.2.0",
"@docusaurus/types": "3.2.0"
},
"browserslist": {
"production": [
Expand Down
5 changes: 5 additions & 0 deletions docs/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ const sidebars: SidebarsConfig = {
label: "Contributing",
collapsed: false,
items: [
{
type: "doc",
label: "Getting Started",
id: "contribution/getting-started",
},
{
type: "category",
label: "Advanced Topics",
Expand Down
1,861 changes: 228 additions & 1,633 deletions docs/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"npmClient": "yarn",
"useNx": true,
"version": "1.19.0",
"version": "1.20.0",
"stream": true,
"command": {
"version": {
Expand Down
10 changes: 5 additions & 5 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/ChainSafe/lodestar/issues"
},
"version": "1.19.0",
"version": "1.20.0",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -72,10 +72,10 @@
"dependencies": {
"@chainsafe/persistent-merkle-tree": "^0.7.1",
"@chainsafe/ssz": "^0.15.1",
"@lodestar/config": "^1.19.0",
"@lodestar/params": "^1.19.0",
"@lodestar/types": "^1.19.0",
"@lodestar/utils": "^1.19.0",
"@lodestar/config": "^1.20.0",
"@lodestar/params": "^1.20.0",
"@lodestar/types": "^1.20.0",
"@lodestar/utils": "^1.20.0",
"eventsource": "^2.0.2",
"qs": "^6.11.1"
},
Expand Down
26 changes: 13 additions & 13 deletions packages/beacon-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/ChainSafe/lodestar/issues"
},
"version": "1.19.0",
"version": "1.20.0",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -120,18 +120,18 @@
"@libp2p/peer-id-factory": "^4.1.0",
"@libp2p/prometheus-metrics": "^3.0.21",
"@libp2p/tcp": "9.0.23",
"@lodestar/api": "^1.19.0",
"@lodestar/config": "^1.19.0",
"@lodestar/db": "^1.19.0",
"@lodestar/fork-choice": "^1.19.0",
"@lodestar/light-client": "^1.19.0",
"@lodestar/logger": "^1.19.0",
"@lodestar/params": "^1.19.0",
"@lodestar/reqresp": "^1.19.0",
"@lodestar/state-transition": "^1.19.0",
"@lodestar/types": "^1.19.0",
"@lodestar/utils": "^1.19.0",
"@lodestar/validator": "^1.19.0",
"@lodestar/api": "^1.20.0",
"@lodestar/config": "^1.20.0",
"@lodestar/db": "^1.20.0",
"@lodestar/fork-choice": "^1.20.0",
"@lodestar/light-client": "^1.20.0",
"@lodestar/logger": "^1.20.0",
"@lodestar/params": "^1.20.0",
"@lodestar/reqresp": "^1.20.0",
"@lodestar/state-transition": "^1.20.0",
"@lodestar/types": "^1.20.0",
"@lodestar/utils": "^1.20.0",
"@lodestar/validator": "^1.20.0",
"@multiformats/multiaddr": "^12.1.3",
"c-kzg": "^2.1.2",
"datastore-core": "^9.1.1",
Expand Down
26 changes: 13 additions & 13 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/lodestar",
"version": "1.19.0",
"version": "1.20.0",
"description": "Command line interface for lodestar",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
Expand Down Expand Up @@ -63,17 +63,17 @@
"@libp2p/crypto": "^4.1.0",
"@libp2p/peer-id": "^4.1.0",
"@libp2p/peer-id-factory": "^4.1.0",
"@lodestar/api": "^1.19.0",
"@lodestar/beacon-node": "^1.19.0",
"@lodestar/config": "^1.19.0",
"@lodestar/db": "^1.19.0",
"@lodestar/light-client": "^1.19.0",
"@lodestar/logger": "^1.19.0",
"@lodestar/params": "^1.19.0",
"@lodestar/state-transition": "^1.19.0",
"@lodestar/types": "^1.19.0",
"@lodestar/utils": "^1.19.0",
"@lodestar/validator": "^1.19.0",
"@lodestar/api": "^1.20.0",
"@lodestar/beacon-node": "^1.20.0",
"@lodestar/config": "^1.20.0",
"@lodestar/db": "^1.20.0",
"@lodestar/light-client": "^1.20.0",
"@lodestar/logger": "^1.20.0",
"@lodestar/params": "^1.20.0",
"@lodestar/state-transition": "^1.20.0",
"@lodestar/types": "^1.20.0",
"@lodestar/utils": "^1.20.0",
"@lodestar/validator": "^1.20.0",
"@multiformats/multiaddr": "^12.1.3",
"deepmerge": "^4.3.1",
"ethers": "^6.7.0",
Expand All @@ -89,7 +89,7 @@
"yargs": "^17.7.1"
},
"devDependencies": {
"@lodestar/test-utils": "^1.19.0",
"@lodestar/test-utils": "^1.20.0",
"@types/debug": "^4.1.7",
"@types/got": "^9.6.12",
"@types/inquirer": "^9.0.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lodestar/config",
"version": "1.19.0",
"version": "1.20.0",
"description": "Chain configuration required for lodestar",
"author": "ChainSafe Systems",
"license": "Apache-2.0",
Expand Down Expand Up @@ -65,7 +65,7 @@
],
"dependencies": {
"@chainsafe/ssz": "^0.15.1",
"@lodestar/params": "^1.19.0",
"@lodestar/types": "^1.19.0"
"@lodestar/params": "^1.20.0",
"@lodestar/types": "^1.20.0"
}
}
8 changes: 4 additions & 4 deletions packages/db/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lodestar/db",
"version": "1.19.0",
"version": "1.20.0",
"description": "DB modules of Lodestar",
"author": "ChainSafe Systems",
"homepage": "https://github.com/ChainSafe/lodestar#readme",
Expand Down Expand Up @@ -36,12 +36,12 @@
},
"dependencies": {
"@chainsafe/ssz": "^0.15.1",
"@lodestar/config": "^1.19.0",
"@lodestar/utils": "^1.19.0",
"@lodestar/config": "^1.20.0",
"@lodestar/utils": "^1.20.0",
"classic-level": "^1.4.1",
"it-all": "^3.0.4"
},
"devDependencies": {
"@lodestar/logger": "^1.19.0"
"@lodestar/logger": "^1.20.0"
}
}
14 changes: 7 additions & 7 deletions packages/flare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lodestar/flare",
"version": "1.19.0",
"version": "1.20.0",
"description": "Beacon chain debugging tool",
"author": "ChainSafe Systems",
"license": "Apache-2.0",
Expand Down Expand Up @@ -60,12 +60,12 @@
"dependencies": {
"@chainsafe/bls": "7.1.3",
"@chainsafe/bls-keygen": "^0.4.0",
"@lodestar/api": "^1.19.0",
"@lodestar/config": "^1.19.0",
"@lodestar/params": "^1.19.0",
"@lodestar/state-transition": "^1.19.0",
"@lodestar/types": "^1.19.0",
"@lodestar/utils": "^1.19.0",
"@lodestar/api": "^1.20.0",
"@lodestar/config": "^1.20.0",
"@lodestar/params": "^1.20.0",
"@lodestar/state-transition": "^1.20.0",
"@lodestar/types": "^1.20.0",
"@lodestar/utils": "^1.20.0",
"source-map-support": "^0.5.21",
"yargs": "^17.7.1"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/fork-choice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/ChainSafe/lodestar/issues"
},
"version": "1.19.0",
"version": "1.20.0",
"type": "module",
"exports": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand All @@ -37,11 +37,11 @@
},
"dependencies": {
"@chainsafe/ssz": "^0.15.1",
"@lodestar/config": "^1.19.0",
"@lodestar/params": "^1.19.0",
"@lodestar/state-transition": "^1.19.0",
"@lodestar/types": "^1.19.0",
"@lodestar/utils": "^1.19.0"
"@lodestar/config": "^1.20.0",
"@lodestar/params": "^1.20.0",
"@lodestar/state-transition": "^1.20.0",
"@lodestar/types": "^1.20.0",
"@lodestar/utils": "^1.20.0"
},
"keywords": [
"ethereum",
Expand Down
14 changes: 7 additions & 7 deletions packages/light-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/ChainSafe/lodestar/issues"
},
"version": "1.19.0",
"version": "1.20.0",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -59,7 +59,7 @@
"build:watch": "yarn run build --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"build:bundle": "vite build",
"check-bundle": "node -e \"(async function() { await import('./dist/lightclient.min.mjs') })()\"",
"check-bundle": "node -e \"(async function() { await import('./dist/lightclient.min.mjs') })()\"",
"build:release": "yarn clean && yarn run build && yarn run build:bundle",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/ test/",
Expand All @@ -76,11 +76,11 @@
"@chainsafe/bls": "7.1.3",
"@chainsafe/persistent-merkle-tree": "^0.7.1",
"@chainsafe/ssz": "^0.15.1",
"@lodestar/api": "^1.19.0",
"@lodestar/config": "^1.19.0",
"@lodestar/params": "^1.19.0",
"@lodestar/types": "^1.19.0",
"@lodestar/utils": "^1.19.0",
"@lodestar/api": "^1.20.0",
"@lodestar/config": "^1.20.0",
"@lodestar/params": "^1.20.0",
"@lodestar/types": "^1.20.0",
"@lodestar/utils": "^1.20.0",
"mitt": "^3.0.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/ChainSafe/lodestar/issues"
},
"version": "1.19.0",
"version": "1.20.0",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -66,14 +66,14 @@
},
"types": "lib/index.d.ts",
"dependencies": {
"@lodestar/utils": "^1.19.0",
"@lodestar/utils": "^1.20.0",
"winston": "^3.8.2",
"winston-daily-rotate-file": "^4.7.1",
"winston-transport": "^4.5.0"
},
"devDependencies": {
"@chainsafe/threads": "^1.11.1",
"@lodestar/test-utils": "^1.19.0",
"@lodestar/test-utils": "^1.20.0",
"@types/triple-beam": "^1.3.2",
"triple-beam": "^1.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/params/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lodestar/params",
"version": "1.19.0",
"version": "1.20.0",
"description": "Chain parameters required for lodestar",
"author": "ChainSafe Systems",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/prover/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ lodestar-prover proxy \

There can be different implementations of the web3 providers and each can handle the RPC request differently. We call those different provider types. We had provided builtin support for common providers e.g. web3.js, ethers or any eip1193 compatible providers. We inspect given provider instance at runtime to detect the correct provider type.

If your project is using some provider type which is not among above list, you have the option to register a custom provider type with the `createVerifiedExecutionProvider` with the option `providerTypes` which will be an array of your supported provider types. Your custom provider types will have higher priority than default provider types. Please see [existing provide types implementations](./src/provider_types/) to know how to implement your own if needed.
If your project is using some provider type which is not among above list, you have the option to register a custom provider type with the `createVerifiedExecutionProvider` with the option `providerTypes` which will be an array of your supported provider types. Your custom provider types will have higher priority than default provider types. Please see [existing provide types implementations](https://github.com/ChainSafe/lodestar/tree/unstable/packages/prover/src/provider_types) to know how to implement your own if needed.

## Supported Web3 Methods

Expand Down
18 changes: 9 additions & 9 deletions packages/prover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/ChainSafe/lodestar/issues"
},
"version": "1.19.0",
"version": "1.20.0",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -69,13 +69,13 @@
"@ethereumjs/tx": "^4.1.2",
"@ethereumjs/util": "^8.0.6",
"@ethereumjs/vm": "^6.4.2",
"@lodestar/api": "^1.19.0",
"@lodestar/config": "^1.19.0",
"@lodestar/light-client": "^1.19.0",
"@lodestar/logger": "^1.19.0",
"@lodestar/params": "^1.19.0",
"@lodestar/types": "^1.19.0",
"@lodestar/utils": "^1.19.0",
"@lodestar/api": "^1.20.0",
"@lodestar/config": "^1.20.0",
"@lodestar/light-client": "^1.20.0",
"@lodestar/logger": "^1.20.0",
"@lodestar/params": "^1.20.0",
"@lodestar/types": "^1.20.0",
"@lodestar/utils": "^1.20.0",
"ethereum-cryptography": "^2.0.0",
"find-up": "^6.3.0",
"http-proxy": "^1.18.1",
Expand All @@ -84,7 +84,7 @@
"yargs": "^17.7.1"
},
"devDependencies": {
"@lodestar/test-utils": "^1.19.0",
"@lodestar/test-utils": "^1.20.0",
"@types/http-proxy": "^1.17.10",
"@types/yargs": "^17.0.24",
"axios": "^1.3.4",
Expand Down
Loading
Loading