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

remove admin burn from catalog contract #13

Merged
merged 7 commits into from
Mar 2, 2022

Conversation

bretth18
Copy link
Collaborator

@bretth18 bretth18 commented Mar 2, 2022

Linear Issue: ENG-443

DESCRIPTION

This PR introduces the removal of admin burn from the Catalog shared creator contract. It also includes some spring cleaning, removing unneeded contracts, scripts, and tests used in early development. Tests have been updated accordingly.

The deployed Catalog rinkeby proxy contract has been upgraded to the latest deployed implementation, and catalog-contracts version 0.1.4 has been published including these changes.

HOW TO TEST

Ensure all checks pass. Perform sanity checks on deployed contract state (data is still readable).

@bretth18 bretth18 added the Chore This is a chore label Mar 2, 2022
@linear
Copy link

linear bot commented Mar 2, 2022

ENG-443 remove admin burn from catalog contract

Scope of Work:

  • Perform changes to Catalog.sol
  • Deploy new implementation contract
  • Upgrade rinkeby proxy

Completion Criteria:

  • Deployed Catalog Custom Contract proxy instance on rinkeby has been upgraded to the latest implementation
  • catalog-contracts package has been updated and published

@bretth18 bretth18 requested a review from reefloretto March 2, 2022 23:06
(msg.sender == tokenData[_tokenId].creator && msg.sender == ownerOf(_tokenId)) || msg.sender == owner(),
"Only creator or Admin"
);
require((msg.sender == tokenData[_tokenId].creator && msg.sender == ownerOf(_tokenId)), "Only creator");

Choose a reason for hiding this comment

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

nice

Copy link

@reefloretto reefloretto left a comment

Choose a reason for hiding this comment

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

clean 🔥

@bretth18 bretth18 merged commit ac9d5a2 into main Mar 2, 2022
@bretth18 bretth18 deleted the b/eng-443-remove-admin-burn-from-catalog-contract branch March 2, 2022 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chore This is a chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants