Skip to content

Commit

Permalink
fix: include account in call to estimateGas (coinbase#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xRAG authored Feb 4, 2025
1 parent 8fe99da commit 0dc1498
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions typescript/agentkit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
- Added `token_prices_by_symbol` action to fetch token prices by symbol.
- Added `token_prices_by_address` action to fetch token prices by network and address pairs.

### Fixed

- Added account argument in call to estimateGas in CdpWalletProvider

## [0.1.1] - 2025-02-02

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ export class CdpWalletProvider extends EvmWalletProvider {
const feeData = await this.#publicClient!.estimateFeesPerGas();

const gas = await this.#publicClient!.estimateGas({
account: this.#publicClient.account,
to,
value,
data,
Expand Down

0 comments on commit 0dc1498

Please sign in to comment.