diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cca59561bd..04c534311e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Lotus changelog +# v1.22.2 / 2023-06-28 + +This is a patch release on top of 1.22.1 containing the fix for https://github.com/filecoin-project/lotus/issues/10906 +This fixes the syncing issue seen by many node operators/SPs, usually when performing actions which would result in msgs staying in their mpool for longer periods of time (ex. PSD) resulting in these msgs being republished multiple times and possibly lowering your peer scores. Please refer to the above issue for more details. +We'd recommend everyone to accept this fix to better overall network health + + # v1.22.1 / 2023-04-23 ## Important Notice diff --git a/build/openrpc/full.json.gz b/build/openrpc/full.json.gz index 1dfe553d5ab..9b180cc9c63 100644 Binary files a/build/openrpc/full.json.gz and b/build/openrpc/full.json.gz differ diff --git a/build/openrpc/gateway.json.gz b/build/openrpc/gateway.json.gz index 25b1983479d..938f072d27c 100644 Binary files a/build/openrpc/gateway.json.gz and b/build/openrpc/gateway.json.gz differ diff --git a/build/openrpc/miner.json.gz b/build/openrpc/miner.json.gz index 470a9c5a47b..08b9587284e 100644 Binary files a/build/openrpc/miner.json.gz and b/build/openrpc/miner.json.gz differ diff --git a/build/openrpc/worker.json.gz b/build/openrpc/worker.json.gz index 3f73814cfe8..2a2bcf114c1 100644 Binary files a/build/openrpc/worker.json.gz and b/build/openrpc/worker.json.gz differ diff --git a/build/version.go b/build/version.go index 3db9ab4e17b..524d0344746 100644 --- a/build/version.go +++ b/build/version.go @@ -37,7 +37,7 @@ func BuildTypeString() string { } // BuildVersion is the local build version -const BuildVersion = "1.22.1" +const BuildVersion = "1.22.2" func UserVersion() string { if os.Getenv("LOTUS_VERSION_IGNORE_COMMIT") == "1" { diff --git a/chain/sub/incoming.go b/chain/sub/incoming.go index 4c7d16a9a17..6335861f1f1 100644 --- a/chain/sub/incoming.go +++ b/chain/sub/incoming.go @@ -361,6 +361,8 @@ func (mv *MessageValidator) Validate(ctx context.Context, pid peer.ID, msg *pubs case xerrors.Is(err, messagepool.ErrNonceGap): fallthrough case xerrors.Is(err, messagepool.ErrNonceTooLow): + fallthrough + case xerrors.Is(err, messagepool.ErrExistingNonce): return pubsub.ValidationIgnore default: return pubsub.ValidationReject diff --git a/documentation/en/cli-lotus-miner.md b/documentation/en/cli-lotus-miner.md index 460278e703a..132b00ffabb 100644 --- a/documentation/en/cli-lotus-miner.md +++ b/documentation/en/cli-lotus-miner.md @@ -7,7 +7,7 @@ USAGE: lotus-miner [global options] command [command options] [arguments...] VERSION: - 1.22.1 + 1.22.2 COMMANDS: init Initialize a lotus miner repo diff --git a/documentation/en/cli-lotus-worker.md b/documentation/en/cli-lotus-worker.md index ea4cff4e0d4..b6e0344ef67 100644 --- a/documentation/en/cli-lotus-worker.md +++ b/documentation/en/cli-lotus-worker.md @@ -7,7 +7,7 @@ USAGE: lotus-worker [global options] command [command options] [arguments...] VERSION: - 1.22.1 + 1.22.2 COMMANDS: run Start lotus worker diff --git a/documentation/en/cli-lotus.md b/documentation/en/cli-lotus.md index feb6e0f1b47..4e5c9d06c4d 100644 --- a/documentation/en/cli-lotus.md +++ b/documentation/en/cli-lotus.md @@ -7,7 +7,7 @@ USAGE: lotus [global options] command [command options] [arguments...] VERSION: - 1.22.1 + 1.22.2 COMMANDS: daemon Start a lotus daemon process