Skip to content

Commit eefb711

Browse files
authored
chore: release 1.18.1 (#6760)
2 parents 778a171 + bc1537b commit eefb711

File tree

21 files changed

+112
-99
lines changed

21 files changed

+112
-99
lines changed

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
],
55
"npmClient": "yarn",
66
"useNx": true,
7-
"version": "1.18.0",
7+
"version": "1.18.1",
88
"stream": true,
99
"command": {
1010
"version": {

packages/api/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"bugs": {
1212
"url": "https://github.com/ChainSafe/lodestar/issues"
1313
},
14-
"version": "1.18.0",
14+
"version": "1.18.1",
1515
"type": "module",
1616
"exports": {
1717
".": {
@@ -69,10 +69,10 @@
6969
"dependencies": {
7070
"@chainsafe/persistent-merkle-tree": "^0.7.1",
7171
"@chainsafe/ssz": "^0.15.1",
72-
"@lodestar/config": "^1.18.0",
73-
"@lodestar/params": "^1.18.0",
74-
"@lodestar/types": "^1.18.0",
75-
"@lodestar/utils": "^1.18.0",
72+
"@lodestar/config": "^1.18.1",
73+
"@lodestar/params": "^1.18.1",
74+
"@lodestar/types": "^1.18.1",
75+
"@lodestar/utils": "^1.18.1",
7676
"eventsource": "^2.0.2",
7777
"qs": "^6.11.1"
7878
},

packages/beacon-node/package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"bugs": {
1212
"url": "https://github.com/ChainSafe/lodestar/issues"
1313
},
14-
"version": "1.18.0",
14+
"version": "1.18.1",
1515
"type": "module",
1616
"exports": {
1717
".": {
@@ -120,18 +120,18 @@
120120
"@libp2p/peer-id-factory": "^4.0.3",
121121
"@libp2p/prometheus-metrics": "^3.0.10",
122122
"@libp2p/tcp": "9.0.10",
123-
"@lodestar/api": "^1.18.0",
124-
"@lodestar/config": "^1.18.0",
125-
"@lodestar/db": "^1.18.0",
126-
"@lodestar/fork-choice": "^1.18.0",
127-
"@lodestar/light-client": "^1.18.0",
128-
"@lodestar/logger": "^1.18.0",
129-
"@lodestar/params": "^1.18.0",
130-
"@lodestar/reqresp": "^1.18.0",
131-
"@lodestar/state-transition": "^1.18.0",
132-
"@lodestar/types": "^1.18.0",
133-
"@lodestar/utils": "^1.18.0",
134-
"@lodestar/validator": "^1.18.0",
123+
"@lodestar/api": "^1.18.1",
124+
"@lodestar/config": "^1.18.1",
125+
"@lodestar/db": "^1.18.1",
126+
"@lodestar/fork-choice": "^1.18.1",
127+
"@lodestar/light-client": "^1.18.1",
128+
"@lodestar/logger": "^1.18.1",
129+
"@lodestar/params": "^1.18.1",
130+
"@lodestar/reqresp": "^1.18.1",
131+
"@lodestar/state-transition": "^1.18.1",
132+
"@lodestar/types": "^1.18.1",
133+
"@lodestar/utils": "^1.18.1",
134+
"@lodestar/validator": "^1.18.1",
135135
"@multiformats/multiaddr": "^12.1.3",
136136
"c-kzg": "^2.1.2",
137137
"datastore-core": "^9.1.1",

packages/beacon-node/src/network/gossip/gossipsub.ts

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export type Eth2GossipsubOpts = {
5353
gossipsubDLow?: number;
5454
gossipsubDHigh?: number;
5555
gossipsubAwaitHandler?: boolean;
56+
disableFloodPublish?: boolean;
5657
skipParamsLog?: boolean;
5758
};
5859

@@ -128,6 +129,9 @@ export class Eth2Gossipsub extends GossipSub {
128129
maxOutboundBufferSize: MAX_OUTBOUND_BUFFER_SIZE,
129130
// serialize message once and send to all peers when publishing
130131
batchPublish: true,
132+
// if this is false, only publish to mesh peers. If there is not enough GOSSIP_D mesh peers,
133+
// publish to some more topic peers to make sure we always publish to at least GOSSIP_D peers
134+
floodPublish: !opts?.disableFloodPublish,
131135
});
132136
this.scoreParams = scoreParams;
133137
this.config = config;

packages/cli/package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chainsafe/lodestar",
3-
"version": "1.18.0",
3+
"version": "1.18.1",
44
"description": "Command line interface for lodestar",
55
"author": "ChainSafe Systems",
66
"license": "LGPL-3.0",
@@ -63,17 +63,17 @@
6363
"@libp2p/crypto": "^3.0.4",
6464
"@libp2p/peer-id": "^4.0.4",
6565
"@libp2p/peer-id-factory": "^4.0.3",
66-
"@lodestar/api": "^1.18.0",
67-
"@lodestar/beacon-node": "^1.18.0",
68-
"@lodestar/config": "^1.18.0",
69-
"@lodestar/db": "^1.18.0",
70-
"@lodestar/light-client": "^1.18.0",
71-
"@lodestar/logger": "^1.18.0",
72-
"@lodestar/params": "^1.18.0",
73-
"@lodestar/state-transition": "^1.18.0",
74-
"@lodestar/types": "^1.18.0",
75-
"@lodestar/utils": "^1.18.0",
76-
"@lodestar/validator": "^1.18.0",
66+
"@lodestar/api": "^1.18.1",
67+
"@lodestar/beacon-node": "^1.18.1",
68+
"@lodestar/config": "^1.18.1",
69+
"@lodestar/db": "^1.18.1",
70+
"@lodestar/light-client": "^1.18.1",
71+
"@lodestar/logger": "^1.18.1",
72+
"@lodestar/params": "^1.18.1",
73+
"@lodestar/state-transition": "^1.18.1",
74+
"@lodestar/types": "^1.18.1",
75+
"@lodestar/utils": "^1.18.1",
76+
"@lodestar/validator": "^1.18.1",
7777
"@multiformats/multiaddr": "^12.1.3",
7878
"deepmerge": "^4.3.1",
7979
"ethers": "^6.7.0",
@@ -89,7 +89,7 @@
8989
"yargs": "^17.7.1"
9090
},
9191
"devDependencies": {
92-
"@lodestar/test-utils": "^1.18.0",
92+
"@lodestar/test-utils": "^1.18.1",
9393
"@types/debug": "^4.1.7",
9494
"@types/got": "^9.6.12",
9595
"@types/inquirer": "^9.0.3",

packages/cli/src/options/beaconNodeOptions/network.ts

+9
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export type NetworkArgs = {
3232
"network.gossipsubDLow"?: number;
3333
"network.gossipsubDHigh"?: number;
3434
"network.gossipsubAwaitHandler"?: boolean;
35+
"network.disableFloodPublish"?: boolean;
3536
"network.rateLimitMultiplier"?: number;
3637
"network.maxGossipTopicConcurrency"?: number;
3738
"network.useWorker"?: boolean;
@@ -149,6 +150,7 @@ export function parseArgs(args: NetworkArgs): IBeaconNodeOptions["network"] {
149150
gossipsubDLow: args["network.gossipsubDLow"],
150151
gossipsubDHigh: args["network.gossipsubDHigh"],
151152
gossipsubAwaitHandler: args["network.gossipsubAwaitHandler"],
153+
disableFloodPublish: args["network.disableFloodPublish"],
152154
mdns: args["mdns"],
153155
rateLimitMultiplier: args["network.rateLimitMultiplier"],
154156
maxGossipTopicConcurrency: args["network.maxGossipTopicConcurrency"],
@@ -360,6 +362,13 @@ export const options: CliCommandOptions<NetworkArgs> = {
360362
group: "network",
361363
},
362364

365+
"network.disableFloodPublish": {
366+
hidden: true,
367+
description: "Disable gossipsub flood publish",
368+
type: "boolean",
369+
group: "network",
370+
},
371+
363372
"network.rateLimitMultiplier": {
364373
type: "number",
365374
description: "The multiplier to increase the rate limits. Set to zero to disable rate limiting.",

packages/config/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lodestar/config",
3-
"version": "1.18.0",
3+
"version": "1.18.1",
44
"description": "Chain configuration required for lodestar",
55
"author": "ChainSafe Systems",
66
"license": "Apache-2.0",
@@ -65,7 +65,7 @@
6565
],
6666
"dependencies": {
6767
"@chainsafe/ssz": "^0.15.1",
68-
"@lodestar/params": "^1.18.0",
69-
"@lodestar/types": "^1.18.0"
68+
"@lodestar/params": "^1.18.1",
69+
"@lodestar/types": "^1.18.1"
7070
}
7171
}

packages/db/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lodestar/db",
3-
"version": "1.18.0",
3+
"version": "1.18.1",
44
"description": "DB modules of Lodestar",
55
"author": "ChainSafe Systems",
66
"homepage": "https://github.com/ChainSafe/lodestar#readme",
@@ -36,12 +36,12 @@
3636
},
3737
"dependencies": {
3838
"@chainsafe/ssz": "^0.15.1",
39-
"@lodestar/config": "^1.18.0",
40-
"@lodestar/utils": "^1.18.0",
39+
"@lodestar/config": "^1.18.1",
40+
"@lodestar/utils": "^1.18.1",
4141
"it-all": "^3.0.4",
4242
"level": "^8.0.0"
4343
},
4444
"devDependencies": {
45-
"@lodestar/logger": "^1.18.0"
45+
"@lodestar/logger": "^1.18.1"
4646
}
4747
}

packages/flare/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lodestar/flare",
3-
"version": "1.18.0",
3+
"version": "1.18.1",
44
"description": "Beacon chain debugging tool",
55
"author": "ChainSafe Systems",
66
"license": "Apache-2.0",
@@ -60,12 +60,12 @@
6060
"dependencies": {
6161
"@chainsafe/bls": "7.1.3",
6262
"@chainsafe/bls-keygen": "^0.4.0",
63-
"@lodestar/api": "^1.18.0",
64-
"@lodestar/config": "^1.18.0",
65-
"@lodestar/params": "^1.18.0",
66-
"@lodestar/state-transition": "^1.18.0",
67-
"@lodestar/types": "^1.18.0",
68-
"@lodestar/utils": "^1.18.0",
63+
"@lodestar/api": "^1.18.1",
64+
"@lodestar/config": "^1.18.1",
65+
"@lodestar/params": "^1.18.1",
66+
"@lodestar/state-transition": "^1.18.1",
67+
"@lodestar/types": "^1.18.1",
68+
"@lodestar/utils": "^1.18.1",
6969
"source-map-support": "^0.5.21",
7070
"yargs": "^17.7.1"
7171
},

packages/fork-choice/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"bugs": {
1212
"url": "https://github.com/ChainSafe/lodestar/issues"
1313
},
14-
"version": "1.18.0",
14+
"version": "1.18.1",
1515
"type": "module",
1616
"exports": "./lib/index.js",
1717
"types": "./lib/index.d.ts",
@@ -37,11 +37,11 @@
3737
},
3838
"dependencies": {
3939
"@chainsafe/ssz": "^0.15.1",
40-
"@lodestar/config": "^1.18.0",
41-
"@lodestar/params": "^1.18.0",
42-
"@lodestar/state-transition": "^1.18.0",
43-
"@lodestar/types": "^1.18.0",
44-
"@lodestar/utils": "^1.18.0"
40+
"@lodestar/config": "^1.18.1",
41+
"@lodestar/params": "^1.18.1",
42+
"@lodestar/state-transition": "^1.18.1",
43+
"@lodestar/types": "^1.18.1",
44+
"@lodestar/utils": "^1.18.1"
4545
},
4646
"keywords": [
4747
"ethereum",

packages/light-client/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"bugs": {
1212
"url": "https://github.com/ChainSafe/lodestar/issues"
1313
},
14-
"version": "1.18.0",
14+
"version": "1.18.1",
1515
"type": "module",
1616
"exports": {
1717
".": {
@@ -68,11 +68,11 @@
6868
"@chainsafe/bls": "7.1.3",
6969
"@chainsafe/persistent-merkle-tree": "^0.7.1",
7070
"@chainsafe/ssz": "^0.15.1",
71-
"@lodestar/api": "^1.18.0",
72-
"@lodestar/config": "^1.18.0",
73-
"@lodestar/params": "^1.18.0",
74-
"@lodestar/types": "^1.18.0",
75-
"@lodestar/utils": "^1.18.0",
71+
"@lodestar/api": "^1.18.1",
72+
"@lodestar/config": "^1.18.1",
73+
"@lodestar/params": "^1.18.1",
74+
"@lodestar/types": "^1.18.1",
75+
"@lodestar/utils": "^1.18.1",
7676
"mitt": "^3.0.0"
7777
},
7878
"devDependencies": {

packages/logger/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"bugs": {
1212
"url": "https://github.com/ChainSafe/lodestar/issues"
1313
},
14-
"version": "1.18.0",
14+
"version": "1.18.1",
1515
"type": "module",
1616
"exports": {
1717
".": {
@@ -66,14 +66,14 @@
6666
},
6767
"types": "lib/index.d.ts",
6868
"dependencies": {
69-
"@lodestar/utils": "^1.18.0",
69+
"@lodestar/utils": "^1.18.1",
7070
"winston": "^3.8.2",
7171
"winston-daily-rotate-file": "^4.7.1",
7272
"winston-transport": "^4.5.0"
7373
},
7474
"devDependencies": {
7575
"@chainsafe/threads": "^1.11.1",
76-
"@lodestar/test-utils": "^1.18.0",
76+
"@lodestar/test-utils": "^1.18.1",
7777
"@types/triple-beam": "^1.3.2",
7878
"triple-beam": "^1.3.0"
7979
},

packages/params/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lodestar/params",
3-
"version": "1.18.0",
3+
"version": "1.18.1",
44
"description": "Chain parameters required for lodestar",
55
"author": "ChainSafe Systems",
66
"license": "Apache-2.0",

packages/prover/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"bugs": {
1212
"url": "https://github.com/ChainSafe/lodestar/issues"
1313
},
14-
"version": "1.18.0",
14+
"version": "1.18.1",
1515
"type": "module",
1616
"exports": {
1717
".": {
@@ -69,13 +69,13 @@
6969
"@ethereumjs/tx": "^4.1.2",
7070
"@ethereumjs/util": "^8.0.6",
7171
"@ethereumjs/vm": "^6.4.2",
72-
"@lodestar/api": "^1.18.0",
73-
"@lodestar/config": "^1.18.0",
74-
"@lodestar/light-client": "^1.18.0",
75-
"@lodestar/logger": "^1.18.0",
76-
"@lodestar/params": "^1.18.0",
77-
"@lodestar/types": "^1.18.0",
78-
"@lodestar/utils": "^1.18.0",
72+
"@lodestar/api": "^1.18.1",
73+
"@lodestar/config": "^1.18.1",
74+
"@lodestar/light-client": "^1.18.1",
75+
"@lodestar/logger": "^1.18.1",
76+
"@lodestar/params": "^1.18.1",
77+
"@lodestar/types": "^1.18.1",
78+
"@lodestar/utils": "^1.18.1",
7979
"ethereum-cryptography": "^2.0.0",
8080
"find-up": "^6.3.0",
8181
"http-proxy": "^1.18.1",
@@ -84,7 +84,7 @@
8484
"yargs": "^17.7.1"
8585
},
8686
"devDependencies": {
87-
"@lodestar/test-utils": "^1.18.0",
87+
"@lodestar/test-utils": "^1.18.1",
8888
"@types/http-proxy": "^1.17.10",
8989
"@types/yargs": "^17.0.24",
9090
"axios": "^1.3.4",

packages/reqresp/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"bugs": {
1212
"url": "https://github.com/ChainSafe/lodestar/issues"
1313
},
14-
"version": "1.18.0",
14+
"version": "1.18.1",
1515
"type": "module",
1616
"exports": {
1717
".": {
@@ -54,9 +54,9 @@
5454
"dependencies": {
5555
"@chainsafe/fast-crc32c": "^4.1.1",
5656
"@libp2p/interface": "^1.1.1",
57-
"@lodestar/config": "^1.18.0",
58-
"@lodestar/params": "^1.18.0",
59-
"@lodestar/utils": "^1.18.0",
57+
"@lodestar/config": "^1.18.1",
58+
"@lodestar/params": "^1.18.1",
59+
"@lodestar/utils": "^1.18.1",
6060
"it-all": "^3.0.4",
6161
"it-pipe": "^3.0.1",
6262
"snappy": "^7.2.2",
@@ -65,8 +65,8 @@
6565
"uint8arraylist": "^2.4.7"
6666
},
6767
"devDependencies": {
68-
"@lodestar/logger": "^1.18.0",
69-
"@lodestar/types": "^1.18.0",
68+
"@lodestar/logger": "^1.18.1",
69+
"@lodestar/types": "^1.18.1",
7070
"libp2p": "1.1.1"
7171
},
7272
"peerDependencies": {

0 commit comments

Comments
 (0)