Skip to content

Commit

Permalink
added createTxTask
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalikKarpuk committed May 21, 2024
1 parent cb06326 commit 5246015
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ui/components/molecules/modals/uploadModal/uploadModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,18 @@ const UploadModal = ({
sha3_512: sha3_512,
};

let createTxTaskArgs: string = JSON.stringify({
contractAddress,
});

const createTxTaskAnswer = await zkCloudWorkerRequest({
command: "execute",
task: "createTxTask",
transactions: [],
args: createTxTaskArgs,
metadata: `backend txTask`,
});

const tx: Transaction = {
operation: "update",
name: accountDomainDetails.domainName,
Expand Down

0 comments on commit 5246015

Please sign in to comment.