Skip to content

Commit

Permalink
use jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer committed Aug 29, 2024
1 parent 2052ae2 commit ef5c1f1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/guides/nwaku/upgrade-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ import { AccordionItem } from '@site/src/components/mdx'
If you are currently using Nwaku, are running an old version and want to upgrade your node, please follow the below migration instructions for each release newer than your current running version

<AccordionItem title="v0.31.0">
Named sharding was deprecated in this version. This means that pubsub topics will only be supported if they comply with the static sharding format: `/waku/2/rs/<CLUSTER_ID>/<SHARD_ID>`
In order to migrate your existing application, you need to:
1. Make sure that your clients are sending messages to pubsub topics in the required format
2. When running a node with the `--pubsub-topic` CLI flag, the values provided should comply with the static sharding format
3. If your application relies on nodes or clients that may not be updated immediately, keep your node on an older version while subscribing to both the currently pubsub topic and the new pubsub topic that will comply with the static sharding format. In that case, you can keep backward compatibility for a migration period.
{`Named sharding was deprecated in this version. This means that pubsub topics will only be supported if they comply with the static sharding format: \`/waku/2/rs/<CLUSTER_ID>/<SHARD_ID>\`

In order to migrate your existing application, you need to:`}
<ol>
<li>Make sure that your clients are sending messages to pubsub topics in the required format</li>
<li>When running a node with the `--pubsub-topic` CLI flag, the values provided should comply with the static sharding format</li>
<li>If your application relies on nodes or clients that may not be updated immediately, keep your node on an older version while subscribing to both the currently pubsub topic and the new pubsub topic that will comply with the static sharding format. In that case, you can keep backward compatibility for a migration period.</li>
</ol>
</AccordionItem>

0 comments on commit ef5c1f1

Please sign in to comment.