-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix get account and get transaction #482
Conversation
d931013
to
15ccd39
Compare
multiversx_sdk_cli/cli_accounts.py
Outdated
@@ -45,4 +52,34 @@ def get_account(args: Any): | |||
elif args.username: | |||
print(account.username) | |||
else: | |||
utils.dump_out_json(account.raw) | |||
account = _account_on_network_to_dictionary(account) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linter warning.
multiversx_sdk_cli/cli_accounts.py
Outdated
@@ -32,6 +37,8 @@ def _add_address_arg(sub: Any): | |||
|
|||
|
|||
def get_account(args: Any): | |||
omitted_fields = cli_shared.parse_omit_fields_arg(args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though, do we still need this command, or can we drop it (since people can simply get the data from the public API)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as decided, we've dropped this command.
@@ -203,6 +197,9 @@ def send_transaction(args: Any): | |||
|
|||
|
|||
def get_transaction(args: Any): | |||
if not args.proxy: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though, do we still need this command, or can we drop it (since people can simply get the data from the public API)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this command has been dropped, as well.
multiversx_sdk_cli/transactions.py
Outdated
"gas_limit": tx.gas_limit, | ||
"gas_price": tx.gas_price, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use the "standard" JSON naming conventions / camel-case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.