Merge pull request #55 from bugout-dev/tx-value

added `--value`
pull/58/head
Yhtyyar Sahatov 2022-01-28 18:57:28 +03:00 zatwierdzone przez GitHub
commit 0335dd4c2d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -615,6 +615,9 @@ def generate_add_default_arguments() -> cst.FunctionDef:
cst.parse_statement(
'parser.add_argument("--nonce", type=int, default=None, help="Nonce for the transaction (optional)")'
),
cst.parse_statement(
'parser.add_argument("--value", default=None, help="Value of the transaction in wei(optional)")'
),
],
)
function_def = cst.FunctionDef(