Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDK] Fix: allow 0 values for gasPrice (#5841)
## Problem solved Allow `0` value for gasPrice, important for gasless chains Fixes TOOL-2865 <!-- start pr-codex --> --- ## PR-Codex overview This PR modifies the conditional check for `gasPrice` in the `fee-data.ts` file to ensure it specifically checks if `gasPrice` is of type `bigint` instead of just checking its truthiness. ### Detailed summary - Changed the condition from `if (gasPrice)` to `if (typeof gasPrice === "bigint")` in the `fee-data.ts` file. - This ensures that only values of type `bigint` are considered valid for `gasPrice`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information