From eab870f7eb3e87fc853606760a257f1cdd2e9cda Mon Sep 17 00:00:00 2001 From: Termina1 Date: Wed, 12 Jul 2023 14:24:32 +0300 Subject: [PATCH] fix tests again --- .../upstream/ethereum/EthereumUpstreamValidatorSpec.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/groovy/io/emeraldpay/dshackle/upstream/ethereum/EthereumUpstreamValidatorSpec.groovy b/src/test/groovy/io/emeraldpay/dshackle/upstream/ethereum/EthereumUpstreamValidatorSpec.groovy index bc195569..9fdea0ae 100644 --- a/src/test/groovy/io/emeraldpay/dshackle/upstream/ethereum/EthereumUpstreamValidatorSpec.groovy +++ b/src/test/groovy/io/emeraldpay/dshackle/upstream/ethereum/EthereumUpstreamValidatorSpec.groovy @@ -281,7 +281,7 @@ class EthereumUpstreamValidatorSpec extends Specification { answerOnce("eth_call", [new TransactionCallJson( Address.from("0x32268860cAAc2948Ab5DdC7b20db5a420467Cf96"), HexData.from("0xd8a26e3a0000000000000000000000000000000000000000000000000000000000030ce0") - )], "0x00000000000000000000") + ), "latest"], "0x00000000000000000000") } ) def validator = new EthereumUpstreamValidator(up, options, "0x32268860cAAc2948Ab5DdC7b20db5a420467Cf96") @@ -303,8 +303,8 @@ class EthereumUpstreamValidatorSpec extends Specification { new ApiReaderMock().tap { answer("eth_call", [new TransactionCallJson( Address.from("0x32268860cAAc2948Ab5DdC7b20db5a420467Cf96"), - HexData.from("0xd8a26e3a0000000000000000000000000000000000000000000000000000000000030d40") - )], new RpcResponseError(RpcResponseError.CODE_INVALID_REQUEST, "Too long")) + HexData.from("0xd8a26e3a0000000000000000000000000000000000000000000000000000000000030ce0") + ), "latest"], new RpcResponseError(RpcResponseError.CODE_INVALID_REQUEST, "Too long")) } ) def validator = new EthereumUpstreamValidator(up, options, "0x32268860cAAc2948Ab5DdC7b20db5a420467Cf96")