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

feat: set syncFee to 0.05bnb after FirstSunsetFork #363

Closed
wants to merge 3 commits into from

Conversation

j75689
Copy link
Collaborator

@j75689 j75689 commented Dec 22, 2023

Desc

set syncFee to 0.05bnb after FirstSunsetFork

@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2023

Codecov Report

Merging #363 (889a9ee) into bc-fusion (2b34b1a) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@              Coverage Diff              @@
##           bc-fusion     #363      +/-   ##
=============================================
- Coverage      45.58%   45.54%   -0.04%     
=============================================
  Files            248      248              
  Lines          24413    24432      +19     
=============================================
  Hits           11128    11128              
- Misses         12615    12634      +19     
  Partials         670      670              

@@ -130,6 +134,28 @@ func (keeper *Keeper) EndBreatheBlock(ctx sdk.Context) {
return
}

func (keeper *Keeper) SetSyncFeeAfterFirstSunsetFork(ctx sdk.Context) {
log := keeper.Logger(ctx)
if sdk.IsUpgrade(sdk.FirstSunsetFork) && keeper.ScKeeper != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is sdk.IsUpgrade(sdk.FirstSunsetFork) required? because it is only called only once at the hardfork of FirstSunsetFork

@j75689 j75689 closed this Dec 25, 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.

3 participants