From 9a28042f2d46a20e861e0fcec13e02d81e81757b Mon Sep 17 00:00:00 2001 From: Ishan Date: Tue, 13 Feb 2024 11:46:46 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Update=20snapshot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../unit/__snapshots__/application.spec.ts.snap | 2 ++ .../application_config_schema.spec.ts.snap | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/framework/test/unit/__snapshots__/application.spec.ts.snap b/framework/test/unit/__snapshots__/application.spec.ts.snap index b1396361a5..bcd9b915dc 100644 --- a/framework/test/unit/__snapshots__/application.spec.ts.snap +++ b/framework/test/unit/__snapshots__/application.spec.ts.snap @@ -50,7 +50,9 @@ exports[`Application #constructor should set internal variables 1`] = ` }, "dataPath": "~/.lisk/beta-sdk-app", "enableMetrics": false, + "inclusionProofKeys": [], "keepEventsForHeights": 300, + "keepInclusionProofsForHeights": 300, "logLevel": "info", "version": "0.1.0", }, diff --git a/framework/test/unit/schema/__snapshots__/application_config_schema.spec.ts.snap b/framework/test/unit/schema/__snapshots__/application_config_schema.spec.ts.snap index e52e162ac4..3828d19244 100644 --- a/framework/test/unit/schema/__snapshots__/application_config_schema.spec.ts.snap +++ b/framework/test/unit/schema/__snapshots__/application_config_schema.spec.ts.snap @@ -43,7 +43,9 @@ exports[`schema/application_config_schema.js application config schema must matc }, "dataPath": "~/.lisk/beta-sdk-app", "enableMetrics": false, + "inclusionProofKeys": [], "keepEventsForHeights": 300, + "keepInclusionProofsForHeights": 300, "logLevel": "info", "version": "0.1.0", }, @@ -348,9 +350,19 @@ exports[`schema/application_config_schema.js application config schema must matc "enableMetrics": { "type": "boolean", }, + "inclusionProofKeys": { + "items": { + "type": "string", + }, + "type": "array", + "uniqueItems": true, + }, "keepEventsForHeights": { "type": "integer", }, + "keepInclusionProofsForHeights": { + "type": "integer", + }, "logLevel": { "enum": [ "trace", @@ -373,6 +385,8 @@ exports[`schema/application_config_schema.js application config schema must matc "dataPath", "logLevel", "keepEventsForHeights", + "keepInclusionProofsForHeights", + "inclusionProofKeys", "backup", ], "type": "object",