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

freezer: Opt freezer env checking #2580

Merged
merged 7 commits into from
Jul 16, 2024

Conversation

galaio
Copy link
Contributor

@galaio galaio commented Jul 15, 2024

Description

This PR adds a silent logic. For scenarios that require Freezer Env, SetupFreezerEnv should be called to initialize. For other scenarios, Freezer will silently wait 3 times and return, and will no longer execute freeze.

Using silent logic effectively avoids large-scale API modifications and unnecessary DB initialization operations.

It fixed this issue, #2570

Changes

Notable changes:

  • freezer: opt freezer env check logic;
  • ...

@galaio galaio requested review from buddh0 and zzzckck July 15, 2024 07:48
buddh0
buddh0 previously approved these changes Jul 15, 2024
buddh0
buddh0 previously approved these changes Jul 16, 2024
zzzckck
zzzckck previously approved these changes Jul 16, 2024
@galaio galaio dismissed stale reviews from zzzckck and buddh0 via fb16c4a July 16, 2024 10:19
@zzzckck zzzckck merged commit c6af481 into bnb-chain:develop Jul 16, 2024
7 checks passed
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.

3 participants