From a80ed85c11965b625cc7a02112fa4000d244bf4f Mon Sep 17 00:00:00 2001 From: Quantum Explorer Date: Tue, 23 Jul 2024 21:53:05 +0700 Subject: [PATCH] more work on preorder salt --- packages/platform-test-suite/test/e2e/dpns.spec.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/platform-test-suite/test/e2e/dpns.spec.js b/packages/platform-test-suite/test/e2e/dpns.spec.js index dd3dc06c1b..d195edfaa9 100644 --- a/packages/platform-test-suite/test/e2e/dpns.spec.js +++ b/packages/platform-test-suite/test/e2e/dpns.spec.js @@ -220,14 +220,28 @@ describe('DPNS', () => { const rawDocument = documents[0].toObject(); delete rawDocument.$createdAt; + delete rawDocument.$createdAtCoreBlockHeight; + delete rawDocument.$createdAtBlockHeight; delete rawDocument.$updatedAt; + delete rawDocument.$updatedAtCoreBlockHeight; + delete rawDocument.$updatedAtBlockHeight; delete rawDocument.$transferredAt; + delete rawDocument.$transferredAtCoreBlockHeight; + delete rawDocument.$transferredAtBlockHeight; + delete rawDocument.preorderSalt; const rawRegisteredDomain = registeredDomain.toObject(); delete rawRegisteredDomain.$createdAt; + delete rawRegisteredDomain.$createdAtCoreBlockHeight; + delete rawRegisteredDomain.$createdAtBlockHeight; delete rawRegisteredDomain.$updatedAt; + delete rawRegisteredDomain.$updatedAtCoreBlockHeight; + delete rawRegisteredDomain.$updatedAtBlockHeight; delete rawRegisteredDomain.$transferredAt; + delete rawRegisteredDomain.$transferredAtCoreBlockHeight; + delete rawRegisteredDomain.$transferredAtBlockHeight; + delete rawRegisteredDomain.preorderSalt; expect(rawDocument).to.deep.equal(rawRegisteredDomain); });