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: restrict on creating GVG and allow empty family #532

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

alexgao001
Copy link
Collaborator

@alexgao001 alexgao001 commented Dec 1, 2023

Description

This pr contains 2 changes:

  1. Creating a GVG should not be identical to others within a virtual group family.
  2. Deleting the last GVG in a Global Virtual Group Family will not result in the deletion of the family.
    Previously, when a family is deleted, all buckets(empty bucket) related to such family still have the stale family info, but actually the family no longer exist, user is not able to re-create objet. This change will keep the empty family and user can re-create object in the empty bucket.

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Potential Impacts

  • add potential impacts for other components here
  • ...

@@ -5,6 +5,8 @@ import (
"fmt"
math2 "math"

upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

Copy link
Contributor

Choose a reason for hiding this comment

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

remove this empty line

@unclezoro unclezoro added this pull request to the merge queue Dec 5, 2023
Merged via the queue into bnb-chain:develop with commit 1760620 Dec 5, 2023
5 checks passed
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.

None yet

3 participants