Skip to content

Commit

Permalink
fix: using another address to check UTXO
Browse files Browse the repository at this point in the history
  • Loading branch information
BerezinD committed Apr 23, 2024
1 parent 64ffaf1 commit 24d4b61
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
8 changes: 7 additions & 1 deletion postmanTests/Rosetta-java-env.postman_environment.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@
"type": "default",
"enabled": true
},
{
"key": "TestAccountAddressWithUTXO",
"value": "addr_test1vzs0r2nae22szlq3ul3h8t4u7rz9dr850mqjh98caddm4zcypzjjt",
"type": "default",
"enabled": true
},
{
"key": "curveType",
"value": "edwards25519",
Expand Down Expand Up @@ -125,4 +131,4 @@
"_postman_variable_scope": "environment",
"_postman_exported_at": "2024-03-12T14:00:23.687Z",
"_postman_exported_using": "Postman/10.23.12"
}
}
8 changes: 7 additions & 1 deletion postmanTests/Rosetta-javaDevEnv.postman_environment.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@
"type": "default",
"enabled": true
},
{
"key": "TestAccountAddressWithUTXO",
"value": "addr_test1vzs0r2nae22szlq3ul3h8t4u7rz9dr850mqjh98caddm4zcypzjjt",
"type": "default",
"enabled": true
},
{
"key": "curveType",
"value": "edwards25519",
Expand Down Expand Up @@ -117,4 +123,4 @@
"_postman_variable_scope": "environment",
"_postman_exported_at": "2024-03-21T09:44:37.390Z",
"_postman_exported_using": "Postman/10.24.6"
}
}
4 changes: 2 additions & 2 deletions postmanTests/rosetta-java.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"console.log(pm.response.json())",
"// this test depends on /network/status test execution",
"pm.test(\"Body has correct address\", function () {",
" const current_block_index = Number.parseInt(pm.environment.get('blockIndex'));",
Expand Down Expand Up @@ -930,7 +930,7 @@
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"network_identifier\": {\n \"blockchain\": \"cardano\",\n \"network\": \"{{networkId}}\"\n },\n \"account_identifier\": {\n \"address\": \"{{TestAccountBaseAddress}}\"\n },\n \"block_identifier\": {\n \"index\": {{blockIndex}},\n \"hash\": \"{{blockHash}}\"\n },\n \"include_mempool\": false\n}",
"raw": "{\n \"network_identifier\": {\n \"blockchain\": \"cardano\",\n \"network\": \"{{networkId}}\"\n },\n \"account_identifier\": {\n \"address\": \"{{TestAccountAddressWithUTXO}}\"\n },\n \"block_identifier\": {\n \"index\": {{blockIndex}},\n \"hash\": \"{{blockHash}}\"\n },\n \"include_mempool\": false\n}",
"options": {
"raw": {
"language": "json"
Expand Down

0 comments on commit 24d4b61

Please sign in to comment.