Skip to content

Commit

Permalink
feat: apply the changes of x/token and x/collection protos (#69)
Browse files Browse the repository at this point in the history
* chore:delete gov mint

* chore:change msg, query field names as proto

* chore: change amino msg field names as msg

* feat: apply the changes of x/token and x/collection tx proto lbm-sdk#863

Signed-off-by: zemyblue <[email protected]>

* chore: bump up lbmjs-type v0.47.0-alpha1

Signed-off-by: zemyblue <[email protected]>

* chore: version typochore: bump up lbmjs-type v0.47.0-alpha1

Signed-off-by: zemyblue <[email protected]>

* feat: add lbm script which can test with lbm docker image.

Signed-off-by: zemyblue <[email protected]>

* chore: update lbm and simapp script

Signed-off-by: zemyblue <[email protected]>

* ci: update tests to use lbm script

Signed-off-by: zemyblue <[email protected]>

* ci: fix script error

Signed-off-by: zemyblue <[email protected]>

* chore: update lbm docker image env

Signed-off-by: zemyblue <[email protected]>

---------

Signed-off-by: zemyblue <[email protected]>
Co-authored-by: jinseong.cho <[email protected]>
  • Loading branch information
zemyblue and loin3 authored Feb 15, 2023
1 parent 1339f16 commit b455367
Show file tree
Hide file tree
Showing 95 changed files with 2,375 additions and 786 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/finschia-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: download contracts
run: |
cd scripts/simapp/contracts
cd scripts/lbm/contracts
bash download.sh
- name: Set up Node.js
Expand All @@ -37,11 +37,11 @@ jobs:
- name: Build
run: yarn build

- name: start simd
run: CI= scripts/simapp/start.sh
- name: start lbm
run: CI= scripts/lbm/start.sh

- name: init contract on simd
run: scripts/simapp/init.sh
- name: init contract on lbm
run: scripts/lbm/init.sh

- name: Unit Test
run: |
Expand Down
10 changes: 5 additions & 5 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions .yarn/cache/lbmjs-types-npm-0.46.0-0e0581243a-8ea61b1c36.zip

This file was deleted.

Git LFS file not shown
2 changes: 1 addition & 1 deletion packages/finschia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@cosmjs/tendermint-rpc": "^0.29.0",
"@cosmjs/utils": "^0.29.0",
"cosmjs-types": "^0.5.1",
"lbmjs-types": "^0.46.0",
"lbmjs-types": "^0.47.0-alpha1",
"long": "^4.0.0",
"pako": "^2.0.2",
"protobufjs": "~6.10.2",
Expand Down
54 changes: 26 additions & 28 deletions packages/finschia/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,49 @@ export {
CollectionExtension,
collectionTypes,
isMsgAttachEncodeObject,
isMsgAttachFromEncodeObject,
isMsgBurnFTEncodeObject,
isMsgBurnFTFromEncodeObject,
isMsgBurnNFTEncodeObject,
isMsgBurnNFTFromEncodeObject,
isMsgCollectionApproveEncodeObject,
isMsgCollectionGrantPermissionEncodeObject,
isMsgCollectionModifyEncodeObject,
isMsgCollectionRevokeOperatorEncodeObject,
isMsgCollectionRevokePermissionEncodeObject,
isMsgCreateContractEncodeObject,
isMsgDetachEncodeObject,
isMsgDetachFromEncodeObject,
isMsgDisapproveEncodeObject,
isMsgIssueFTEncodeObject,
isMsgIssueNFTEncodeObject,
isMsgMintFTEncodeObject,
isMsgMintNFTEncodeObject,
isMsgTransferFTEncodeObject,
isMsgTransferFTFromEncodeObject,
isMsgTransferNFTEncodeObject,
isMsgTransferNFTFromEncodeObject,
isMsgOperatorAttachEncodeObject,
isMsgOperatorBurnFTEncodeObject,
isMsgOperatorBurnNFTEncodeObject,
isMsgOperatorDetachEncodeObject,
isMsgOperatorSendFTEncodeObject,
isMsgOperatorSendNFTEncodeObject,
isMsgSendFTEncodeObject,
isMsgSendNFTEncodeObject,
MsgAttachEncodeObject,
MsgAttachFromEncodeObject,
MsgBurnFTEncodeObject,
MsgBurnFTFromEncodeObject,
MsgBurnNFTEncodeObject,
MsgBurnNFTFromEncodeObject,
MsgCollectionApproveEncodeObject,
MsgCollectionGrantPermissionEncodeObject,
MsgCollectionModifyEncodeObject,
MsgCollectionRevokeOperatorEncodeObject,
MsgCollectionRevokePermissionEncodeObject,
MsgCreateContractEncodeObject,
MsgDetachEncodeObject,
MsgDetachFromEncodeObject,
MsgDisapproveEncodeObject,
MsgIssueFTEncodeObject,
MsgIssueNFTEncodeObject,
MsgMintFTEncodeObject,
MsgMintNFTEncodeObject,
MsgTransferFTEncodeObject,
MsgTransferFTFromEncodeObject,
MsgTransferNFTEncodeObject,
MsgTransferNFTFromEncodeObject,
MsgOperatorAttachEncodeObject,
MsgOperatorBurnFTEncodeObject,
MsgOperatorBurnNFTEncodeObject,
MsgOperatorDetachEncodeObject,
MsgOperatorSendFTEncodeObject,
MsgOperatorSendNFTEncodeObject,
MsgSendFTEncodeObject,
MsgSendNFTEncodeObject,
setupCollectionExtension,
} from "./modules";
export { EvidenceExtension, setupEvidenceExtension } from "./modules";
Expand All @@ -65,7 +65,6 @@ export {
foundationTypes,
isMsgExecEncodeObject,
isMsgFundTreasuryEncodeObject,
isMsgGovMintEncodeObject,
isMsgGrantEncodeObject,
isMsgLeaveFoundationEncodeObject,
isMsgRevokeEncodeObject,
Expand All @@ -80,7 +79,6 @@ export {
isThresholdDecisionPolicyEncodeObject,
MsgExecEncodeObject,
MsgFundTreasuryEncodeObject,
MsgGovMintEncodeObject,
MsgGrantEncodeObject,
MsgLeaveFoundationEncodeObject,
MsgRevokeEncodeObject,
Expand All @@ -100,27 +98,27 @@ export { IbcExtension, setupIbcExtension } from "./modules";
export { stakingplusTypes } from "./modules";
export {
isMsgBurnEncodeObject,
isMsgBurnFromEncodeObject,
isMsgIssueEncodeObject,
isMsgMintEncodeObject,
isMsgRevokeOperatorEncodeObject,
isMsgOperatorBurnEncodeObject,
isMsgOperatorSendEncodeObject,
isMsgSendEncodeObject,
isMsgTokenApproveEncodeObject,
isMsgTokenAuthorizeOperatorEncodeObject,
isMsgTokenGrantPermissionEncodeObject,
isMsgTokenModifyEncodeObject,
isMsgTokenRevokeOperatorEncodeObject,
isMsgTokenRevokePermissionEncodeObject,
isMsgTransferFromEncodeObject,
MsgBurnEncodeObject,
MsgBurnFromEncodeObject,
MsgIssueEncodeObject,
MsgMintEncodeObject,
MsgRevokeOperatorEncodeObject,
MsgOperatorBurnEncodeObject,
MsgOperatorSendEncodeObject,
MsgSendEncodeObject,
MsgTokenApproveEncodeObject,
MsgTokenAuthorizeOperatorEncodeObject,
MsgTokenGrantPermissionEncodeObject,
MsgTokenModifyEncodeObject,
MsgTokenRevokeOperatorEncodeObject,
MsgTokenRevokePermissionEncodeObject,
MsgTransferFromEncodeObject,
setupTokenExtension,
TokenExtension,
tokenTypes,
Expand Down
Loading

0 comments on commit b455367

Please sign in to comment.