Skip to content

Commit

Permalink
Estimate gas fees for user operations (#3681)
Browse files Browse the repository at this point in the history
Modularise all gas and gas fee logic into utils.
Poll on new blocks rather than after a static interval.
  • Loading branch information
matthewwalsh0 authored Jan 9, 2024
1 parent a0a381c commit 845fcf9
Show file tree
Hide file tree
Showing 15 changed files with 1,010 additions and 407 deletions.
3 changes: 3 additions & 0 deletions packages/user-operation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@metamask/base-controller": "^4.0.1",
"@metamask/controller-utils": "^8.0.1",
"@metamask/eth-query": "^4.0.0",
"@metamask/gas-fee-controller": "^12.0.0",
"@metamask/network-controller": "^17.1.0",
"@metamask/polling-controller": "^4.0.0",
"@metamask/transaction-controller": "^19.0.1",
Expand All @@ -58,7 +59,9 @@
},
"peerDependencies": {
"@metamask/approval-controller": "^5.1.1",
"@metamask/gas-fee-controller": "^12.0.0",
"@metamask/network-controller": "^17.1.0",
"@metamask/polling-controller": "^4.0.0",
"@metamask/transaction-controller": "^19.0.1"
},
"engines": {
Expand Down
Loading

0 comments on commit 845fcf9

Please sign in to comment.