From 91e0ce6f7198190809e5a77c80177c5701902b22 Mon Sep 17 00:00:00 2001 From: Artyom Sayadyan Date: Thu, 14 Dec 2023 12:20:49 +0300 Subject: [PATCH] Check challenging block fields excistence --- .../com/wavesplatform/mining/LightNodeBlockFieldsTest.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node/src/test/scala/com/wavesplatform/mining/LightNodeBlockFieldsTest.scala b/node/src/test/scala/com/wavesplatform/mining/LightNodeBlockFieldsTest.scala index 2c4c0522ba..3fd17bc5f6 100644 --- a/node/src/test/scala/com/wavesplatform/mining/LightNodeBlockFieldsTest.scala +++ b/node/src/test/scala/com/wavesplatform/mining/LightNodeBlockFieldsTest.scala @@ -115,6 +115,8 @@ class LightNodeBlockFieldsTest extends PropSpec with WithDomain { val challengingBlock2 = d.createChallengingBlock(secondSigner, invalidBlock, strictTime = true) d.testTime.setTime(challengingBlock2.header.timestamp) append(challengingBlock2) shouldBe a[Right[?, ?]] + challengingBlock2.header.challengedHeader shouldBe defined + challengingBlock2.header.stateHash shouldBe defined } } }