File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -421,6 +421,10 @@ def run_test(self):
421
421
deployment_info = self .nodes [0 ].getdeploymentinfo ()
422
422
assert_equal (deployment_info , self .test_rest_request ('/deploymentinfo' ))
423
423
424
+ previous_bb_hash = self .nodes [0 ].getblockhash (self .nodes [0 ].getblockcount () - 1 )
425
+ deployment_info = self .nodes [0 ].getdeploymentinfo (previous_bb_hash )
426
+ assert_equal (deployment_info , self .test_rest_request (f"/deploymentinfo/{ previous_bb_hash } " ))
427
+
424
428
non_existing_blockhash = '42759cde25462784395a337460bde75f58e73d3f08bd31fdc3507cbac856a2c4'
425
429
resp = self .test_rest_request (f'/deploymentinfo/{ non_existing_blockhash } ' , ret_type = RetType .OBJ , status = 400 )
426
430
assert_equal (resp .read ().decode ('utf-8' ).rstrip (), "Block not found" )
You can’t perform that action at this time.
0 commit comments