Skip to content

Add dappSuggestedGasFees to transaction#1617

Merged
OGPoyraz merged 5 commits intomainfrom
1074-add-dappsuggestedgasfees-to-transaction-state-in-core-transaction-controller
Aug 25, 2023
Merged

Add dappSuggestedGasFees to transaction#1617
OGPoyraz merged 5 commits intomainfrom
1074-add-dappsuggestedgasfees-to-transaction-state-in-core-transaction-controller

Conversation

@OGPoyraz
Copy link
Copy Markdown
Member

Explanation

This PR aims to add dappSuggestedGasFees if transaction creation origin is not MetaMask.

Changelog

@metamask/transaction-controller

  • ADDED: Add dappSuggestedGasFees to transaction meta

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

@OGPoyraz OGPoyraz requested a review from a team as a code owner August 21, 2023 10:40
@OGPoyraz OGPoyraz force-pushed the 1074-add-dappsuggestedgasfees-to-transaction-state-in-core-transaction-controller branch 2 times, most recently from fc0409f to 65ac7c8 Compare August 24, 2023 11:02
/**
* Maximum fee per gas for this transaction.
*/
maxFeePerGas?: string;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're alphabetical up to here, shall we take the opportunity to order the rest?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Copy Markdown
Member Author

@OGPoyraz OGPoyraz Aug 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk how did I missed it heh

@OGPoyraz OGPoyraz force-pushed the 1074-add-dappsuggestedgasfees-to-transaction-state-in-core-transaction-controller branch from ab9baf4 to e003142 Compare August 25, 2023 08:12
@OGPoyraz OGPoyraz force-pushed the 1074-add-dappsuggestedgasfees-to-transaction-state-in-core-transaction-controller branch from e003142 to 53416b3 Compare August 25, 2023 08:12
@OGPoyraz OGPoyraz merged commit b422db0 into main Aug 25, 2023
@OGPoyraz OGPoyraz deleted the 1074-add-dappsuggestedgasfees-to-transaction-state-in-core-transaction-controller branch August 25, 2023 08:55
@matthewwalsh0 matthewwalsh0 mentioned this pull request Aug 25, 2023
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
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