diff --git a/cli/src/cleaner/for_tests/test1/data.json b/cli/src/cleaner/for_tests/test1/data.json index 303a2d889..9933d5d3b 100644 --- a/cli/src/cleaner/for_tests/test1/data.json +++ b/cli/src/cleaner/for_tests/test1/data.json @@ -8,16 +8,13 @@ "base58prefix": 0, "logo": "polkadot", "decimals": 10, - "metadataQrs": [ - { - "version": 9, - "file": { - "path": "qr/polkadot_metadata_9.apng", - "signedBy": "Parity" - }, - "status": "now" + "metadataQr": { + "version": 9, + "file": { + "path": "qr/polkadot_metadata_9.apng", + "signedBy": "Parity" } - ], + }, "liveMetaVersion": 9, "latestMetadata": "", "specsQr": { diff --git a/cli/src/cleaner/for_tests/test2/data.json b/cli/src/cleaner/for_tests/test2/data.json index 4a14e7058..34c7fa0ac 100644 --- a/cli/src/cleaner/for_tests/test2/data.json +++ b/cli/src/cleaner/for_tests/test2/data.json @@ -8,16 +8,13 @@ "base58prefix": 0, "logo": "polkadot", "decimals": 10, - "metadataQrs": [ - { - "version": 10, - "file": { - "path": "qr/polkadot_metadata_10.apng", - "signedBy": "Parity" - }, - "status": "now" + "metadataQr": { + "version": 10, + "file": { + "path": "qr/polkadot_metadata_10.apng", + "signedBy": "Parity" } - ], + }, "latestMetadata": "", "liveMetaVersion": 10, "specsQr": { diff --git a/cli/src/cleaner/for_tests/test3/data.json b/cli/src/cleaner/for_tests/test3/data.json index 303a2d889..9933d5d3b 100644 --- a/cli/src/cleaner/for_tests/test3/data.json +++ b/cli/src/cleaner/for_tests/test3/data.json @@ -8,16 +8,13 @@ "base58prefix": 0, "logo": "polkadot", "decimals": 10, - "metadataQrs": [ - { - "version": 9, - "file": { - "path": "qr/polkadot_metadata_9.apng", - "signedBy": "Parity" - }, - "status": "now" + "metadataQr": { + "version": 9, + "file": { + "path": "qr/polkadot_metadata_9.apng", + "signedBy": "Parity" } - ], + }, "liveMetaVersion": 9, "latestMetadata": "", "specsQr": { diff --git a/cli/src/cleaner/for_tests/test4/data.json b/cli/src/cleaner/for_tests/test4/data.json index 303a2d889..9933d5d3b 100644 --- a/cli/src/cleaner/for_tests/test4/data.json +++ b/cli/src/cleaner/for_tests/test4/data.json @@ -8,16 +8,13 @@ "base58prefix": 0, "logo": "polkadot", "decimals": 10, - "metadataQrs": [ - { - "version": 9, - "file": { - "path": "qr/polkadot_metadata_9.apng", - "signedBy": "Parity" - }, - "status": "now" + "metadataQr": { + "version": 9, + "file": { + "path": "qr/polkadot_metadata_9.apng", + "signedBy": "Parity" } - ], + }, "liveMetaVersion": 9, "latestMetadata": "", "specsQr": { diff --git a/cli/src/collector/for_tests/expected.json b/cli/src/collector/for_tests/expected.json index 06d7ca122..2c3baee3b 100644 --- a/cli/src/collector/for_tests/expected.json +++ b/cli/src/collector/for_tests/expected.json @@ -9,45 +9,17 @@ "logo": "logo", "decimals": 10, "liveMetaVersion": 9, - "metadataQrs": [ - { - "version": 9, - "file": { - "path": "for_tests/polkadot_metadata_9.apng", - "signedBy": "Test Verifier", - "source": { - "type": "Rpc", - "block": "0x0000000000000000000000000000000000000000000000000000000000000000" - } - }, - "status": "now" - }, - { - "version": 10, - "file": { - "path": "for_tests/polkadot_metadata_10.apng", - "signedBy": "Test Verifier", - "source": { - "type": "Wasm", - "github_repo": "paritytech/polkadot", - "hash": "0xbce731f223d5fd37ecacafb5eae59b8e9df39154cdea1f3692525c260534f8d7" - } - }, - "status": "future" - }, - { - "version": 11, - "file": { - "path": "for_tests/polkadot_metadata_11.apng", - "signedBy": "Test Verifier", - "source": { - "type": "Rpc", - "block": "0x0000000000000000000000000000000000000000000000000000000000000000" - } - }, - "status": "future" + "metadataQr": { + "version": 9, + "file": { + "path": "for_tests/polkadot_metadata_9.apng", + "signedBy": "Test Verifier", + "source": { + "type": "Rpc", + "block": "0x0000000000000000000000000000000000000000000000000000000000000000" + } } - ], + }, "latestMetadata": "for_tests/polkadot_metadata_latest.apng", "specsQr": { "path": "for_tests/polkadot_specs.png",