diff --git a/.gitignore b/.gitignore
index bf8e1c6..0445578 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,4 +5,5 @@ site
_site
bin
.vscode
-*.DS_Store
\ No newline at end of file
+*.DS_Store
+src/integrationTest/sui.keystore
\ No newline at end of file
diff --git a/README.md b/README.md
index 215276f..98cd7e9 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ upcoming TestNet launch.
## Using
-The latest 0.4.1 version tested with sui devnet-0.24.0 version.
+The latest 0.4.2 version tested with sui devnet-0.24.0 version.
### Maven
@@ -27,7 +27,7 @@ The latest 0.4.1 version tested with sui devnet-0.24.0 version.
me.grapebaba
sui4j
-0.4.1
+0.4.2
```
@@ -35,7 +35,7 @@ The latest 0.4.1 version tested with sui devnet-0.24.0 version.
```groovy
// https://mvnrepository.com/artifact/me.grapebaba/sui4j
-implementation 'me.grapebaba:sui4j:0.4.1'
+implementation 'me.grapebaba:sui4j:0.4.2'
```
## Building Locally
diff --git a/build.gradle b/build.gradle
index 2593457..0003f12 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,7 +11,7 @@ plugins {
group 'me.grapebaba'
-version '0.4.1'
+version '0.4.2'
repositories {
mavenCentral()
diff --git a/docs/quickstart.md b/docs/quickstart.md
index d0e88d9..a6ffa45 100644
--- a/docs/quickstart.md
+++ b/docs/quickstart.md
@@ -7,7 +7,7 @@
me.grapebaba
sui4j
-0.4.1
+0.4.2
```
@@ -15,7 +15,7 @@
```groovy
// https://mvnrepository.com/artifact/me.grapebaba/sui4j
-implementation 'me.grapebaba:sui4j:0.4.1'
+implementation 'me.grapebaba:sui4j:0.4.2'
```
## Use Sui4j
diff --git a/src/integrationTest/java/io/sui/JsonRpcTransactionBuilderIntTests.java b/src/integrationTest/java/io/sui/JsonRpcTransactionBuilderIntTests.java
index 112d9f1..07bae62 100644
--- a/src/integrationTest/java/io/sui/JsonRpcTransactionBuilderIntTests.java
+++ b/src/integrationTest/java/io/sui/JsonRpcTransactionBuilderIntTests.java
@@ -338,7 +338,7 @@ void batchTransaction() throws ExecutionException, InterruptedException {
void moveCall() throws ExecutionException, InterruptedException {
final TypeTag.StructType structType = new TypeTag.StructType();
StructTag structTag = new StructTag();
- structTag.setAddress("0x2");
+ structTag.setAddress("0x0000000000000000000000000000000000000002");
structTag.setModule("sui");
structTag.setName("SUI");
structType.setStructTag(structTag);
@@ -388,41 +388,41 @@ void moveCall() throws ExecutionException, InterruptedException {
System.out.println(future1.get());
}
- /**
- * Publish.
- *
- * @throws ExecutionException the execution exception
- * @throws InterruptedException the interrupted exception
- */
- @Test
- @DisplayName("Test publish.")
- void publish() throws ExecutionException, InterruptedException {
- CompletableFuture res =
- transactionBuilder.publish(
- "0xea79464d86786b7a7a63e3f13f798f29f5e65947",
- Lists.newArrayList(
- "oRzrCwYAAAAKAQAIAggMAxQuBEICBUQrB2+IAQj3ASgKnwIKDKkCkwEN"
- + "vAMEAAABAQECAQMABAgAAwYCAAENBAAABQABAAAHAgEAAAgDAQAACQQFAAAK"
- + "BgEAAAsEBwABDgIIAAMPCQUAAhALAQEICAoCBggAAwABBwgBAQcIAAEGCAAB"
- + "BQMHCAADBwgBAQMBCAIBBggBAQgAAQkAB2NvdW50ZXIGb2JqZWN0CHRyYW5z"
- + "ZmVyCnR4X2NvbnRleHQHQ291bnRlcgxhc3NlcnRfdmFsdWUJVHhDb250ZXh0"
- + "BmNyZWF0ZQlpbmNyZW1lbnQFb3duZXIJc2V0X3ZhbHVlBXZhbHVlAmlkA1VJ"
- + "RANuZXcGc2VuZGVyDHNoYXJlX29iamVjdAAAAAAAAAAAAAAAAAAAAAAAAAAA"
- + "AAAAAAAAAAAAAAAAAAAAAAAAAAIAAgMMCAIJBQsDAAEEAAEJCwAQABQLASED"
- + "CAYAAAAAAAAAACcCAQEEAAEJCgARBgsALhEHBgAAAAAAAAAAEgA4AAICAQQA"
- + "AQkKABAAFAYBAAAAAAAAABYLAA8AFQIDAQAAAQQLABABFAIEAQQAAREKABAB"
- + "FAsCLhEHIQMMCwABBgAAAAAAAAAAJwsBCwAPABUCBQEAAAEECwAQABQCAAIAAQA="),
- "0x05f71eb5dc69224ef8e3a4c13917c799190237d9",
- 100L);
- CompletableFuture