Skip to content

Commit

Permalink
chore: update submodule for finschia
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeseung-bae committed Apr 19, 2023
1 parent 5a0a1f8 commit 9d9536b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 24 deletions.
15 changes: 6 additions & 9 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
[submodule "lbm-sdk"]
path = protobuf/repositories/lbm-sdk
url = https://github.com/line/lbm-sdk.git
[submodule "wasmd"]
path = protobuf/repositories/wasmd
url = https://github.com/line/wasmd.git
[submodule "ibc-go"]
path = protobuf/repositories/ibc-go
url = https://github.com/line/ibc-go.git
[submodule "protobuf/repositories/finschia-sdk"]
path = protobuf/repositories/finschia-sdk
url = https://github.com/Finschia/finschia-sdk
[submodule "protobuf/repositories/ibc-go"]
path = protobuf/repositories/ibc-go
url = https://github.com/Finschia/ibc-go
[submodule "protobuf/repositories/wasmd"]
path = protobuf/repositories/wasmd
url = https://github.com/Finschia/wasmd
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

gRPC client library in kotlin for finschia (https://github.com/Finschia/finschia).

Requires [lbm-sdk v0.47.0-alpha1](https://github.com/Finschia/finschia-sdk/tree/v0.47.0-alpha1)
Requires [finschia-sdk v0.47.0-alpha1](https://github.com/Finschia/finschia-sdk/tree/v0.47.0-alpha1)

Current finschia-sdk version applied to finschia-kt/protobuf is [finschia-sdk v0.47.0-alpha1](https://github.com/Finschia/finschia-sdk/tree/v0.47.0-alpha1)

Expand All @@ -15,20 +15,20 @@ $ git submodule update --init
$ ./gradlew build
```

Note that any version of finschia-kt is only compatible with a certain lbm-sdk version. The corresponding lbm-sdk
version that the current repository supports can be found in the tag or commit hash of `proto/repositories/lbm-sdk`
Note that any version of finschia-kt is only compatible with a certain finschia-sdk version. The corresponding finschia-sdk
version that the current repository supports can be found in the tag or commit hash of `proto/repositories/finschia-sdk`
submodule, using the following command.

```shell
$ cd protobuf/repositories/lbm-sdk && git describe --always && cd -
$ cd protobuf/repositories/finschia-sdk && git describe --always && cd -
```

If you are a finschia-kt developer or contributor and trying to use another version of lbm-sdk, `git checkout`
the appropriate version in the lbm-sdk submodule before building this repository. The following command is an example
of using lbm-sdk `v0.47.0-alpha1`.
If you are a finschia-kt developer or contributor and trying to use another version of finschia-sdk, `git checkout`
the appropriate version in the finschia-sdk submodule before building this repository. The following command is an example
of using finschia-sdk `v0.47.0-alpha1`.

```shell
$ cd protobuf/repositories/lbm-sdk && git checkout v0.47.0-alpha1 && cd -
$ cd protobuf/repositories/finschia-sdk && git checkout v0.47.0-alpha1 && cd -
```

## How to use
Expand Down Expand Up @@ -88,7 +88,7 @@ The former is using the tx wrapper, while the latter does not use the wrapper.

## How to run `without-tx-wrapper-example`

### 1. Run lbm-sdk simapp
### 1. Run finschia-sdk simapp

Build with reference to [Quick Start build](https://github.com/Finschia/finschia-sdk/tree/v0.47.0-alpha1#quick-start).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ suspend fun main() {
//
// You need to input `txSigLimit`. `txSigLimit` means the upper limit of multi-sig public key number.
// `txSigLimit` is different for each chain. Please check your chain `txSigLimit` with reference to
// https://github.com/line/lbm-sdk/blob/main/x/auth/spec/07_client.md#params-1.
// https://github.com/Finschia/finschia-sdk/blob/main/x/auth/spec/07_client.md#params-1.
//
// `pubKeylist` size should not exceed the upper limit. If it exceeds the upper limit, you will not
// be able to remit payment from the address generated by its `pubKeylist`. This means that the assets
Expand Down
6 changes: 3 additions & 3 deletions protobuf/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ plugins {
sourceSets {
main {
proto {
srcDir ("./repositories/lbm-sdk/proto")
srcDir ("./repositories/lbm-sdk/third_party/proto")
srcDir ("./repositories/finschia-sdk/proto")
srcDir ("./repositories/finschia-sdk/third_party/proto")
srcDir ("./repositories/wasmd/proto")
srcDir ("./repositories/ibc-go/proto")
}
Expand Down Expand Up @@ -59,7 +59,7 @@ tasks.named("build") {
tasks.register("checkoutSubModules") {
var subModules = mapOf(
// {moduleName} to {version}
"lbm-sdk" to "v0.47.0-alpha1",
"finschia-sdk" to "v0.47.0-alpha1",
"ibc-go" to "v3.3.2",
"wasmd" to "v0.1.0"
)
Expand Down
1 change: 0 additions & 1 deletion protobuf/repositories/lbm-sdk
Submodule lbm-sdk deleted from 958dd2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fun compareArrays(a: ByteArray, b: ByteArray): Int {
* @param txSigLimit
* You need to input `txSigLimit`. `txSigLimit` means the upper limit of multi-sig public key number.
* `txSigLimit` is different for each chain. Please check your chain `txSigLimit` with reference to
* https://github.com/line/lbm-sdk/blob/main/x/auth/spec/07_client.md#params-1.
* https://github.com/Finschia/finschia-sdk/blob/main/x/auth/spec/07_client.md#params-1.
*
* `pubKeylist` size should not exceed the upper limit. If it exceeds the upper limit, you will not
* be able to remit payment from the address generated by its `pubKeylist`. This means that the assets
Expand Down

0 comments on commit 9d9536b

Please sign in to comment.