Sovereign-Labs / sovereign-sdk

A framework for building seamlessly scalable and interoperable rollups that can run on any blockchain
https://sovereign.xyz
Apache License 2.0
367 stars 104 forks source link

Bump avail-subxt from v1.6.3 to v1.10.0.0 #1315

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 8 months ago

Bumps avail-subxt from v1.6.3 to v1.10.0.0.

Release notes

Sourced from avail-subxt's releases.

v1.10.0.0

Important Message

This is a new binary that fixes the issues that we experienced last week. You will need to remove your existing storage database and resync from scratch. It is important to use the following flags in order for the node to pick the correct fork:

--chain goldberg \
--reserved-nodes \
"/dns/bootnode-001.goldberg.avail.tools/tcp/30333/p2p/12D3KooWCVqFvrP3UJ1S338Gb8SHvEQ1xpENLb45Dbynk4hu1XGN" \
"/dns/bootnode-002.goldberg.avail.tools/tcp/30333/p2p/12D3KooWD6sWeWCG5Z1qhejhkPk9Rob5h75wYmPB6MUoPo7br58m" \
"/dns/bootnode-003.goldberg.avail.tools/tcp/30333/p2p/12D3KooWMR9ZoAVWJv6ahraVzUCfacNbFKk7ABoWxVL3fJ3XXGDw" \
"/dns/bootnode-004.goldberg.avail.tools/tcp/30333/p2p/12D3KooWMuyLE3aPQ82HTWuPUCjiP764ebQrZvGUzxrYGuXWZJZV" \
"/dns/bootnode-005.goldberg.avail.tools/tcp/30333/p2p/12D3KooWKJwbdcZ7QWcPLHy3EJ1UiffaLGnNBMffeK8AqRVWBZA1" \
"/dns/bootnode-006.goldberg.avail.tools/tcp/30333/p2p/12D3KooWM8AaHDH8SJvg6bq4CGQyHvW2LH7DCHbdv633dsrti7i5" \
--reserved-only 

Instructions

  1. Make sure that your node is not running.
  2. Make sure that your db and network folder is empty. These folders you can find inside your base-path folder (Path that you used with either -d or --base-path ). Example: /opt/node-data/chains/avail_goldberg_testnet.
  3. Start your node with the flags mentioned in the release. This will force the node to fetch blocks from the nodes that are on the correct chain.
  4. After the sync is done, stop the node, remove the reserved-nodes and reserved-only flag and restart the node.

Avoiding full sync

Doing a full sync takes a long time to do. To make it faster you can use our existing snapshot that will cut the sync time in hours. 0. Make sure that your node is not running.

  1. Make sure that your db and network folder is empty. These folders you can find inside your base-path folder (Path that you used with either -d or --base-path ). Example: /opt/node-data/chains/avail_goldberg_testnet.
  2. Create a folder named full inside db, cd into it, and execute the following command inside that folder: curl -o - -L https://snapshots.avail.nexus/goldberg/avail_goldberg_testnet_snapshot_jan_31.tar.gz | tar -xz -C .
  3. Start your node normally with one additional flag: --unsafe-da-sync (there is no need forreserved-nodes and reserved-only flags).
  4. Once the sync is done, stop the node, remove the --unsafe-da-sync flag and restart the node.

Q: What if you don't have a db and network folder because you are running your node for the first time? A: In Instructions ignore step 1. and start with step 2. Wait for the node to sync the first few blocks, stop the node and then normally follow the instruction for Avoiding full sync.

Q: Can I still use my existing session keys? A: Once the sync is done, just in case, I would advise that you generate new session keys by calling the author.rotateKeys RPC (check docs for the command) and change the keys via the explorer. After that restart your node and wait 2 eras for the keys to get applied.

image

What's Changed

Full Changelog: https://github.com/availproject/avail/compare/v1.9.0.2...v1.10.0.0

... (truncated)

Commits
  • b514ad4 Fixed Multiple pending forced authority set changes are not allowed I… (#393)
  • f9a6b6b Fixed da BlockImport validation (#392)
  • aac4398 Node version bump (#391)
  • 4800854 Marko/add cache size ci param (#378)
  • ed00866 Replaced DenyUnsafe with a special cli flag to unable kate rpcs (#384)
  • b94a90c Kate Cells size is now configurable (#383)
  • faf41f4 Added fork selection for goldberg at block 344638 (#388)
  • db7a55c Decreased TX prices from 50x to 10x. Decreased payout weights (#385)
  • 828b259 Added weights (#381)
  • a2103fe Add code comments, no functional changes (#377)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 7 months ago

Superseded by #1318.