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

Rename fixUnburnableNFToken to fixNonFungibleTokensV1_2 #4416

Closed
wants to merge 2 commits into from

Conversation

kennyzlei
Copy link
Collaborator

@kennyzlei kennyzlei commented Feb 13, 2023

High Level Overview of Change

Renames common amendment fixUnburnableNFToken to fixNonFungibleTokensV1_2 to more accurately reflect bundling of changes and follow version convention of previous amendments to non-fungible tokens

Context of Change

Renames common amendment, which includes the following changes in the feature branch:

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Release

Future Tasks

@kennyzlei kennyzlei changed the title Rename fixUnburnableNFToken to NonFungibleTokensV1_2 Rename fixUnburnableNFToken to fixNonFungibleTokensV1_2 Feb 13, 2023
Copy link
Collaborator

@intelliot intelliot left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -121,8 +121,8 @@ NFTokenAcceptOffer::preclaim(PreclaimContext const& ctx)
// If the buyer specified a destination
if (auto const dest = bo->at(~sfDestination))
{
// fixUnburnableNFToken
if (ctx.view.rules().enabled(fixUnburnableNFToken))
// fixNonFungibleTokensV1_2
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is the value of this comment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah this does not seem to add more info in the comment beyond the code itself, ill remove

@@ -139,8 +139,8 @@ NFTokenAcceptOffer::preclaim(PreclaimContext const& ctx)
// If the seller specified a destination
if (auto const dest = so->at(~sfDestination))
{
// fixUnburnableNFToken
if (ctx.view.rules().enabled(fixUnburnableNFToken))
// fixNonFungibleTokensV1_2
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here (I wonder if this line could be removed)

@kennyzlei
Copy link
Collaborator Author

kennyzlei commented Feb 13, 2023

closing in favor of #4419 which includes other cosmetic refactors

@kennyzlei kennyzlei closed this Feb 13, 2023
@kennyzlei kennyzlei deleted the rename-nft-v1-2 branch February 14, 2023 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants