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

fix: add GlobalVirtualGroupFamilyId to createBucketPackage #506

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

pythonberg1997
Copy link
Contributor

@pythonberg1997 pythonberg1997 commented Oct 16, 2023

Description

This pr is to add missing property GlobalVirtualGroupFamilyId to createBucketPackage

Changes

Notable changes:

  • add GlobalVirtualGroupFamilyId to createBucketPackage

Potential Impacts

The steps for the next upgrade should be:

  1. Disable bucket cross-chain channel
  2. Wait for the hardfork
  3. After hardfork passed, upgrade smart contracts
  4. Enable bucket cross-chain channel

@@ -425,8 +430,9 @@ func (p CreateBucketSynPackage) GetApprovalBytes() []byte {
PaymentAddress: p.PaymentAddress.String(),
PrimarySpAddress: p.PrimarySpAddress.String(),
PrimarySpApproval: &gnfdcommon.Approval{
ExpiredHeight: p.PrimarySpApprovalExpiredHeight,
Sig: p.PrimarySpApprovalSignature,
ExpiredHeight: p.PrimarySpApprovalExpiredHeight,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Because you did not make it as a hard fork, it requires us that to disable the Bucket cross chain channels before the hardfork, and after the hardfork, we upgrade the smart contract , then enable the bucket channel.

@unclezoro unclezoro added this pull request to the merge queue Oct 17, 2023
Merged via the queue into bnb-chain:develop with commit 148c9c4 Oct 17, 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