We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599c6c1 commit e0b304aCopy full SHA for e0b304a
packages/thirdweb/src/utils/bytecode/extractMinimalProxyImplementationAddress.ts
@@ -54,7 +54,7 @@ export function extractMinimalProxyImplementationAddress(
54
return `0x${implementationAddress}`;
55
}
56
57
- if (bytecode.startsWith("0xef0100")) {
+ if (bytecode.length === 48 && bytecode.startsWith("0xef0100")) {
58
const implementationAddress = bytecode.slice(8, 48);
59
60
0 commit comments