Skip to content

Commit 0278b2b

Browse files
committed
bump version & fix tests
1 parent 4ffd9ec commit 0278b2b

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "mospy-wallet"
7-
version = "0.5.4"
7+
version = "0.5.5"
88
description = "This package is a fork of cosmospy and is a light framework for the cosmos ecosystem"
99
authors = [
1010
{ name = "ctrl-felix", email = "[email protected]" },
@@ -27,6 +27,7 @@ dependencies = [
2727
"hdwallets>=0.1.2",
2828
"safe-pysha3>=1.0.3;python_version>='3.9'",
2929
"pysha3==1.0.2;python_version<'3.9'",
30+
"pycryptodome>=3.20.0"
3031
]
3132
dynamic = []
3233

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bech32==1.2.0
22
cosmospy_protobuf>=0.2.0
3-
ecdsa==0.18.0
4-
grpcio~=1.47.0
3+
ecdsa>=0.19.0
4+
grpcio>=1.56.2
55
hdwallets==0.1.2
66
httpx~=0.23.0
77
mnemonic==0.20

src/mospy/clients/HTTPClient.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ def _make_post_request(self, path, payload, timeout):
5252
if req.status_code != 200:
5353
try:
5454
data = req.json()
55+
print(data)
5556
message = f"({data['message']}"
56-
except:
57+
except Exception:
5758
message = ""
5859
raise NodeException(f"Error while doing request to api endpoint {message}")
5960

tests/clients/test_grpcclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_transaction_submitting(self):
3838
tx = Transaction(
3939
account=account,
4040
fee=fee,
41-
gas=10000000000,
41+
gas=100000,
4242
memo="This is a mospy test transaction"
4343
)
4444

tests/clients/test_httpclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_transaction_submitting(self):
5555
tx = Transaction(
5656
account=account,
5757
fee=fee,
58-
gas=10000000000,
58+
gas=100000,
5959
)
6060

6161
tx.add_msg(

0 commit comments

Comments
 (0)