Releases: maticnetwork/bor
v1.3.3
Bor v1.3.3 introduces PIP-32 - Ability to prune ancient block data along with a few bug fixes and observability improvements.
Ancient block pruning
This version of bor enables node operators to prune the ancient/historical block data if required. Note that this is different from state pruning, which prunes unused/inactive state from the db. The aim is to remove historical block data (headers, body, and receipts) from the freezer database as they are no longer used for chain verification. This also means that your node will no longer be able to serve RPC queries for those blocks (RPC operators shouldn't ideally use this).
It is available as a sub-command bor snapshot prune-block [options...]
and the number of blocks to keep (post pruning) is configurable via block-amount-reserved
flag. More details and usage info can be found in the PR itself (#1216).
Important points to note:
- This version is backwards in-compatible if pruning is performed (at least once) on the node.
- This feature is only enabled in
hash
based storage scheme for now and won't work forpath
based scheme.
Huge shout-out to @jsvisa who initiated the efforts and did most of the implementation in bor.
Bug fixes
- eth/tracers: avoid data race when tracing block with bor tx by @easyfold in #1214
- eth: explicitly commented the code were bor could get into snap-sync mode by @pratikspatil024 in #1243
- ethstats: added error handeling in ethstats.go which prevents node to panic by @pratikspatil024 in #1249
- eth: explicitly commented the code were bor could get into snap-sync mode 2.0 by @pratikspatil024 in #1247
- Fix panic when fetching block in case of reorg by @pratikspatil024 in #1259
Observability / P2P
- eth/internal: add
debug.peerStats
for stats related to all connected peers by @manav2401 in #1252 - eth: broadcast block to static and trusted peers as well by @pratikspatil024 in #1258
- eth/fetcher: modify queue limits for improving sync near chain tip by @manav2401 in #1260
Misc
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by @dependabot in #1225
- Merge master by @anshalshukla in #1241
- Backmerge Master to develop after 1.3.2 release by @pratikspatil024 in #1250
New Contributors
Full Changelog: v1.3.2...v1.3.3
v1.3.3-beta3
Bor v1.3.3-beta3 is a maintenance release containing fixes related to ongoing sync issues.
What's Changed
- eth/fetcher: modify queue limits for improving sync near chain tip by @manav2401 in #1260
- eth/gasprice: fix percentile validation in eth_feeHistory by @marcello33 in #1235
Full Changelog: v1.3.3-beta2...v1.3.3-beta3
v1.3.3-beta2
The following fixes has been made on top of v1.3.3-beta.
What's Changed
- eth: broadcast block to static and trusted peers as well by @pratikspatil024 in #1258
- Fix panic when fetching block in case of reorg by @pratikspatil024 in #1259
Full Changelog: v1.3.3-beta...v1.3.3-beta2
v1.3.3-beta
Bor v1.3.3-beta introduces PIP-32 - Ability to prune ancient block data along with a few bug fixes and observability improvements.
Ancient block pruning
This version of bor enables node operators to prune the ancient/historical block data if required. Note that this is different from state pruning, which prunes unused/inactive state from the db. The aim is to remove historical block data (headers, body, and receipts) from the freezer database as they are no longer used for chain verification. This also means that your node will no longer be able to serve RPC queries for those blocks (RPC operators shouldn't ideally use this).
It is available as a sub-command bor snapshot prune-block [options...]
and the number of blocks to keep (post pruning) is configurable via block-amount-reserved
flag. More details and usage info can be found in the PR itself (#1216).
Important points to note:
- This version is backwards in-compatible if pruning is performed (at least once) on the node.
- This feature is only enabled in
hash
based storage scheme for now and won't work forpath
based scheme.
Huge shout-out to @jsvisa who initiated the efforts and did most of the implementation in bor.
Bug fixes
- eth/tracers: avoid data race when tracing block with bor tx by @easyfold in #1214
- eth: explicitly commented the code were bor could get into snap-sync mode by @pratikspatil024 in #1243
- ethstats: added error handeling in ethstats.go which prevents node to panic by @pratikspatil024 in #1249
- eth: explicitly commented the code were bor could get into snap-sync mode 2.0 by @pratikspatil024 in #1247
Observability
- eth/internal: add
debug.peerStats
for stats related to all connected peers by @manav2401 in #1252
Misc
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by @dependabot in #1225
- Merge master by @anshalshukla in #1241
- Backmerge Master to develop after 1.3.2 release by @pratikspatil024 in #1250
New Contributors
Full Changelog: v1.3.2...v1.3.3-beta
v1.3.2
This is a maintenance release and fixes few bugs. It's advisable to upgrade bor to this version at the earliest.
Fixes
- Hashing of state-sync transactions during rpc calls by @anshalshukla in #1207
- Cancel pending downloader tasks before rewinding due to milestone mismatch by @anshalshukla in #1245
- Cancel pending downloader tasks before rewinding by @cffls
- core/rawdb: add sanity-limit to header accessor by @marcello33
Full Changelog: v1.3.1...v1.3.2
v1.3.2-beta-2
Fixes:
- Fix state sync hash by @anshalshukla in #1207
- Cancel pending downloader tasks before rewinding by @cffls
- core/rawdb: add sanity-limit to header accessor by @marcello33
Full Changelog: v1.3.1...v1.3.2-beta-2
v1.3.2-beta
This patch contains a fix for stuck synchronization in scenarios where pending requests in downloader are not canceled before rewinding chain.
What's Changed
Full Changelog: v1.3.1...v1.3.2-beta
v1.3.1
Enhancements:
- Properly close deps channel by @cffls in #1197
- Upload
milestones
audit by @marcello33 in #1200 - eth/downloader: bypass peer validation if remote peer is far away by @manav2401 in #1219
- Back-merge master branch into 'develop' by @0xsharma in #1220
Fixes:
- Add: Changes reverted in PR#1124 by @anshalshukla in #1204
- chore: fix typos by @xiaoxianBoy in #1215
- eth, miner: fix enforcing the minimum miner tip (#28933) by @pratikspatil024 in #1209
- eth: close engine before handler for graceful shutdown by @manav2401 in #1189
- chore: fix some comments by @worrycare in #1203
- Update lintci and fix lints by @manav2401 in #1217
Miscellaneous:
- Update pebble from upstream by @anshalshukla in #1196
- merge "V1.3.0 beta candidate" into develop by @0xsharma in #1198
- v1.3.1 Stable Release by @anshalshukla in #1230
New Contributors
- @worrycare made their first contribution in #1203
- @xiaoxianBoy made their first contribution in #1215
Full Changelog: v1.3.0...v1.3.1
v1.3.1-beta-1
Enhancements:
- Upload
milestones
audit by @marcello33 in #1200 - Update lintci and fix lints by @manav2401 in #1217
- Back-merge master branch into 'develop' by @0xsharma in #1220
- eth/downloader: bypass peer validation if remote peer is far away by @manav2401 in #1219
Fixes:
- Properly close deps channel by @cffls in #1197
- eth, miner: fix enforcing the minimum miner tip (#28933) by @pratikspatil024 in #1209
- chore: fix some comments by @worrycare in #1203
- eth: close engine before handler for graceful shutdown by @manav2401 in #1189
- chore: fix typos by @xiaoxianBoy in #1215
Miscellaneous:
- Update pebble from upstream by @anshalshukla in #1196
- merge "V1.3.0 beta candidate" into develop by @0xsharma in #1198
- Add: Changes reverted in PR#1124 by @anshalshukla in #1204
New Contributors
- @worrycare made their first contribution in #1203
- @xiaoxianBoy made their first contribution in #1215
Full Changelog: v1.3.0...v1.3.1-beta-1
v1.3.0
Overview
This release incorporates upstream changes from geth v1.13.5 and introduces the PBSS state scheme. Additionally, the Amoy configuration has been integrated into this release. The Napoli HardFork Block Number has been set for the Amoy Testnet at #5423600.
Enhancements:
- Updated IPC Path on CI Tests: #1127 by @manav2401.
- Added Amoy Flags and Genesis: #1131 by @0xsharma.
- Made HF Consistent: #1137 by @temaniarpit27.
- Removed kzg Precompile from Core/VM: #1130 by @anshalshukla.
- Reset TX Lookup Cache if Necessary in Core: #1157 by @pratikspatil024.
- Added Amoy Flags and Genesis: #1131 by @0xsharma.
Fixes:
- Fixed Bug: Used Lock When Mutating the Flag: #1120 by @zhiqiangxu.
- Reverted "Fixed Bug: Used Lock When Mutating the Flag": #1140 by @pratikspatil024.
- Fixed Typos: #1147 by @rex4539.
Miscellaneous:
- Upstreamed from Geth 1.13.5: #1106 by @0xsharma.
- Bumped Dependencies: #1183 by @marcello33.
- Merged Branch 'Master' into Develop: #1194 by @0xsharma.
New Contributors:
- @rex4539 Made Their First Contribution: Welcomed a new contributor who made their first contribution to the project, fostering community growth and collaboration. PR: #1147.
Full Changelog: v1.2.8...v1.3.0