From 3f101d21c58eaea3b487f15f989bfb74cd8096a8 Mon Sep 17 00:00:00 2001 From: dgeorgiev Date: Mon, 25 Sep 2023 15:46:32 +0300 Subject: [PATCH 1/2] fix tx signer in ContractBlockingClientFactoryRegistryPostProcessor --- .../ContractBlockingClientFactoryRegistryPostProcessor.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/we-autoconfigure/src/main/kotlin/com/wavesenterprise/sdk/spring/autoconfigure/contract/ContractBlockingClientFactoryRegistryPostProcessor.kt b/we-autoconfigure/src/main/kotlin/com/wavesenterprise/sdk/spring/autoconfigure/contract/ContractBlockingClientFactoryRegistryPostProcessor.kt index 02518b5..e488f09 100644 --- a/we-autoconfigure/src/main/kotlin/com/wavesenterprise/sdk/spring/autoconfigure/contract/ContractBlockingClientFactoryRegistryPostProcessor.kt +++ b/we-autoconfigure/src/main/kotlin/com/wavesenterprise/sdk/spring/autoconfigure/contract/ContractBlockingClientFactoryRegistryPostProcessor.kt @@ -1,11 +1,11 @@ package com.wavesenterprise.sdk.spring.autoconfigure.contract -import com.wavesenterprise.sdk.atomic.AtomicAwareTxSigner import com.wavesenterprise.sdk.contract.client.invocation.factory.ContractBlockingClientFactory import com.wavesenterprise.sdk.contract.core.converter.factory.ConverterFactory import com.wavesenterprise.sdk.contract.core.state.LocalValidationContextManager import com.wavesenterprise.sdk.spring.autoconfigure.contract.properties.ContractConfigurationPropertiesForSignRequestBuilderFactory import com.wavesenterprise.sdk.spring.autoconfigure.contract.validation.ApplicationContextAwareContractValidation +import com.wavesenterprise.sdk.tx.signer.TxSigner import org.springframework.beans.BeansException import org.springframework.beans.factory.config.ConfigurableListableBeanFactory import org.springframework.beans.factory.support.AbstractBeanDefinition @@ -49,7 +49,7 @@ class ContractBlockingClientFactoryRegistryPostProcessor( } ?: beanInfo.txSignerBeanName?.let { if (it.isBlank()) null else addConstructorArgReference(it) } ?: try { - addConstructorArgValue(applicationContext.getBean(AtomicAwareTxSigner::class.java)) + addConstructorArgValue(applicationContext.getBean(TxSigner::class.java)) } catch (ex: BeansException) { addConstructorArgReference("txSigner") } From 37f3cf295bf5bf9bfbec2622ac5637efcce9ebdd Mon Sep 17 00:00:00 2001 From: dgeorgiev Date: Wed, 4 Oct 2023 17:11:57 +0300 Subject: [PATCH 2/2] Update SDK libs versions --- gradle.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index c0d1a4a..c8a37a2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -37,8 +37,8 @@ junitBom=5.2.0 assertjVersion=3.20.2 # WE SDK libs -weNodeClientVersion=1.0.0 -weContractSdkVersion=1.3.0 +weNodeClientVersion=1.1.0 +weContractSdkVersion=1.3.1 # GitHub properties gitHubProject=waves-enterprise/we-spring-sdk