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")