@@ -5,7 +5,7 @@ import { useLocalStorage } from "react-use";
5
5
import { keccak256 , encodePacked } from "viem" ;
6
6
import { useWalletClient , usePublicClient , useConfig } from "wagmi" ;
7
7
8
- import { simulateDisputeKitShutterCastCommit } from "hooks/contracts/generated" ;
8
+ import { simulateDisputeKitShutterCastCommitShutter } from "hooks/contracts/generated" ;
9
9
import useSigningAccount from "hooks/useSigningAccount" ;
10
10
import { isUndefined } from "utils/index" ;
11
11
import { wrapWithToast } from "utils/wrapWithToast" ;
@@ -24,7 +24,7 @@ interface ICommit {
24
24
refetch : ( ) => void ;
25
25
}
26
26
27
- const SEPARATOR = "␟ " ;
27
+ const SEPARATOR = "- " ;
28
28
29
29
const Commit : React . FC < ICommit > = ( { arbitrable, voteIDs, setIsOpen, refetch } ) => {
30
30
const { id } = useParams ( ) ;
@@ -59,7 +59,7 @@ const Commit: React.FC<ICommit> = ({ arbitrable, voteIDs, setIsOpen, refetch })
59
59
encodePacked ( [ "uint256" , "uint256" , "string" ] , [ choice , BigInt ( salt ) , justification ] )
60
60
) ;
61
61
62
- const { request } = await simulateDisputeKitShutterCastCommit ( wagmiConfig , {
62
+ const { request } = await simulateDisputeKitShutterCastCommitShutter ( wagmiConfig , {
63
63
args : [ parsedDisputeID , parsedVoteIDs , commitHash , identity as `0x${string } `, encryptedCommitment ] ,
64
64
} ) ;
65
65
if ( walletClient && publicClient ) {
0 commit comments