Add general control mechanism#47
Merged
kuny0707 merged 3 commits intobttcprotocol:developfrom Jul 14, 2023
ClarkChenc:add-general-control
Merged
Add general control mechanism#47kuny0707 merged 3 commits intobttcprotocol:developfrom ClarkChenc:add-general-control
kuny0707 merged 3 commits intobttcprotocol:developfrom
ClarkChenc:add-general-control
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## develop #47 +/- ##
===========================================
+ Coverage 60.20% 60.29% +0.08%
===========================================
Files 52 52
Lines 4413 4423 +10
===========================================
+ Hits 2657 2667 +10
Misses 1519 1519
Partials 237 237
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR provides a new module called featuremanager, which is aimed to provide a solution to accept a hard fork logic to chain.
It provides a new type of transcation callled FeatureChangeProposal, which will be handled by featuremanager. Such transaction can initiate a proposal, which aims to change target feature configurations, to the community to vote on. If this proposal is accepted, target feature configuration will be changed. Thus, the hard fork logic that relies on these configurations can be safely applied to chain.