Hello All,
New version of Bor v2.0.0-beta have been released for Polygon Amoy.
v2.0.0 is a new release with a breaking change in default storage scheme (see below) and a few bug fixes and improvements.
Breaking change
v2.0.0 changed its default storage scheme to path-based storage scheme (PBSS). Hence, it is incompatible with nodes that was using hash-based storage scheme (HBSS). In order for nodes that have been using HBSS continue to run, the flag state.scheme
should be manually set to hash
in the cli, or "state.scheme" = "hash"
in config.toml.
Steps for upgrading Bor node
-
Stop bor service
sudo service bor stop
-
Install Bor with a version tag, network name (amoy, mainnet), and node type (sentry, validator, or archive).
# Replace the node type curl -L https://raw.githubusercontent.com/maticnetwork/install/main/bor.sh | bash -s -- v2.0.0-beta <network> <node_type>
-
Check bor version
/usr/bin/bor version # It should print # v2.0.0-beta
-
Restart bor service
sudo service bor start
What’s Changed
- StateSync Unit Tests on RPC Methods by @lucca30 in #1404
- Make block execution timer more accurate by @cffls in #1406
- Use sync.Pool for keccak state by @cffls in #1407
- core/rawdb: handle ancient pruner offset in indexing by @manav2401 in #1411
- consensus/bor: log err when commit span fails by @manav2401 in #1413
- Use PBSS and pebble by default by @cffls in #1412
- Remove redundant locks from txpool by @cffls in #1420
- Simplify e2e-tests CI by using the consolidated script by @kamuikatsurgi in #1423
- v1.5.4 backport by @pratikspatil024 in #1426
- internal/cli: trim trailing / from ancient path by @simonecid in #1400
- v1.5.5 release by @pratikspatil024 in #1427
- miner, consensus, core: remove tracing in mining workflow by @manav2401 in #1422
- Enforce parallel evm via flag by @manav2401 in #1425
- miner: get rid of test_backend helper functions by @manav2401 in #1424
- cmd/evm: don’t overwrite sender account by @marcello33 in #1418
- builder, docs, packaging: update amoy dns, uncomment mainnet p2p configs by @manav2401 in #1428
- fix: some typos by @chloefeal in #1396
- Backport master to develop by @cffls in #1429
New Contributors
- @lucca30 made their first contribution in #1404
- @kamuikatsurgi made their first contribution in #1423
- @simonecid made their first contribution in #1400
- @chloefeal made their first contribution in #1396
Full Changelog: v1.5.5…v2.0.0-beta