Commit 62f2cd9
committed
[SDK] Update implementation addr extraction logic (#6093)
TOOL-3258
<!--
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR introduces a patch related to EIP-7702 in the `thirdweb` package, specifically enhancing the functionality to extract minimal proxy implementation addresses from bytecode.
### Detailed summary
- Added a check for EIP-7702 compliance in the `extractMinimalProxyImplementationAddress.ts` file.
- Implemented logic to extract the implementation address from bytecode if it meets the specified conditions (length of 48 and starts with "0xef0100").
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->1 parent f03ded3 commit 62f2cd9
File tree
2 files changed
+11
-0
lines changed- .changeset
- packages/thirdweb/src/utils/bytecode
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
57 | 63 | | |
58 | 64 | | |
0 commit comments