@@ -16,7 +16,7 @@ export const createWithdrawalProof = async (
16
16
) => {
17
17
return makeProverRequest < CreateProofResponse > ( {
18
18
method : "post" ,
19
- path : "withdrawal- aggregator-prover/proof/withdrawal" ,
19
+ path : "aggregator-prover/proof/withdrawal" ,
20
20
data : {
21
21
id,
22
22
singleWithdrawalProof,
@@ -32,7 +32,7 @@ export const createWrappedProof = async (
32
32
) => {
33
33
return makeProverRequest < CreateProofResponse > ( {
34
34
method : "post" ,
35
- path : "withdrawal- aggregator-prover/proof/wrapper" ,
35
+ path : "aggregator-prover/proof/wrapper" ,
36
36
data : {
37
37
id,
38
38
withdrawalAggregator : withdrawalAggregatorAddress ,
@@ -44,14 +44,14 @@ export const createWrappedProof = async (
44
44
export const getWithdrawalProof = async ( proofId : string ) => {
45
45
return makeProverRequest < GetZKProofResponse < WithdrawalProof > > ( {
46
46
method : "get" ,
47
- path : `withdrawal- aggregator-prover/proof/withdrawal/${ proofId } ` ,
47
+ path : `aggregator-prover/proof/withdrawal/${ proofId } ` ,
48
48
} ) ;
49
49
} ;
50
50
51
51
export const getWithdrawalWrapperProof = async ( proofId : string ) => {
52
52
return makeProverRequest < GetZKProofResponse < string > > ( {
53
53
method : "get" ,
54
- path : `withdrawal- aggregator-prover/proof/wrapper/${ proofId } ` ,
54
+ path : `aggregator-prover/proof/wrapper/${ proofId } ` ,
55
55
} ) ;
56
56
} ;
57
57
@@ -79,7 +79,7 @@ const makeProverRequest = async <T>({ method, path, data, params }: ProverReques
79
79
try {
80
80
const requestConfig : AxiosRequestConfig = {
81
81
method,
82
- url : `${ config . ZKP_PROVER_URL } /v1/${ path } ` ,
82
+ url : `${ config . ZKP_PROVER_URL } /v1/beta/ ${ path } ` ,
83
83
...getHeaders ( ) ,
84
84
} ;
85
85
0 commit comments