Skip to content

Conversation

kumaryash90
Copy link
Member

@kumaryash90 kumaryash90 commented Feb 12, 2024

  • adds another minimal proxy pattern
  • updates resolveImplementation to return original address if implementation address returns 0x

@kumaryash90 kumaryash90 requested a review from a team February 12, 2024 21:29
Copy link

changeset-bot bot commented Feb 12, 2024

🦋 Changeset detected

Latest commit: fecb37b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@thirdweb-dev/sdk Patch
thirdweb Patch
@thirdweb-dev/react-core Patch
@thirdweb-dev/react-native Patch
@thirdweb-dev/react Patch
@thirdweb-dev/unity-js-bridge Patch
@thirdweb-dev/wallets Patch
@thirdweb-dev/auth Patch
@thirdweb-dev/react-native-compat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Feb 12, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (ca70cd3) 66.90% compared to head (fecb37b) 66.88%.
Report is 2 commits behind head on main.

Files Patch % Lines
...feature-detection/resolveContractUriFromAddress.ts 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2300      +/-   ##
==========================================
- Coverage   66.90%   66.88%   -0.03%     
==========================================
  Files         293      293              
  Lines       11201    11209       +8     
  Branches     1553     1556       +3     
==========================================
+ Hits         7494     7497       +3     
- Misses       3075     3080       +5     
  Partials      632      632              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kumaryash90 kumaryash90 changed the title Minimal proxy pattern update Resolve implementation update Feb 12, 2024
if (e instanceof Error) {
if (
!e.message.includes(
`Contract at ${implementationAddress} does not exist on chain`,
Copy link
Member

Choose a reason for hiding this comment

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

can you explain this change? what do we return if that's the error we hit?

@kumaryash90 kumaryash90 added this pull request to the merge queue Feb 12, 2024
Merged via the queue into main with commit 94a699c Feb 12, 2024
@kumaryash90 kumaryash90 deleted the yash/update-proxy-resolution branch February 12, 2024 22:50
This was referenced Feb 12, 2024
jnsdls added a commit that referenced this pull request Feb 14, 2024
jnsdls added a commit that referenced this pull request Jun 19, 2024
* refactor: Remove unused parameter

* refactor: Remove unnecessary comment in useNftDrawerTabs.tsx
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.

2 participants