Skip to content
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

refactor: Make param order for signing/submitting consistent #600

Merged
merged 2 commits into from
Jun 15, 2023

Conversation

JST5000
Copy link
Contributor

@JST5000 JST5000 commented Jun 15, 2023

High Level Overview of Change

submit_and_wait changed the param order since Wallet is optional, so we want to make all similar functions follow the same order to reduce confusion/frustration.

Context of Change

In order to be internally consistent, all signing/submitting functions will follow the parameter order of transaction, client, wallet, and then other parameters. (This is because wallet is optional for submit_and_wait and so must come after client)

This affects autofill_and_sign and sign_and_submit.

Type of Change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Test Plan

CI Passes

@justinr1234 justinr1234 changed the title Make param order for signing/submitting consistent refactor: Make param order for signing/submitting consistent Jun 15, 2023
@JST5000 JST5000 merged commit 10d4e6d into xrpl-py-2.0 Jun 15, 2023
@JST5000 JST5000 deleted the re-order-params branch June 15, 2023 23:30
JST5000 added a commit that referenced this pull request Jun 28, 2023
* Update the CHANGELOG

* Update `autofill_and_sign` and `sign_and_submit`
JST5000 added a commit that referenced this pull request Jun 28, 2023
* Update the CHANGELOG

* Update `autofill_and_sign` and `sign_and_submit`
JST5000 added a commit that referenced this pull request Jul 5, 2023
* Update the CHANGELOG

* Update `autofill_and_sign` and `sign_and_submit`
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