Skip to content

release: prepare for release v1.3.1#1927

Merged
brilliant-lx merged 1 commit intobnb-chain:developfrom
brilliant-lx:release_v1.3.1
Oct 18, 2023
Merged

release: prepare for release v1.3.1#1927
brilliant-lx merged 1 commit intobnb-chain:developfrom
brilliant-lx:release_v1.3.1

Conversation

@brilliant-lx
Copy link
Copy Markdown
Contributor

@brilliant-lx brilliant-lx commented Oct 18, 2023

Description

Release v1.3.1 is a maintenance release to support PBSS on BSC.
PBSS stands for: Path-Based-Storage-Scheme, which is used to optimize the MPT trie tree access, to improve its efficiency and also brings the inline state prune. You could refer this post on how it works: Geth Path-Based Storage Model and Newly Inline State Prune

Currently, PBSS is disabled by default, use this new flag to enable it: --state.scheme path
Important
Before use PBSS, you need to make sure your MPT storage in levelDB are already in PBSS format. There are 2 options to get the PBSS storage:

  • 1.Full sync from genesis with the flag: --state.scheme path. // Not recommend, could take 3 months to catch up the latest block.
  • 2.Use the converting tool, refer: cmd/geth: add hbss to pbss convert tool #1882. // Recommend, could take ~3 days to complete the MPT convert from HashBased to PBSS.

Change Log

FEATURE

  • #1881 feat: active pbss
  • #1882 cmd/geth: add hbss to pbss convert tool
  • #1916 feat: cherry-pick pbss patch commits from eth repo in v1.13.2

BUGFIX

  • #1923 consensus/parlia: fix nextForkHash in Extra filed of block header

Example

NA

Compatibility

PBSS will have a new MPT storage scheme, although it is still based the Key/Value database, like LevelDB. HashBased storage could not use PBSS and vice versa.

@joey0612
Copy link
Copy Markdown
Contributor

#1881 and #1882 should be added into v1.3.1 changelog

@joey0612
Copy link
Copy Markdown
Contributor

LGTM

@buddh0
Copy link
Copy Markdown
Contributor

buddh0 commented Oct 18, 2023

LGTM

@brilliant-lx brilliant-lx merged commit 4493ab8 into bnb-chain:develop Oct 18, 2023
@brilliant-lx brilliant-lx deleted the release_v1.3.1 branch October 26, 2023 02:59
whw188 pushed a commit to tylerteea/mev-bsc that referenced this pull request Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants