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

set mainnet btc deposit fee height to future height #1818

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

ws4charlie
Copy link
Contributor

Description

The current upgrade height 832000 has already past. We should offset the height to future. I increased the Bitcoin height by 2 more weeks.

Closes:

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.

  • Tested CCTX in localnet
  • Tested in development environment
  • Go unit tests
  • Go integration tests
  • Tested via GitHub Actions

Checklist:

  • I have added unit tests that prove my fix feature works

@@ -38,7 +38,7 @@ import (
)

const (
DynamicDepositorFeeHeight = 832000 // Bitcoin block height to switch to dynamic depositor fee
DynamicDepositorFeeHeight = 834500 // Bitcoin block height to switch to dynamic depositor fee
Copy link
Member

Choose a reason for hiding this comment

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

What's the context here? Do we need to update this value for every upgrade moving forward? Would need more comment what the height is used for.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only used once for next release. This height the starting height from which dynamic deposit fee will take effect for mainnet (only). I can update the comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ws4charlie ws4charlie merged commit 3fc6a4a into release-v14 Feb 29, 2024
8 of 11 checks passed
@ws4charlie ws4charlie deleted the release-v14-update-deposit-fee-height branch February 29, 2024 18:54
lumtis added a commit that referenced this pull request Mar 5, 2024
* chore: update v13 changelog

* migration script for v14

* tringgger migration4to5

* add more unit test

* set version for upgrade test

* add logs

* replace map with a list

* add changelog entry

* set mainnet btc deposit fee height to future height (#1818)

* update mainnet btc deposit fee height

* delay dynamic depositor fee upgrade by 2 weeks

* add nosec directives

---------

Co-authored-by: Tanmay <[email protected]>
Co-authored-by: Charlie Chen <[email protected]>
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