Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core/state: ensure triedb Commit after Update #1900

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

NathanBSC
Copy link
Contributor

@NathanBSC NathanBSC commented Sep 27, 2023

Description

core/state: ensure triedb Commit after Update

Rationale

if Commit first, and then Update, trie nodes may not write into disk correctly
and it lead to memory leak in archive mode

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@joeylichang
Copy link
Contributor

LGTM

@brilliant-lx brilliant-lx merged commit f8bc2b7 into bnb-chain:master Sep 27, 2023
5 checks passed
@NathanBSC NathanBSC deleted the trie_commit_after_update branch October 9, 2023 01:33
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