Skip to content

Commit

Permalink
fix estimateContractGas' error docsPath
Browse files Browse the repository at this point in the history
  • Loading branch information
norswap committed Aug 6, 2023
1 parent 4bf8c41 commit 39e73b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mighty-ants-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

fix estimateContractGas' error docsPath
2 changes: 1 addition & 1 deletion src/actions/public/estimateContractGas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export async function estimateContractGas<
abi: abi as Abi,
address,
args,
docsPath: '/docs/contract/simulateContract',
docsPath: '/docs/contract/estimateContractGas',
functionName,
sender: account?.address,
})
Expand Down

0 comments on commit 39e73b1

Please sign in to comment.