From bc5e071c4b2fb367bf362f617892e4a1f46759c5 Mon Sep 17 00:00:00 2001 From: straumat Date: Thu, 9 Nov 2023 18:10:25 +0100 Subject: [PATCH] Add missing fields from decoded proof - closes #322 --- .../resources/db/dev/dev-data-asset_state.xml | 32 +++++++++++++++ .../db/test/api-test-data-asset_state.xml | 40 +++++++++++++++++++ ...or-testnet-universe-lightning-finance.json | 2 +- ...r-testnet2-universe-lightning-finance.json | 2 +- ...or-testnet-universe-lightning-finance.json | 2 +- ...or-testnet-universe-lightning-finance.json | 2 +- ...r-testnet2-universe-lightning-finance.json | 2 +- ...r-testnet2-universe-lightning-finance.json | 2 +- .../resources/db/dev/dev-data-asset_state.xml | 40 +++++++++++++++++++ .../db/test/web-test-data-asset_state.xml | 40 +++++++++++++++++++ 10 files changed, 158 insertions(+), 6 deletions(-) diff --git a/backend/servers/explorer-api/src/main/resources/db/dev/dev-data-asset_state.xml b/backend/servers/explorer-api/src/main/resources/db/dev/dev-data-asset_state.xml index 8ce008112..a550f8f30 100644 --- a/backend/servers/explorer-api/src/main/resources/db/dev/dev-data-asset_state.xml +++ b/backend/servers/explorer-api/src/main/resources/db/dev/dev-data-asset_state.xml @@ -20,6 +20,10 @@ + + + + @@ -41,6 +45,10 @@ + + + + @@ -58,6 +66,10 @@ + + + + @@ -75,6 +87,10 @@ + + + + @@ -113,6 +129,10 @@ + + + + @@ -130,6 +150,10 @@ + + + + @@ -147,6 +171,10 @@ + + + + @@ -185,6 +213,10 @@ + + + + diff --git a/backend/servers/explorer-api/src/test/resources/db/test/api-test-data-asset_state.xml b/backend/servers/explorer-api/src/test/resources/db/test/api-test-data-asset_state.xml index 8ce008112..b53d14289 100644 --- a/backend/servers/explorer-api/src/test/resources/db/test/api-test-data-asset_state.xml +++ b/backend/servers/explorer-api/src/test/resources/db/test/api-test-data-asset_state.xml @@ -20,6 +20,10 @@ + + + + @@ -41,6 +45,10 @@ + + + + @@ -58,6 +66,10 @@ + + + + @@ -75,6 +87,10 @@ + + + + @@ -96,6 +112,10 @@ + + + + @@ -113,6 +133,10 @@ + + + + @@ -130,6 +154,10 @@ + + + + @@ -147,6 +175,10 @@ + + + + @@ -168,6 +200,10 @@ + + + + @@ -185,6 +221,10 @@ + + + + diff --git a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-1-for-testnet-universe-lightning-finance.json b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-1-for-testnet-universe-lightning-finance.json index 516ebc695..a40626637 100644 --- a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-1-for-testnet-universe-lightning-finance.json +++ b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-1-for-testnet-universe-lightning-finance.json @@ -34,7 +34,7 @@ ], "is_spent": false }, - "issuance_proof": "asset_id_1_proof" + "proof": "asset_id_1_proof" } ] } diff --git a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-1-for-testnet2-universe-lightning-finance.json b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-1-for-testnet2-universe-lightning-finance.json index 516ebc695..a40626637 100644 --- a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-1-for-testnet2-universe-lightning-finance.json +++ b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-1-for-testnet2-universe-lightning-finance.json @@ -34,7 +34,7 @@ ], "is_spent": false }, - "issuance_proof": "asset_id_1_proof" + "proof": "asset_id_1_proof" } ] } diff --git a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-2-for-testnet-universe-lightning-finance.json b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-2-for-testnet-universe-lightning-finance.json index f87fc032b..5a5846c24 100644 --- a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-2-for-testnet-universe-lightning-finance.json +++ b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-2-for-testnet-universe-lightning-finance.json @@ -34,7 +34,7 @@ ], "is_spent": false }, - "issuance_proof": "asset_id_2_proof" + "proof": "asset_id_2_proof" } ] } diff --git a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-3-for-testnet-universe-lightning-finance.json b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-3-for-testnet-universe-lightning-finance.json index 1a81bc5ea..fa6acb189 100644 --- a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-3-for-testnet-universe-lightning-finance.json +++ b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-3-for-testnet-universe-lightning-finance.json @@ -34,7 +34,7 @@ ], "is_spent": false }, - "issuance_proof": "asset_id_3_proof" + "proof": "asset_id_3_proof" } ] } diff --git a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-4-for-testnet2-universe-lightning-finance.json b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-4-for-testnet2-universe-lightning-finance.json index 5dc0b8b5a..3bbb81432 100644 --- a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-4-for-testnet2-universe-lightning-finance.json +++ b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-4-for-testnet2-universe-lightning-finance.json @@ -34,7 +34,7 @@ ], "is_spent": false }, - "issuance_proof": "asset_id_4_proof" + "proof": "asset_id_4_proof" } ] } diff --git a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-5-for-testnet2-universe-lightning-finance.json b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-5-for-testnet2-universe-lightning-finance.json index c385e1d20..39fc3b0b6 100644 --- a/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-5-for-testnet2-universe-lightning-finance.json +++ b/backend/servers/explorer-batch/src/test/resources/tapd/universe-leaves-asset-id-5-for-testnet2-universe-lightning-finance.json @@ -34,7 +34,7 @@ ], "is_spent": false }, - "issuance_proof": "asset_id_5_proof" + "proof": "asset_id_5_proof" } ] } diff --git a/backend/servers/explorer-web/src/main/resources/db/dev/dev-data-asset_state.xml b/backend/servers/explorer-web/src/main/resources/db/dev/dev-data-asset_state.xml index 8ce008112..b53d14289 100644 --- a/backend/servers/explorer-web/src/main/resources/db/dev/dev-data-asset_state.xml +++ b/backend/servers/explorer-web/src/main/resources/db/dev/dev-data-asset_state.xml @@ -20,6 +20,10 @@ + + + + @@ -41,6 +45,10 @@ + + + + @@ -58,6 +66,10 @@ + + + + @@ -75,6 +87,10 @@ + + + + @@ -96,6 +112,10 @@ + + + + @@ -113,6 +133,10 @@ + + + + @@ -130,6 +154,10 @@ + + + + @@ -147,6 +175,10 @@ + + + + @@ -168,6 +200,10 @@ + + + + @@ -185,6 +221,10 @@ + + + + diff --git a/backend/servers/explorer-web/src/test/resources/db/test/web-test-data-asset_state.xml b/backend/servers/explorer-web/src/test/resources/db/test/web-test-data-asset_state.xml index 8ce008112..b53d14289 100644 --- a/backend/servers/explorer-web/src/test/resources/db/test/web-test-data-asset_state.xml +++ b/backend/servers/explorer-web/src/test/resources/db/test/web-test-data-asset_state.xml @@ -20,6 +20,10 @@ + + + + @@ -41,6 +45,10 @@ + + + + @@ -58,6 +66,10 @@ + + + + @@ -75,6 +87,10 @@ + + + + @@ -96,6 +112,10 @@ + + + + @@ -113,6 +133,10 @@ + + + + @@ -130,6 +154,10 @@ + + + + @@ -147,6 +175,10 @@ + + + + @@ -168,6 +200,10 @@ + + + + @@ -185,6 +221,10 @@ + + + +