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(wallet): Rename Wallet.classic_address to Wallet.address #601

Merged
merged 7 commits into from
Jun 27, 2023

Conversation

JST5000
Copy link
Contributor

@JST5000 JST5000 commented Jun 16, 2023

High Level Overview of Change

classic_address is jargon for most people - we should instead name it address

Context of Change

We already were planning on adding a new alias, but in the spirit of having a clear API, this PR is instead planning to just set address to the new name.

classic_address is only named that to differentiate itself from x-address which is a newer standard which is not supported at the ledger level. (You have to decode x-addresses back to classic_addresses before submitting a transaction to the ledger) - For a concept as basic as what an account on the XRPL is, we don't want to require understanding that nuance.

Type of Change

  • Refactor (non-breaking change that restructures how the code works)

Test Plan

CI Passes

Note: Originally this was a breaking change, but after discussion we've changed it to just affect the defaults we use - while keeping classic_address as an alias.

README.md Outdated Show resolved Hide resolved
@JST5000 JST5000 changed the title refactor(wallet)! Rename Wallet.classic_address to Wallet.address refactor(wallet): Rename Wallet.classic_address to Wallet.address Jun 20, 2023
@JST5000 JST5000 merged commit ac36415 into xrpl-py-2.0 Jun 27, 2023
@JST5000 JST5000 deleted the remove-classic-address branch June 27, 2023 18:05
JST5000 added a commit that referenced this pull request Jun 28, 2023
…#601)

* Remove classic_address from Wallet

* Re-add the `classic_address` alias
JST5000 added a commit that referenced this pull request Jun 28, 2023
…#601)

* Remove classic_address from Wallet

* Re-add the `classic_address` alias
JST5000 added a commit that referenced this pull request Jul 5, 2023
…#601)

* Remove classic_address from Wallet

* Re-add the `classic_address` alias
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.

6 participants