Skip to content

Rename transactionHash property to hash in the persisted transaction metadata#1620

Merged
vinistevam merged 5 commits intomainfrom
refactor/1077-rename-transactionHash-hash
Sep 12, 2023
Merged

Rename transactionHash property to hash in the persisted transaction metadata#1620
vinistevam merged 5 commits intomainfrom
refactor/1077-rename-transactionHash-hash

Conversation

@vinistevam
Copy link
Contributor

@vinistevam vinistevam commented Aug 22, 2023

Explanation

Rename the transactionHash property to hash in the persisted transaction metadata as part of the unification initiative between the core and extension.

The following task will take place to handle the migration and adoption of the patch/release.

References

Fixes https://github.com/MetaMask/MetaMask-planning/issues/1077

Changelog

@metamask/transaction-controller

  • BREAKING: rename the transactionHash property to hash in the persisted TransactionMeta.

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@vinistevam vinistevam force-pushed the refactor/1077-rename-transactionHash-hash branch 3 times, most recently from 202bc9e to 876616b Compare August 22, 2023 10:16
@vinistevam vinistevam marked this pull request as ready for review August 22, 2023 11:50
@vinistevam vinistevam requested a review from a team as a code owner August 22, 2023 11:50
@legobeat legobeat changed the title Rename transactionHash propety to hash in the persisted transaction metadata Rename transactionHash property to hash in the persisted transaction metadata Aug 22, 2023
@vinistevam vinistevam force-pushed the refactor/1077-rename-transactionHash-hash branch from 876616b to 012567b Compare August 24, 2023 09:03
@vinistevam vinistevam force-pushed the refactor/1077-rename-transactionHash-hash branch from 012567b to 9075f5c Compare August 28, 2023 09:30
@legobeat
Copy link
Contributor

Same question as for #1624 (comment)

@vinistevam
Copy link
Contributor Author

Same question as for #1624 (comment)

Thanks again for pointing it out. 🙏
It was mainly motivated to reduce risk as the extension is already using hash and the changes necessary on mobile would be just doing the migration and renaming in a few places on the other hand in the extension it would be a much bigger change.

matthewwalsh0
matthewwalsh0 previously approved these changes Aug 30, 2023
@vinistevam vinistevam force-pushed the refactor/1077-rename-transactionHash-hash branch 3 times, most recently from 22ab62c to 66db778 Compare September 4, 2023 12:52
matthewwalsh0
matthewwalsh0 previously approved these changes Sep 5, 2023
@vinistevam vinistevam force-pushed the refactor/1077-rename-transactionHash-hash branch from 66db778 to 185843f Compare September 5, 2023 09:30
@vinistevam vinistevam merged commit ae43985 into main Sep 12, 2023
@vinistevam vinistevam deleted the refactor/1077-rename-transactionHash-hash branch September 12, 2023 13:36
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
…metadata (#1620)

## Explanation
Rename the `transactionHash` property to `hash` in the persisted
transaction metadata as part of the unification initiative between the
core and extension.

The following task will take place to handle the migration and adoption
of the patch/release.

## References

Fixes MetaMask/MetaMask-planning#1077

## Changelog

### `@metamask/transaction-controller`

- **BREAKING**: rename the `transactionHash` property to `hash` in the
persisted `TransactionMeta`.
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
…metadata (#1620)

## Explanation
Rename the `transactionHash` property to `hash` in the persisted
transaction metadata as part of the unification initiative between the
core and extension.

The following task will take place to handle the migration and adoption
of the patch/release.

## References

Fixes MetaMask/MetaMask-planning#1077

## Changelog

### `@metamask/transaction-controller`

- **BREAKING**: rename the `transactionHash` property to `hash` in the
persisted `TransactionMeta`.
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.

4 participants