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: type Transaction to include all tx #2547

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

ckniffen
Copy link
Collaborator

High Level Overview of Change

BREAKING CHANGE: Transaction type has been redefined to include all transactions and SubmittableTransaction was created to define the old value. The following functions which only handle transactions to be submitted now use SubmittableTransaction:

  • Client.autofill
  • Client.submit
  • Client.submitAndWait
  • Client.prepareTransaction
  • getSignedTx
  • isAccountDelete

Closes #2519

Context of Change

This improves the type names to better reflect their usage.

Type of Change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Documentation Updates

Did you update HISTORY.md?

  • Yes
  • No, this change does not impact library users

@ckniffen
Copy link
Collaborator Author

Snippet tests will be fixed on the next rebase of the 3.0 branch.

BREAKING CHANGE: `Transaction` type has been redefined to include all
transactions and `SubmittableTransaction` was created to define the old
value. The following functions which only handle transactions to be
submitted now use `SubmittableTransaction`:
  * `Client.autofill`
  * `Client.submit`
  * `Client.submitAndWait`
  * `Client.prepareTransaction`
  * `getSignedTx`
  * `isAccountDelete`
@ckniffen ckniffen force-pushed the feature/transaction-type-refactor branch from fce2ff8 to e45d926 Compare November 1, 2023 20:05
@ckniffen ckniffen merged commit d9cd59a into 3.0 Nov 1, 2023
12 checks passed
@ckniffen ckniffen deleted the feature/transaction-type-refactor branch November 1, 2023 21:07
ckniffen added a commit that referenced this pull request Nov 30, 2023
refactor: type Transaction to include all tx

BREAKING CHANGE: `Transaction` type has been redefined to include all
transactions and `SubmittableTransaction` was created to define the old
value. The following functions which only handle transactions to be
submitted now use `SubmittableTransaction`:
  * `Client.autofill`
  * `Client.submit`
  * `Client.submitAndWait`
  * `Client.prepareTransaction`
  * `getSignedTx`
  * `isAccountDelete`
ckniffen added a commit that referenced this pull request Dec 4, 2023
refactor: type Transaction to include all tx

BREAKING CHANGE: `Transaction` type has been redefined to include all
transactions and `SubmittableTransaction` was created to define the old
value. The following functions which only handle transactions to be
submitted now use `SubmittableTransaction`:
  * `Client.autofill`
  * `Client.submit`
  * `Client.submitAndWait`
  * `Client.prepareTransaction`
  * `getSignedTx`
  * `isAccountDelete`
ckniffen added a commit that referenced this pull request Feb 1, 2024
refactor: type Transaction to include all tx

BREAKING CHANGE: `Transaction` type has been redefined to include all
transactions and `SubmittableTransaction` was created to define the old
value. The following functions which only handle transactions to be
submitted now use `SubmittableTransaction`:
  * `Client.autofill`
  * `Client.submit`
  * `Client.submitAndWait`
  * `Client.prepareTransaction`
  * `getSignedTx`
  * `isAccountDelete`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants