Skip to content

Commit

Permalink
fix utf8bytes hex
Browse files Browse the repository at this point in the history
  • Loading branch information
novaknole committed Nov 5, 2024
1 parent 5f7632a commit 9a47ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contracts/deploy/20_new_version/23_publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
.createVersion(
VERSION.release,
setup.address,
buildMetadataURI,
releaseMetadataURI
ethers.utils.hexlify(ethers.utils.toUtf8Bytes(buildMetadataURI)),
ethers.utils.hexlify(ethers.utils.toUtf8Bytes(releaseMetadataURI))
);

await tx.wait();
Expand Down

0 comments on commit 9a47ba5

Please sign in to comment.