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

feat(nfts): trailblazer profile picture #18009

Merged
merged 12 commits into from
Sep 4, 2024
Merged

feat(nfts): trailblazer profile picture #18009

merged 12 commits into from
Sep 4, 2024

Conversation

bennettyong
Copy link
Contributor

No description provided.

Copy link

openzeppelin-code bot commented Aug 30, 2024

feat(nfts): trailblazer profile picture

Generated at commit: 576e898398605f2cc4b85dbaa0e5a47dc514da35

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
8
43
55
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@bennettyong bennettyong marked this pull request as ready for review September 2, 2024 05:45
@dantaik dantaik enabled auto-merge September 2, 2024 08:26
@dantaik dantaik removed the request for review from 2manslkh September 2, 2024 08:26
@dantaik dantaik disabled auto-merge September 2, 2024 08:26
@dantaik dantaik enabled auto-merge September 2, 2024 08:26
Copy link
Contributor

@bearni95 bearni95 left a comment

Choose a reason for hiding this comment

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

Overall a fantastic implementation, need to polish a couple corners and properly document/format

packages/nfts/contracts/profile/RegisterProfilePicture.sol Outdated Show resolved Hide resolved
packages/nfts/contracts/profile/RegisterProfilePicture.sol Outdated Show resolved Hide resolved
packages/nfts/contracts/profile/RegisterProfilePicture.sol Outdated Show resolved Hide resolved
packages/nfts/contracts/profile/RegisterProfilePicture.sol Outdated Show resolved Hide resolved
packages/nfts/test/profile/RegisterProfilePicture.t.sol Outdated Show resolved Hide resolved
packages/nfts/test/profile/RegisterProfilePicture.t.sol Outdated Show resolved Hide resolved
packages/nfts/test/util/MockToken.sol Outdated Show resolved Hide resolved
packages/nfts/test/util/MockToken.sol Outdated Show resolved Hide resolved
@bennettyong bennettyong requested a review from bearni95 September 2, 2024 22:56
Copy link
Contributor

@bearni95 bearni95 left a comment

Choose a reason for hiding this comment

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

Really good progress 🎉 couple final details:

  • Include a deployment script
  • Ensure pnpm fmt:sol and pnpm lint:sol run clean
  • Fix the runtime compile warning (seen when running pnpm test locally):
Compiler run successful with warnings:
Warning (2519): This declaration shadows an existing declaration.
  --> contracts/profile/RegisterProfilePicture.sol:62:9:
   |
62 |         ProfilePicture memory profilePicture = profilePicture[user];
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: The shadowed declaration is here:
  --> contracts/profile/RegisterProfilePicture.sol:25:5:
   |
25 |     mapping(address => ProfilePicture) public profilePicture;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

packages/nfts/test/profile/RegisterProfilePicture.t.sol Outdated Show resolved Hide resolved
Copy link

vercel bot commented Sep 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
taiko-mono ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2024 7:58am

Copy link
Contributor

@bearni95 bearni95 left a comment

Choose a reason for hiding this comment

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

LGTM!

@dantaik dantaik added this pull request to the merge queue Sep 4, 2024
Merged via the queue into main with commit 6f2004f Sep 4, 2024
8 checks passed
@dantaik dantaik deleted the tb-pfp branch September 4, 2024 08:53
Copy link

gitpoap-bot bot commented Sep 4, 2024

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2024 Taiko Contributor:

GitPOAP: 2024 Taiko Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants