Skip to content

Commit

Permalink
chore: release 1.18.1 (#6760)
Browse files Browse the repository at this point in the history
  • Loading branch information
philknows authored May 13, 2024
2 parents 778a171 + bc1537b commit eefb711
Show file tree
Hide file tree
Showing 21 changed files with 112 additions and 99 deletions.
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.18.0",
"version": "1.18.1",
"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.18.0",
"version": "1.18.1",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -69,10 +69,10 @@
"dependencies": {
"@chainsafe/persistent-merkle-tree": "^0.7.1",
"@chainsafe/ssz": "^0.15.1",
"@lodestar/config": "^1.18.0",
"@lodestar/params": "^1.18.0",
"@lodestar/types": "^1.18.0",
"@lodestar/utils": "^1.18.0",
"@lodestar/config": "^1.18.1",
"@lodestar/params": "^1.18.1",
"@lodestar/types": "^1.18.1",
"@lodestar/utils": "^1.18.1",
"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.18.0",
"version": "1.18.1",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -120,18 +120,18 @@
"@libp2p/peer-id-factory": "^4.0.3",
"@libp2p/prometheus-metrics": "^3.0.10",
"@libp2p/tcp": "9.0.10",
"@lodestar/api": "^1.18.0",
"@lodestar/config": "^1.18.0",
"@lodestar/db": "^1.18.0",
"@lodestar/fork-choice": "^1.18.0",
"@lodestar/light-client": "^1.18.0",
"@lodestar/logger": "^1.18.0",
"@lodestar/params": "^1.18.0",
"@lodestar/reqresp": "^1.18.0",
"@lodestar/state-transition": "^1.18.0",
"@lodestar/types": "^1.18.0",
"@lodestar/utils": "^1.18.0",
"@lodestar/validator": "^1.18.0",
"@lodestar/api": "^1.18.1",
"@lodestar/config": "^1.18.1",
"@lodestar/db": "^1.18.1",
"@lodestar/fork-choice": "^1.18.1",
"@lodestar/light-client": "^1.18.1",
"@lodestar/logger": "^1.18.1",
"@lodestar/params": "^1.18.1",
"@lodestar/reqresp": "^1.18.1",
"@lodestar/state-transition": "^1.18.1",
"@lodestar/types": "^1.18.1",
"@lodestar/utils": "^1.18.1",
"@lodestar/validator": "^1.18.1",
"@multiformats/multiaddr": "^12.1.3",
"c-kzg": "^2.1.2",
"datastore-core": "^9.1.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/beacon-node/src/network/gossip/gossipsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export type Eth2GossipsubOpts = {
gossipsubDLow?: number;
gossipsubDHigh?: number;
gossipsubAwaitHandler?: boolean;
disableFloodPublish?: boolean;
skipParamsLog?: boolean;
};

Expand Down Expand Up @@ -128,6 +129,9 @@ export class Eth2Gossipsub extends GossipSub {
maxOutboundBufferSize: MAX_OUTBOUND_BUFFER_SIZE,
// serialize message once and send to all peers when publishing
batchPublish: true,
// if this is false, only publish to mesh peers. If there is not enough GOSSIP_D mesh peers,
// publish to some more topic peers to make sure we always publish to at least GOSSIP_D peers
floodPublish: !opts?.disableFloodPublish,
});
this.scoreParams = scoreParams;
this.config = config;
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.18.0",
"version": "1.18.1",
"description": "Command line interface for lodestar",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
Expand Down Expand Up @@ -63,17 +63,17 @@
"@libp2p/crypto": "^3.0.4",
"@libp2p/peer-id": "^4.0.4",
"@libp2p/peer-id-factory": "^4.0.3",
"@lodestar/api": "^1.18.0",
"@lodestar/beacon-node": "^1.18.0",
"@lodestar/config": "^1.18.0",
"@lodestar/db": "^1.18.0",
"@lodestar/light-client": "^1.18.0",
"@lodestar/logger": "^1.18.0",
"@lodestar/params": "^1.18.0",
"@lodestar/state-transition": "^1.18.0",
"@lodestar/types": "^1.18.0",
"@lodestar/utils": "^1.18.0",
"@lodestar/validator": "^1.18.0",
"@lodestar/api": "^1.18.1",
"@lodestar/beacon-node": "^1.18.1",
"@lodestar/config": "^1.18.1",
"@lodestar/db": "^1.18.1",
"@lodestar/light-client": "^1.18.1",
"@lodestar/logger": "^1.18.1",
"@lodestar/params": "^1.18.1",
"@lodestar/state-transition": "^1.18.1",
"@lodestar/types": "^1.18.1",
"@lodestar/utils": "^1.18.1",
"@lodestar/validator": "^1.18.1",
"@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.18.0",
"@lodestar/test-utils": "^1.18.1",
"@types/debug": "^4.1.7",
"@types/got": "^9.6.12",
"@types/inquirer": "^9.0.3",
Expand Down
9 changes: 9 additions & 0 deletions packages/cli/src/options/beaconNodeOptions/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export type NetworkArgs = {
"network.gossipsubDLow"?: number;
"network.gossipsubDHigh"?: number;
"network.gossipsubAwaitHandler"?: boolean;
"network.disableFloodPublish"?: boolean;
"network.rateLimitMultiplier"?: number;
"network.maxGossipTopicConcurrency"?: number;
"network.useWorker"?: boolean;
Expand Down Expand Up @@ -149,6 +150,7 @@ export function parseArgs(args: NetworkArgs): IBeaconNodeOptions["network"] {
gossipsubDLow: args["network.gossipsubDLow"],
gossipsubDHigh: args["network.gossipsubDHigh"],
gossipsubAwaitHandler: args["network.gossipsubAwaitHandler"],
disableFloodPublish: args["network.disableFloodPublish"],
mdns: args["mdns"],
rateLimitMultiplier: args["network.rateLimitMultiplier"],
maxGossipTopicConcurrency: args["network.maxGossipTopicConcurrency"],
Expand Down Expand Up @@ -360,6 +362,13 @@ export const options: CliCommandOptions<NetworkArgs> = {
group: "network",
},

"network.disableFloodPublish": {
hidden: true,
description: "Disable gossipsub flood publish",
type: "boolean",
group: "network",
},

"network.rateLimitMultiplier": {
type: "number",
description: "The multiplier to increase the rate limits. Set to zero to disable rate limiting.",
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.18.0",
"version": "1.18.1",
"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.18.0",
"@lodestar/types": "^1.18.0"
"@lodestar/params": "^1.18.1",
"@lodestar/types": "^1.18.1"
}
}
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.18.0",
"version": "1.18.1",
"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.18.0",
"@lodestar/utils": "^1.18.0",
"@lodestar/config": "^1.18.1",
"@lodestar/utils": "^1.18.1",
"it-all": "^3.0.4",
"level": "^8.0.0"
},
"devDependencies": {
"@lodestar/logger": "^1.18.0"
"@lodestar/logger": "^1.18.1"
}
}
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.18.0",
"version": "1.18.1",
"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.18.0",
"@lodestar/config": "^1.18.0",
"@lodestar/params": "^1.18.0",
"@lodestar/state-transition": "^1.18.0",
"@lodestar/types": "^1.18.0",
"@lodestar/utils": "^1.18.0",
"@lodestar/api": "^1.18.1",
"@lodestar/config": "^1.18.1",
"@lodestar/params": "^1.18.1",
"@lodestar/state-transition": "^1.18.1",
"@lodestar/types": "^1.18.1",
"@lodestar/utils": "^1.18.1",
"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.18.0",
"version": "1.18.1",
"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.18.0",
"@lodestar/params": "^1.18.0",
"@lodestar/state-transition": "^1.18.0",
"@lodestar/types": "^1.18.0",
"@lodestar/utils": "^1.18.0"
"@lodestar/config": "^1.18.1",
"@lodestar/params": "^1.18.1",
"@lodestar/state-transition": "^1.18.1",
"@lodestar/types": "^1.18.1",
"@lodestar/utils": "^1.18.1"
},
"keywords": [
"ethereum",
Expand Down
12 changes: 6 additions & 6 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.18.0",
"version": "1.18.1",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -68,11 +68,11 @@
"@chainsafe/bls": "7.1.3",
"@chainsafe/persistent-merkle-tree": "^0.7.1",
"@chainsafe/ssz": "^0.15.1",
"@lodestar/api": "^1.18.0",
"@lodestar/config": "^1.18.0",
"@lodestar/params": "^1.18.0",
"@lodestar/types": "^1.18.0",
"@lodestar/utils": "^1.18.0",
"@lodestar/api": "^1.18.1",
"@lodestar/config": "^1.18.1",
"@lodestar/params": "^1.18.1",
"@lodestar/types": "^1.18.1",
"@lodestar/utils": "^1.18.1",
"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.18.0",
"version": "1.18.1",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -66,14 +66,14 @@
},
"types": "lib/index.d.ts",
"dependencies": {
"@lodestar/utils": "^1.18.0",
"@lodestar/utils": "^1.18.1",
"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.18.0",
"@lodestar/test-utils": "^1.18.1",
"@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.18.0",
"version": "1.18.1",
"description": "Chain parameters required for lodestar",
"author": "ChainSafe Systems",
"license": "Apache-2.0",
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.18.0",
"version": "1.18.1",
"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.18.0",
"@lodestar/config": "^1.18.0",
"@lodestar/light-client": "^1.18.0",
"@lodestar/logger": "^1.18.0",
"@lodestar/params": "^1.18.0",
"@lodestar/types": "^1.18.0",
"@lodestar/utils": "^1.18.0",
"@lodestar/api": "^1.18.1",
"@lodestar/config": "^1.18.1",
"@lodestar/light-client": "^1.18.1",
"@lodestar/logger": "^1.18.1",
"@lodestar/params": "^1.18.1",
"@lodestar/types": "^1.18.1",
"@lodestar/utils": "^1.18.1",
"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.18.0",
"@lodestar/test-utils": "^1.18.1",
"@types/http-proxy": "^1.17.10",
"@types/yargs": "^17.0.24",
"axios": "^1.3.4",
Expand Down
12 changes: 6 additions & 6 deletions packages/reqresp/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.18.0",
"version": "1.18.1",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -54,9 +54,9 @@
"dependencies": {
"@chainsafe/fast-crc32c": "^4.1.1",
"@libp2p/interface": "^1.1.1",
"@lodestar/config": "^1.18.0",
"@lodestar/params": "^1.18.0",
"@lodestar/utils": "^1.18.0",
"@lodestar/config": "^1.18.1",
"@lodestar/params": "^1.18.1",
"@lodestar/utils": "^1.18.1",
"it-all": "^3.0.4",
"it-pipe": "^3.0.1",
"snappy": "^7.2.2",
Expand All @@ -65,8 +65,8 @@
"uint8arraylist": "^2.4.7"
},
"devDependencies": {
"@lodestar/logger": "^1.18.0",
"@lodestar/types": "^1.18.0",
"@lodestar/logger": "^1.18.1",
"@lodestar/types": "^1.18.1",
"libp2p": "1.1.1"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit eefb711

Please sign in to comment.