Skip to content

Commit

Permalink
avoid unknown chain id flag for query
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Apr 12, 2024
1 parent ba24a2d commit d05e010
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pystarport/cosmoscli.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,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 @@ -251,7 +250,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 @@ -433,6 +431,7 @@ def get_delegated_amount(self, which_addr):
"delegations",
which_addr,
home=self.data_dir,
node=self.node_rpc,
output="json",
)
)
Expand Down Expand Up @@ -987,7 +986,6 @@ def query_nft(self, denomid):
denomid,
output="json",
home=self.data_dir,
chain_id=self.chain_id,
node=self.node_rpc,
)
)
Expand All @@ -1001,7 +999,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 @@ -1047,7 +1044,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 d05e010

Please sign in to comment.