@@ -5,7 +5,7 @@ import { useLocalStorage } from "react-use";
55import { keccak256 , encodePacked } from "viem" ;
66import { useWalletClient , usePublicClient , useConfig } from "wagmi" ;
77
8- import { simulateDisputeKitShutterCastCommit } from "hooks/contracts/generated" ;
8+ import { simulateDisputeKitShutterCastCommitShutter } from "hooks/contracts/generated" ;
99import useSigningAccount from "hooks/useSigningAccount" ;
1010import { isUndefined } from "utils/index" ;
1111import { wrapWithToast } from "utils/wrapWithToast" ;
@@ -24,7 +24,7 @@ interface ICommit {
2424 refetch : ( ) => void ;
2525}
2626
27- const SEPARATOR = "␟ " ;
27+ const SEPARATOR = "- " ;
2828
2929const Commit : React . FC < ICommit > = ( { arbitrable, voteIDs, setIsOpen, refetch } ) => {
3030 const { id } = useParams ( ) ;
@@ -59,7 +59,7 @@ const Commit: React.FC<ICommit> = ({ arbitrable, voteIDs, setIsOpen, refetch })
5959 encodePacked ( [ "uint256" , "uint256" , "string" ] , [ choice , BigInt ( salt ) , justification ] )
6060 ) ;
6161
62- const { request } = await simulateDisputeKitShutterCastCommit ( wagmiConfig , {
62+ const { request } = await simulateDisputeKitShutterCastCommitShutter ( wagmiConfig , {
6363 args : [ parsedDisputeID , parsedVoteIDs , commitHash , identity as `0x${string } `, encryptedCommitment ] ,
6464 } ) ;
6565 if ( walletClient && publicClient ) {
0 commit comments