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 ba92cd2 commit c2ab5c1Copy full SHA for c2ab5c1
packages/thirdweb/src/extensions/prebuilts/deploy-published.ts
@@ -110,9 +110,14 @@ export async function deployPublishedContract(
110
chain,
111
deployMetadata,
112
client,
113
- initializeParams: contractParams || deployMetadata.constructorParams,
114
- implementationConstructorParams:
115
- implementationConstructorParams || deployMetadata.implConstructorParams,
+ initializeParams: {
+ ...deployMetadata.constructorParams,
+ ...contractParams,
116
+ },
117
+ implementationConstructorParams: {
118
+ ...deployMetadata.implConstructorParams,
119
+ ...implementationConstructorParams,
120
121
salt,
122
});
123
}
0 commit comments