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

owner transfer #248

Merged
merged 2 commits into from
Dec 31, 2020
Merged

owner transfer #248

merged 2 commits into from
Dec 31, 2020

Conversation

fletcher142
Copy link
Contributor

Register upgrade and new transaction message with fee configured.

@fletcher142 fletcher142 changed the title fee config for owner transfer owner transfer Dec 24, 2020
@@ -70,6 +70,12 @@ func RegisterUpgradeBeginBlocker(paramHub *ParamHub) {
}
paramHub.UpdateFeeParams(ctx, miniTokenFeeParams)
})
sdk.UpgradeMgr.RegisterBeginBlocker(sdk.BEP82, func(ctx sdk.Context) {
updateFeeParams := []param.FeeParam{
&param.FixedFeeParams{MsgType: "transfer_ownership", Fee: TransferOwnershipFee, FeeFor: sdk.FeeForProposer},
Copy link
Contributor

Choose a reason for hiding this comment

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

follow the msgtype pattern

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@fletcher142 fletcher142 merged commit cf24678 into develop Dec 31, 2020
@forcodedancing forcodedancing deleted the owner_transfer branch May 18, 2022 07:10
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