Skip to content

Commit 7e75ec9

Browse files
committed
Fix bytecode caching
1 parent a5f005f commit 7e75ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/thirdweb/src/utils/any-evm/deploy-metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export async function fetchBytecodeFromCompilerMetadata(options: {
9696
return deployBytecode;
9797
},
9898
{
99-
cacheKey: `bytecode:${compilerMetadata.name}:${chain.id}`,
99+
cacheKey: `bytecode:${compilerMetadata.name}:${compilerMetadata.publisher}:${compilerMetadata.version}:${chain.id}`,
100100
cacheTime: 24 * 60 * 60 * 1000,
101101
},
102102
);

0 commit comments

Comments
 (0)