From 3a54496b4530073feff04216f8d3c4ec6f3526aa Mon Sep 17 00:00:00 2001 From: boby Date: Sat, 11 May 2024 17:25:03 -0400 Subject: [PATCH] feat: Set gas for transaction on wallet (#312) * set gas for transaction on wallet * changeset * Update .changeset/twenty-weeks-eat.md * Update .changeset/twenty-weeks-eat.md --------- Co-authored-by: awkweb --- .changeset/twenty-weeks-eat.md | 5 +++++ ui/src/components/Preview.tsx | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/twenty-weeks-eat.md diff --git a/.changeset/twenty-weeks-eat.md b/.changeset/twenty-weeks-eat.md new file mode 100644 index 00000000..21baf61c --- /dev/null +++ b/.changeset/twenty-weeks-eat.md @@ -0,0 +1,5 @@ +--- +"frog": patch +--- + +Updated devtools to pass through gas for transactions diff --git a/ui/src/components/Preview.tsx b/ui/src/components/Preview.tsx index d9ccad49..5f78eb38 100644 --- a/ui/src/components/Preview.tsx +++ b/ui/src/components/Preview.tsx @@ -564,6 +564,7 @@ function TransactionDialogContent(props: Omit) { sendTransaction({ chainId: transactionChainId, to: params.to, + gas: params.gas ? BigInt(params.gas) : undefined, data: params.data, value: params.value ? BigInt(params.value) : undefined, })