diff --git a/maven-publish-helper.gradle b/maven-publish-helper.gradle index a3eab48d..74ae4522 100644 --- a/maven-publish-helper.gradle +++ b/maven-publish-helper.gradle @@ -48,7 +48,9 @@ afterEvaluate { // Adds javadocs and sources as separate jars. // artifact androidJavadocsJar - artifact androidSourcesJar + artifact(androidSourcesJar) { + classifier 'sources' + } // You can customize attributes of the publication here or in module's build.gradle file. //groupId = 'com.example' @@ -94,6 +96,8 @@ afterEvaluate { password = ossrhPassword } } + + mavenLocal() } } } \ No newline at end of file diff --git a/substrate-sdk-android/src/main/java/io/novasama/substrate_sdk_android/runtime/extrinsic/v5/transactionExtension/extensions/verifySignature/VerifySignature.kt b/substrate-sdk-android/src/main/java/io/novasama/substrate_sdk_android/runtime/extrinsic/v5/transactionExtension/extensions/verifySignature/VerifySignature.kt index 167c1398..0aa1ac7b 100644 --- a/substrate-sdk-android/src/main/java/io/novasama/substrate_sdk_android/runtime/extrinsic/v5/transactionExtension/extensions/verifySignature/VerifySignature.kt +++ b/substrate-sdk-android/src/main/java/io/novasama/substrate_sdk_android/runtime/extrinsic/v5/transactionExtension/extensions/verifySignature/VerifySignature.kt @@ -37,7 +37,7 @@ class VerifySignature( return when (asEnum.name) { "Disabled" -> null - "Enabled" -> { + "Signed" -> { val structValue = asEnum.value as Struct.Instance SignatureInstance( @@ -83,7 +83,7 @@ class VerifySignature( runtimeSnapshot: RuntimeSnapshot, ): Any { return DictEnum.Entry( - name = "Enabled", + name = "Signed", value = Struct.Instance( mapOf( "signature" to SignatureInstanceConstructor.constructInstance(