Finschia / finschia-js

finschia-js is javascript sdk for Finschia
Apache License 2.0
7 stars 4 forks source link

feat: Apply lbm sdk v0.46.0-rc4 #30

Closed zemyblue closed 2 years ago

zemyblue commented 2 years ago

Description

Apply the changes of lbm-sdk v0.46.0-r43

Apply lbm-sdk v0.46.0-rc4, which changed the path of gRPC to cosmos style. And change the lbmjs-types version to v0.46.0-rc4.

The following package is changed.

And apply the changes to the script and configuration files of simapp local integration test settings.

fix setup.sh of simapp scripts

the previous setup.sh do to generate a default init chain setting including genesis flie to fit the simapp of cosmos-sdk. But it is not fitted lbm-sdk. Now it is fixed. If you want to generate new genesis file to fit the new changes, you run it inthe following order:

  1. change to the docker image you want in the ./scripts/simapp/env file
  2. cd ./scripts/simapp/template
  3. execute setup.sh docker
  4. check the difference of app.toml, client.toml, config.toml and genesis.json in the ./scripts/simapp/template/.simapp/config directory and select the code you want.