Skip to content

Commit a9a3f0f

Browse files
committed
fix(deploy): add missing version argument in computeDeploymentInfoFromContractId function (#3769)
Fix deterministic deploys with specified versions by adding the 'version' argument to the 'computeDeploymentInfoFromContractId' function. --- <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on fixing deterministic deploys with specified versions in the `compute-published-contract-deploy-info.ts` file under `thirdweb` package. ### Detailed summary - Added `version` field to `computePublishedContractDeployInfo` function parameters. - Utilizes the specified version for deterministic deployments. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 3de2dce commit a9a3f0f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/large-cycles-joke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Fix deterministic deploys with specified versions

packages/thirdweb/src/utils/any-evm/compute-published-contract-deploy-info.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export async function computeDeploymentInfoFromContractId(args: {
2424
client,
2525
contractId,
2626
publisher: args.publisher,
27+
version: args.version,
2728
});
2829
return computeDeploymentInfoFromMetadata({
2930
client,

0 commit comments

Comments
 (0)