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

feat: add staking transaction types #4874

Merged
merged 6 commits into from
Oct 31, 2024
Merged

Conversation

matthewwalsh0
Copy link
Member

@matthewwalsh0 matthewwalsh0 commented Oct 30, 2024

Explanation

Add staking transaction types to identify staking transactions generated from the mobile client.

References

Fixes #3559

Changelog

@metamask/transaction-controller

  • ADDED: Add stakingClaim, stakingDeposit, and stakingUnstake transaction types.

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
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@matthewwalsh0
Copy link
Member Author

@metamaskbot publish-preview

Copy link
Contributor

Preview builds have been published. See these instructions for more information about preview builds.

Expand for full list of packages and versions.
{
  "@metamask-previews/accounts-controller": "18.2.2-preview-1152bfb",
  "@metamask-previews/address-book-controller": "6.0.1-preview-1152bfb",
  "@metamask-previews/announcement-controller": "7.0.1-preview-1152bfb",
  "@metamask-previews/approval-controller": "7.1.1-preview-1152bfb",
  "@metamask-previews/assets-controllers": "40.0.0-preview-1152bfb",
  "@metamask-previews/base-controller": "7.0.2-preview-1152bfb",
  "@metamask-previews/build-utils": "3.0.1-preview-1152bfb",
  "@metamask-previews/chain-controller": "0.1.3-preview-1152bfb",
  "@metamask-previews/composable-controller": "9.0.1-preview-1152bfb",
  "@metamask-previews/controller-utils": "11.4.1-preview-1152bfb",
  "@metamask-previews/ens-controller": "15.0.0-preview-1152bfb",
  "@metamask-previews/eth-json-rpc-provider": "4.1.6-preview-1152bfb",
  "@metamask-previews/gas-fee-controller": "22.0.0-preview-1152bfb",
  "@metamask-previews/json-rpc-engine": "10.0.1-preview-1152bfb",
  "@metamask-previews/json-rpc-middleware-stream": "8.0.5-preview-1152bfb",
  "@metamask-previews/keyring-controller": "17.3.0-preview-1152bfb",
  "@metamask-previews/logging-controller": "6.0.1-preview-1152bfb",
  "@metamask-previews/message-manager": "11.0.0-preview-1152bfb",
  "@metamask-previews/multichain": "0.0.0-preview-1152bfb",
  "@metamask-previews/name-controller": "8.0.1-preview-1152bfb",
  "@metamask-previews/network-controller": "22.0.0-preview-1152bfb",
  "@metamask-previews/notification-controller": "7.0.0-preview-1152bfb",
  "@metamask-previews/notification-services-controller": "0.12.0-preview-1152bfb",
  "@metamask-previews/permission-controller": "11.0.3-preview-1152bfb",
  "@metamask-previews/permission-log-controller": "3.0.1-preview-1152bfb",
  "@metamask-previews/phishing-controller": "12.3.0-preview-1152bfb",
  "@metamask-previews/polling-controller": "12.0.0-preview-1152bfb",
  "@metamask-previews/preferences-controller": "13.1.0-preview-1152bfb",
  "@metamask-previews/profile-sync-controller": "0.9.7-preview-1152bfb",
  "@metamask-previews/queued-request-controller": "7.0.0-preview-1152bfb",
  "@metamask-previews/rate-limit-controller": "6.0.1-preview-1152bfb",
  "@metamask-previews/selected-network-controller": "19.0.0-preview-1152bfb",
  "@metamask-previews/signature-controller": "21.0.0-preview-1152bfb",
  "@metamask-previews/transaction-controller": "38.1.0-preview-1152bfb",
  "@metamask-previews/user-operation-controller": "17.0.0-preview-1152bfb"
}

@matthewwalsh0 matthewwalsh0 changed the title feat: add staking transaction type feat: add staking transaction types Oct 30, 2024
@matthewwalsh0
Copy link
Member Author

@metamaskbot publish-preview

Copy link
Contributor

Preview builds have been published. See these instructions for more information about preview builds.

Expand for full list of packages and versions.
{
  "@metamask-previews/accounts-controller": "18.2.2-preview-39249b0",
  "@metamask-previews/address-book-controller": "6.0.1-preview-39249b0",
  "@metamask-previews/announcement-controller": "7.0.1-preview-39249b0",
  "@metamask-previews/approval-controller": "7.1.1-preview-39249b0",
  "@metamask-previews/assets-controllers": "40.0.0-preview-39249b0",
  "@metamask-previews/base-controller": "7.0.2-preview-39249b0",
  "@metamask-previews/build-utils": "3.0.1-preview-39249b0",
  "@metamask-previews/chain-controller": "0.1.3-preview-39249b0",
  "@metamask-previews/composable-controller": "9.0.1-preview-39249b0",
  "@metamask-previews/controller-utils": "11.4.1-preview-39249b0",
  "@metamask-previews/ens-controller": "15.0.0-preview-39249b0",
  "@metamask-previews/eth-json-rpc-provider": "4.1.6-preview-39249b0",
  "@metamask-previews/gas-fee-controller": "22.0.0-preview-39249b0",
  "@metamask-previews/json-rpc-engine": "10.0.1-preview-39249b0",
  "@metamask-previews/json-rpc-middleware-stream": "8.0.5-preview-39249b0",
  "@metamask-previews/keyring-controller": "17.3.0-preview-39249b0",
  "@metamask-previews/logging-controller": "6.0.1-preview-39249b0",
  "@metamask-previews/message-manager": "11.0.0-preview-39249b0",
  "@metamask-previews/multichain": "0.0.0-preview-39249b0",
  "@metamask-previews/name-controller": "8.0.1-preview-39249b0",
  "@metamask-previews/network-controller": "22.0.0-preview-39249b0",
  "@metamask-previews/notification-controller": "7.0.0-preview-39249b0",
  "@metamask-previews/notification-services-controller": "0.12.0-preview-39249b0",
  "@metamask-previews/permission-controller": "11.0.3-preview-39249b0",
  "@metamask-previews/permission-log-controller": "3.0.1-preview-39249b0",
  "@metamask-previews/phishing-controller": "12.3.0-preview-39249b0",
  "@metamask-previews/polling-controller": "12.0.0-preview-39249b0",
  "@metamask-previews/preferences-controller": "13.1.0-preview-39249b0",
  "@metamask-previews/profile-sync-controller": "0.9.7-preview-39249b0",
  "@metamask-previews/queued-request-controller": "7.0.0-preview-39249b0",
  "@metamask-previews/rate-limit-controller": "6.0.1-preview-39249b0",
  "@metamask-previews/selected-network-controller": "19.0.0-preview-39249b0",
  "@metamask-previews/signature-controller": "21.0.0-preview-39249b0",
  "@metamask-previews/transaction-controller": "38.1.0-preview-39249b0",
  "@metamask-previews/user-operation-controller": "17.0.0-preview-39249b0"
}

@matthewwalsh0 matthewwalsh0 merged commit eb2ae98 into main Oct 31, 2024
119 checks passed
@matthewwalsh0 matthewwalsh0 deleted the feat/transaction-type-staking branch October 31, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants