Skip to content

Commit

Permalink
Problem: sdk 0.50 cmd is not aligned (#125)
Browse files Browse the repository at this point in the history
* Problem: sdk 0.50 cmd is not aligned

* avoid unknown chain id flag for query

* keep origin
  • Loading branch information
mmsqe authored Apr 15, 2024
1 parent 28d590b commit 4704c4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@
- [#113](https://github.com/crypto-com/pystarport/pull/113) support ibc related cmd.
- [#115](https://github.com/crypto-com/pystarport/pull/115) avoid cli redundant migrated key log in stdout.
- [#117](https://github.com/crypto-com/pystarport/pull/117) make event_query_tx_for optional.
- [#121](https://github.com/crypto-com/pystarport/pull/121) Support sdk 0.50
- [#122](https://github.com/crypto-com/pystarport/pull/122) Adjust status and staking related cli for sdk 0.50
- [#121](https://github.com/crypto-com/pystarport/pull/121), [#122](https://github.com/crypto-com/pystarport/pull/122), [#125](https://github.com/crypto-com/pystarport/pull/125) Support sdk 0.50.
- [#127](https://github.com/crypto-com/pystarport/pull/127) Support adding new key when patching config


*Feb 7, 2023*

## v0.2.5
Expand Down
6 changes: 0 additions & 6 deletions pystarport/cosmoscli.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ def query_tx(self, tx_type, tx_value):
tx_type,
tx_value,
home=self.data_dir,
chain_id=self.chain_id,
node=self.node_rpc,
)
return json.loads(tx)
Expand All @@ -245,7 +244,6 @@ def query_all_txs(self, addr):
addr,
home=self.data_dir,
keyring_backend="test",
chain_id=self.chain_id,
node=self.node_rpc,
)
return json.loads(txs)
Expand Down Expand Up @@ -427,7 +425,6 @@ def get_delegated_amount(self, which_addr):
"delegations",
which_addr,
home=self.data_dir,
chain_id=self.chain_id,
node=self.node_rpc,
output="json",
)
Expand Down Expand Up @@ -983,7 +980,6 @@ def query_nft(self, denomid):
denomid,
output="json",
home=self.data_dir,
chain_id=self.chain_id,
node=self.node_rpc,
)
)
Expand All @@ -997,7 +993,6 @@ def query_denom_by_name(self, denomname):
denomname,
output="json",
home=self.data_dir,
chain_id=self.chain_id,
node=self.node_rpc,
)
)
Expand Down Expand Up @@ -1043,7 +1038,6 @@ def query_nft_token(self, denomid, tokenid):
tokenid,
output="json",
home=self.data_dir,
chain_id=self.chain_id,
node=self.node_rpc,
)
)
Expand Down

0 comments on commit 4704c4a

Please sign in to comment.