File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -929,7 +929,7 @@ paths:
929
929
example :
930
930
$ref : ./api/core-node/get-health-error.example.json
931
931
932
- /v2 /contracts/fast-call-read/{contract_address}/{contract_name}/{function_name} :
932
+ /v3 /contracts/fast-call-read/{contract_address}/{contract_name}/{function_name} :
933
933
post :
934
934
summary : Call read-only function in fast mode (no cost tracking)
935
935
tags :
Original file line number Diff line number Diff line change @@ -81,14 +81,14 @@ impl HttpRequest for RPCFastCallReadOnlyRequestHandler {
81
81
82
82
fn path_regex ( & self ) -> Regex {
83
83
Regex :: new ( & format ! (
84
- "^/v2 /contracts/fast-call-read/(?P<address>{})/(?P<contract>{})/(?P<function>{})$" ,
84
+ "^/v3 /contracts/fast-call-read/(?P<address>{})/(?P<contract>{})/(?P<function>{})$" ,
85
85
* STANDARD_PRINCIPAL_REGEX_STRING , * CONTRACT_NAME_REGEX_STRING , * CLARITY_NAME_REGEX
86
86
) )
87
87
. unwrap ( )
88
88
}
89
89
90
90
fn metrics_identifier ( & self ) -> & str {
91
- "/v2 /contracts/fast-call-read/:principal/:contract_name/:func_name"
91
+ "/v3 /contracts/fast-call-read/:principal/:contract_name/:func_name"
92
92
}
93
93
94
94
/// Try to decode this request.
@@ -340,7 +340,7 @@ impl StacksHttpRequest {
340
340
host,
341
341
"POST" . into ( ) ,
342
342
format ! (
343
- "/v2 /contracts/fast-call-read/{}/{}/{}" ,
343
+ "/v3 /contracts/fast-call-read/{}/{}/{}" ,
344
344
& contract_addr, & contract_name, & function_name
345
345
) ,
346
346
HttpRequestContents :: new ( ) . for_tip ( tip_req) . payload_json (
You can’t perform that action at this time.
0 commit comments