Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 39fdfeb

Browse files
authored
Merge pull request #1299 from hypercerts-org/fix/transfer_simulation
fix(transfer): pass user account to simulation
2 parents d08864b + 72f8f95 commit 39fdfeb

File tree

4 files changed

+34
-35
lines changed

4 files changed

+34
-35
lines changed

frontend/hooks/hypercerts-client.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,5 @@ export const useHypercertClient = ({
5959
setIsLoading(false);
6060
}, [chain?.id, overrideChainId, walletClient, walletClientLoading]);
6161

62-
console.log({ client });
63-
6462
return { client, isLoading };
6563
};

frontend/hooks/transferFraction.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export const useTransferFraction = ({
6565
address: contractAddress,
6666
functionName: "safeTransferFrom",
6767
args: [address, to, fractionId, 1, ""],
68+
account: address,
6869
});
6970

7071
showModal({ stepDescriptions });

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"react-toastify": "^9.1.1",
6767
"react-use": "^17.4.0",
6868
"serve": "^14.0.1",
69-
"viem": "2.9.4",
69+
"viem": "2.9.8",
7070
"wagmi": "2.5.13",
7171
"yup": "^0.32.11"
7272
},

pnpm-lock.yaml

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)