-
Notifications
You must be signed in to change notification settings - Fork 735
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: implement BEP294 and BEP297 #436
Merged
Conversation
This file contains 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
* feat: implement BEP294 * feat: add BSCGovernor and GovToken contracts for bc-fusion (#403) * feat: implement BEP294 --------- Co-authored-by: Ethan <cosinlinker@gmail.com>
* chore: add init lock amount * add annotations * more comment --------- Co-authored-by: zjubfd <296179868@qq.com>
* feat: add apy and reward record of validators * fix review comments
* feat: add ci and add lint check script * chore: lint code in BC_fusion * chore: add bc-fusion branch to ci * fix: test error in SlashIndicator.t.sol
* chore: fix typo * feat: add python script * fix review comments * fix review comments
# Conflicts: # contracts/SlashIndicator.sol # genesis-template.json # genesis.json # scripts/generate-tendermintLightClient.sh # scripts/generate.sh
unclezoro
commented
Dec 7, 2023
unclezoro
commented
Dec 7, 2023
unclezoro
commented
Dec 7, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
unclezoro
commented
Dec 8, 2023
* test: add failed cases to token recover portal ut * chore: emit owner address after TokenRecoverRequested
chore: fix audit issues
* fix: improve the code readablity * fix: change the wrong comment
* fix: add check in `_forceMaintainingValidatorsExit` * add `latestConsensusAddress`
* chore: update generate script * change default `SOURCE_CHAIN_ID` in `TokenRecoverPortal` * update testnet asset protector address * update testnet INIT_VOTING_DELAY * fix ut
…eMaintainingValidatorsExit` (#504) * fix: add check to make sure there is at least one validator in `_forceMaintainingValidatorsExit` * optimize code
NathanBSC
previously approved these changes
Feb 26, 2024
NathanBSC
previously approved these changes
Feb 26, 2024
buddh0
approved these changes
Feb 26, 2024
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 26, 2024
feat: implement BEP294 and BEP297 (#436)
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.
Description
This pr is to implement BEP-294: BSC Native Staking after BC Fusion
Rationale
See
4. Motivation
in BEP-294Changes
Notable changes:
StakeHub
andStakeCredit
BSCValidatorSet
andSlashIndicator