Skip to content

Commit 5fd807c

Browse files
authored
Removed ClientError (#72)
1 parent 9b64d2e commit 5fd807c

39 files changed

+248
-259
lines changed

consensus-client-it/src/test/scala/units/AlternativeChainTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class AlternativeChainTestSuite extends BaseDockerTestSuite {
5151
func = Some("extendMainChain"),
5252
args = List(
5353
Terms.CONST_STRING("0000000000000000000000000000000000000000000000000000000000000001").explicitGet(),
54-
Terms.CONST_STRING(lastContractBlock.hash.drop(2)).explicitGet(),
54+
Terms.CONST_STRING(lastContractBlock.hash.hexNoPrefix).explicitGet(),
5555
Terms.CONST_BYTESTR(ByteStr.decodeBase58(lastWavesBlock.VRF).get).explicitGet(),
5656
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5757
Terms.CONST_LONG(-1)

consensus-client-it/src/test/scala/units/BlockValidationAssetInvalidAmountTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class BlockValidationAssetInvalidAmountTestSuite extends BaseBlockValidationSuit
5252
func = Some("extendMainChain_v2"),
5353
args = List(
5454
Terms.CONST_STRING(simulatedBlockHash.drop(2)).explicitGet(),
55-
Terms.CONST_STRING(elParentBlock.hash.drop(2)).explicitGet(),
55+
Terms.CONST_STRING(elParentBlock.hash.hexNoPrefix).explicitGet(),
5656
Terms.CONST_BYTESTR(hitSource).explicitGet(),
5757
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5858
Terms.CONST_LONG(0),

consensus-client-it/src/test/scala/units/BlockValidationAssetInvalidBridgeTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class BlockValidationAssetInvalidBridgeTestSuite extends BaseBlockValidationSuit
5252
func = Some("extendMainChain_v2"),
5353
args = List(
5454
Terms.CONST_STRING(simulatedBlockHash.drop(2)).explicitGet(),
55-
Terms.CONST_STRING(elParentBlock.hash.drop(2)).explicitGet(),
55+
Terms.CONST_STRING(elParentBlock.hash.hexNoPrefix).explicitGet(),
5656
Terms.CONST_BYTESTR(hitSource).explicitGet(),
5757
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5858
Terms.CONST_LONG(0),

consensus-client-it/src/test/scala/units/BlockValidationAssetInvalidRecipientTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class BlockValidationAssetInvalidRecipientTestSuite extends BaseBlockValidationS
5252
func = Some("extendMainChain_v2"),
5353
args = List(
5454
Terms.CONST_STRING(simulatedBlockHash.drop(2)).explicitGet(),
55-
Terms.CONST_STRING(elParentBlock.hash.drop(2)).explicitGet(),
55+
Terms.CONST_STRING(elParentBlock.hash.hexNoPrefix).explicitGet(),
5656
Terms.CONST_BYTESTR(hitSource).explicitGet(),
5757
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5858
Terms.CONST_LONG(0),

consensus-client-it/src/test/scala/units/BlockValidationAssetInvalidSenderTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class BlockValidationAssetInvalidSenderTestSuite extends BaseBlockValidationSuit
5050
func = Some("extendMainChain_v2"),
5151
args = List(
5252
Terms.CONST_STRING(simulatedBlockHash.drop(2)).explicitGet(),
53-
Terms.CONST_STRING(elParentBlock.hash.drop(2)).explicitGet(),
53+
Terms.CONST_STRING(elParentBlock.hash.hexNoPrefix).explicitGet(),
5454
Terms.CONST_BYTESTR(hitSource).explicitGet(),
5555
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5656
Terms.CONST_LONG(0),

consensus-client-it/src/test/scala/units/BlockValidationAssetInvalidTokenTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class BlockValidationAssetInvalidTokenTestSuite extends BaseBlockValidationSuite
5252
func = Some("extendMainChain_v2"),
5353
args = List(
5454
Terms.CONST_STRING(simulatedBlockHash.drop(2)).explicitGet(),
55-
Terms.CONST_STRING(elParentBlock.hash.drop(2)).explicitGet(),
55+
Terms.CONST_STRING(elParentBlock.hash.hexNoPrefix).explicitGet(),
5656
Terms.CONST_BYTESTR(hitSource).explicitGet(),
5757
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5858
Terms.CONST_LONG(0),

consensus-client-it/src/test/scala/units/BlockValidationAssetValidTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class BlockValidationAssetValidTestSuite extends BaseBlockValidationSuite {
5050
func = Some("extendMainChain_v2"),
5151
args = List(
5252
Terms.CONST_STRING(simulatedBlockHash.drop(2)).explicitGet(),
53-
Terms.CONST_STRING(elParentBlock.hash.drop(2)).explicitGet(),
53+
Terms.CONST_STRING(elParentBlock.hash.hexNoPrefix).explicitGet(),
5454
Terms.CONST_BYTESTR(hitSource).explicitGet(),
5555
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5656
Terms.CONST_LONG(0),

consensus-client-it/src/test/scala/units/BlockValidationNativeInvalidAmountTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class BlockValidationNativeInvalidAmountTestSuite extends BaseBlockValidationSui
5252
func = Some("extendMainChain_v2"),
5353
args = List(
5454
Terms.CONST_STRING(simulatedBlockHash.drop(2)).explicitGet(),
55-
Terms.CONST_STRING(elParentBlock.hash.drop(2)).explicitGet(),
55+
Terms.CONST_STRING(elParentBlock.hash.hexNoPrefix).explicitGet(),
5656
Terms.CONST_BYTESTR(hitSource).explicitGet(),
5757
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5858
Terms.CONST_LONG(0),

consensus-client-it/src/test/scala/units/BlockValidationNativeInvalidBridgeTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class BlockValidationNativeInvalidBridgeTestSuite extends BaseBlockValidationSui
5252
func = Some("extendMainChain_v2"),
5353
args = List(
5454
Terms.CONST_STRING(simulatedBlockHash.drop(2)).explicitGet(),
55-
Terms.CONST_STRING(elParentBlock.hash.drop(2)).explicitGet(),
55+
Terms.CONST_STRING(elParentBlock.hash.hexNoPrefix).explicitGet(),
5656
Terms.CONST_BYTESTR(hitSource).explicitGet(),
5757
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5858
Terms.CONST_LONG(0),

consensus-client-it/src/test/scala/units/BlockValidationNativeInvalidRecipientTestSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class BlockValidationNativeInvalidRecipientTestSuite extends BaseBlockValidation
5252
func = Some("extendMainChain_v2"),
5353
args = List(
5454
Terms.CONST_STRING(simulatedBlockHash.drop(2)).explicitGet(),
55-
Terms.CONST_STRING(elParentBlock.hash.drop(2)).explicitGet(),
55+
Terms.CONST_STRING(elParentBlock.hash.hexNoPrefix).explicitGet(),
5656
Terms.CONST_BYTESTR(hitSource).explicitGet(),
5757
Terms.CONST_STRING(EmptyE2CTransfersRootHashHex.drop(2)).explicitGet(),
5858
Terms.CONST_LONG(0),

0 commit comments

Comments
 (0)