Skip to content

Commit c5f798a

Browse files
Merge pull request #8 from ElrondNetwork/main
Merge Main into Development
2 parents 1a47f3b + 3f9ea3b commit c5f798a

6 files changed

Lines changed: 35 additions & 3 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.eggs
2+
dist
3+
__pycache__
4+
*.egg-info

MANIFEST.in

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
include erdpy/projects/*.txt
2+
include erdpy/projects/*.json
3+
4+
include erdpy/testnet/wallets/users/*.pem
5+
include erdpy/testnet/wallets/users/*.json
6+
include erdpy/testnet/wallets/users/*.txt
7+
include erdpy/testnet/wallets/validators/*.pem
8+
include erdpy/testnet/wallets/validators/*.json
9+
include erdpy/testnet/wallets/validators/*.txt
10+
include erdpy/testnet/wallets/observers/*.pem
11+
include erdpy/testnet/wallets/observers/*.json
12+
include erdpy/testnet/wallets/observers/*.txt

erdpy/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.12"
1+
__version__ = "1.0.14"

erdpy/cli_contracts.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ def setup_parser(subparsers: Any) -> Any:
5252
cli_shared.add_proxy_arg(sub)
5353
cli_shared.add_tx_args(sub, with_receiver=False, with_data=False)
5454
_add_arguments_arg(sub)
55+
sub.add_argument("--wait-result", action="store_true", default=False,
56+
help="signal to wait for the transaction result - only valid if --send is set")
57+
sub.add_argument("--timeout", default=100, help="max num of seconds to wait for result"
58+
" - only valid if --wait-result is set")
5559
cli_shared.add_broadcast_args(sub)
5660

5761
sub.set_defaults(func=deploy)
@@ -81,6 +85,10 @@ def setup_parser(subparsers: Any) -> Any:
8185
cli_shared.add_proxy_arg(sub)
8286
cli_shared.add_tx_args(sub, with_receiver=False, with_data=False)
8387
_add_arguments_arg(sub)
88+
sub.add_argument("--wait-result", action="store_true", default=False,
89+
help="signal to wait for the transaction result - only valid if --send is set")
90+
sub.add_argument("--timeout", default=100, help="max num of seconds to wait for result"
91+
" - only valid if --wait-result is set")
8492
cli_shared.add_broadcast_args(sub)
8593

8694
sub.set_defaults(func=upgrade)

erdpy/testnet/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def build_binaries(testnet_config: TestnetConfiguration):
248248
myprocess.run_process(['go', 'build'], cwd=node_folder, env=golang_env)
249249

250250
arwen_binary = testnet_config.arwen_binary()
251-
logger.info("Arwen Binary: "+arwen_binary)
251+
logger.info(f"Arwen Binary: {arwen_binary}")
252252
if arwen_binary:
253253
logger.info("Building arwen...")
254254
node_folder_root = testnet_config.node_source()

setup.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@
33
with open("README.md", "r") as fh:
44
long_description = "https://github.com/ElrondNetwork/elrond-sdk-erdpy"
55

6+
VERSION = "1.0.15"
7+
8+
try:
9+
with open('./erdpy/_version.py', 'wt') as versionfile:
10+
versionfile.write(f'__version__ = "{VERSION}"')
11+
except FileNotFoundError:
12+
pass
13+
614
# See https://packaging.python.org/tutorials/packaging-projects/
715
setuptools.setup(
816
name="erdpy",
9-
version="1.0.12",
17+
version=VERSION,
1018
description="Elrond Smart Contracts Tools and Python SDK",
1119
long_description=long_description,
1220
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)