Skip to content

Fix get account and get transaction#482

Merged
popenta merged 6 commits into
feat/nextfrom
fix-get-account
Feb 19, 2025
Merged

Fix get account and get transaction#482
popenta merged 6 commits into
feat/nextfrom
fix-get-account

Conversation

@popenta
Copy link
Copy Markdown
Collaborator

@popenta popenta commented Feb 12, 2025

No description provided.

@popenta popenta self-assigned this Feb 12, 2025
@popenta popenta marked this pull request as draft February 12, 2025 13:30
Base automatically changed from create-validator-wallet to feat/next February 13, 2025 14:31
@popenta popenta marked this pull request as ready for review February 13, 2025 14:32
Comment thread multiversx_sdk_cli/cli_accounts.py Outdated
print(account.username)
else:
utils.dump_out_json(account.raw)
account = _account_on_network_to_dictionary(account)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linter warning.

Comment thread multiversx_sdk_cli/cli_accounts.py Outdated


def get_account(args: Any):
omitted_fields = cli_shared.parse_omit_fields_arg(args)
Copy link
Copy Markdown
Contributor

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)?

Copy link
Copy Markdown
Collaborator Author

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.

Comment thread multiversx_sdk_cli/cli_transactions.py Outdated


def get_transaction(args: Any):
if not args.proxy:
Copy link
Copy Markdown
Contributor

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)?

Copy link
Copy Markdown
Collaborator Author

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.

Comment thread multiversx_sdk_cli/transactions.py Outdated
Comment on lines +170 to +171
"gas_limit": tx.gas_limit,
"gas_price": tx.gas_price,
Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@popenta popenta merged commit 6ead3b4 into feat/next Feb 19, 2025
@popenta popenta deleted the fix-get-account branch February 19, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants