v1.10.0.0
版本发布时间: 2024-01-31 21:58:15
availproject/avail最新发布版本:v2.2.5.1(2024-10-16 14:24:40)
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
- Make sure that your node is not running.
- Make sure that your
db
andnetwork
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
. - 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.
- After the sync is done, stop the node, remove the
reserved-nodes
andreserved-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.
- Make sure that your
db
andnetwork
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
. - Create a folder named
full
insidedb
,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 .
- Start your node normally with one additional flag:
--unsafe-da-sync
(there is no need forreserved-nodes
andreserved-only
flags). - 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.
What's Changed
- Added fork selection for goldberg at block 344638 by @ToufeeqP in https://github.com/availproject/avail/pull/388
- Kate Cells size is now configurable by @markopoloparadox in https://github.com/availproject/avail/pull/383
- Replaced DenyUnsafe with a special cli flag to unable kate rpcs by @markopoloparadox in https://github.com/availproject/avail/pull/384
- Marko/add cache size ci param by @markopoloparadox in https://github.com/availproject/avail/pull/378
- Node version bump by @markopoloparadox in https://github.com/availproject/avail/pull/391
- Fixed da BlockImport validation by @ToufeeqP in https://github.com/availproject/avail/pull/392
- Fixed Multiple pending forced authority set changes are not allowed I… by @markopoloparadox in https://github.com/availproject/avail/pull/393
Full Changelog: https://github.com/availproject/avail/compare/v1.9.0.2...v1.10.0.0
1、 arm64-ubuntu-2004-data-avail.tar.gz 32.13MB
2、 data-avail-runtime.compact.compressed.wasm 992.23KB
3、 x86_64-debian-11-data-avail.tar.gz 32.18MB
4、 x86_64-debian-12-data-avail.tar.gz 32.22MB
5、 x86_64-fedora-38-data-avail.tar.gz 32.29MB
6、 x86_64-fedora-39-data-avail.tar.gz 32.29MB
7、 x86_64-ubuntu-2004-data-avail.tar.gz 32.2MB
8、 x86_64-ubuntu-2204-data-avail.tar.gz 32.23MB
9、 x86_64-ubuntu-2310-data-avail.tar.gz 32.35MB