@@ -231,7 +231,7 @@ impl TestSigningChannel {
231
231
232
232
pub fn get_stacker_set ( http_origin : & str , cycle : u64 ) -> GetStackersResponse {
233
233
let client = reqwest:: blocking:: Client :: new ( ) ;
234
- let path = format ! ( "{http_origin}/v2 /stacker_set/{cycle}" ) ;
234
+ let path = format ! ( "{http_origin}/v3 /stacker_set/{cycle}" ) ;
235
235
let res = client
236
236
. get ( & path)
237
237
. send ( )
@@ -2302,7 +2302,7 @@ fn correct_burn_outs() {
2302
2302
run_loop_thread. join ( ) . unwrap ( ) ;
2303
2303
}
2304
2304
2305
- /// Test `/v2 /block_proposal` API endpoint
2305
+ /// Test `/v3 /block_proposal` API endpoint
2306
2306
///
2307
2307
/// This endpoint allows miners to propose Nakamoto blocks to a node,
2308
2308
/// and test if they would be accepted or rejected
@@ -2315,7 +2315,7 @@ fn block_proposal_api_endpoint() {
2315
2315
2316
2316
let ( mut conf, _miner_account) = naka_neon_integration_conf ( None ) ;
2317
2317
let password = "12345" . to_string ( ) ;
2318
- conf. connection_options . block_proposal_token = Some ( password. clone ( ) ) ;
2318
+ conf. connection_options . auth_token = Some ( password. clone ( ) ) ;
2319
2319
let account_keys = add_initial_balances ( & mut conf, 10 , 1_000_000 ) ;
2320
2320
let stacker_sk = setup_stacker ( & mut conf) ;
2321
2321
let sender_signer_sk = Secp256k1PrivateKey :: new ( ) ;
@@ -2539,7 +2539,7 @@ fn block_proposal_api_endpoint() {
2539
2539
. expect ( "Failed to build `reqwest::Client`" ) ;
2540
2540
// Build URL
2541
2541
let http_origin = format ! ( "http://{}" , & conf. node. rpc_bind) ;
2542
- let path = format ! ( "{http_origin}/v2 /block_proposal" ) ;
2542
+ let path = format ! ( "{http_origin}/v3 /block_proposal" ) ;
2543
2543
2544
2544
let mut hold_proposal_mutex = Some ( test_observer:: PROPOSAL_RESPONSES . lock ( ) . unwrap ( ) ) ;
2545
2545
for ( ix, ( test_description, block_proposal, expected_http_code, _) ) in
@@ -4494,7 +4494,7 @@ fn nakamoto_attempt_time() {
4494
4494
let mut signers = TestSigners :: default ( ) ;
4495
4495
let ( mut naka_conf, _miner_account) = naka_neon_integration_conf ( None ) ;
4496
4496
let password = "12345" . to_string ( ) ;
4497
- naka_conf. connection_options . block_proposal_token = Some ( password. clone ( ) ) ;
4497
+ naka_conf. connection_options . auth_token = Some ( password. clone ( ) ) ;
4498
4498
// Use fixed timing params for this test
4499
4499
let nakamoto_attempt_time_ms = 20_000 ;
4500
4500
naka_conf. miner . nakamoto_attempt_time_ms = nakamoto_attempt_time_ms;
@@ -5165,7 +5165,7 @@ fn signer_chainstate() {
5165
5165
socket,
5166
5166
naka_conf
5167
5167
. connection_options
5168
- . block_proposal_token
5168
+ . auth_token
5169
5169
. clone ( )
5170
5170
. unwrap_or ( "" . into ( ) ) ,
5171
5171
false ,
0 commit comments