Skip to content

Commit

Permalink
feat: Set gas for transaction on wallet (#312)
Browse files Browse the repository at this point in the history
* set gas for transaction on wallet

* changeset

* Update .changeset/twenty-weeks-eat.md

* Update .changeset/twenty-weeks-eat.md

---------

Co-authored-by: awkweb <[email protected]>
  • Loading branch information
pahhh-blo and tmm authored May 11, 2024
1 parent aad3889 commit 3a54496
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/twenty-weeks-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frog": patch
---

Updated devtools to pass through gas for transactions
1 change: 1 addition & 0 deletions ui/src/components/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ function TransactionDialogContent(props: Omit<TransactionDialogProps, 'open'>) {
sendTransaction({
chainId: transactionChainId,
to: params.to,
gas: params.gas ? BigInt(params.gas) : undefined,
data: params.data,
value: params.value ? BigInt(params.value) : undefined,
})
Expand Down

0 comments on commit 3a54496

Please sign in to comment.