Skip to content

Conversation

@nikhilkumar1612
Copy link
Contributor

Description

Types of changes

What types of changes does your code introduce?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Further comments (optional)

@ch4r10t33r
Copy link
Member

Thanks for submitting the PR. Pls can you let us know how you tested this?

@nikhilkumar1612
Copy link
Contributor Author

Thanks for submitting the PR. Pls can you let us know how you tested this?

Hey i have tested my changes individully, but e2e testing is not done. Please provide me api details and sample env.

if(log) log.info('setting maxFeePerGas and maxPriorityFeePerGas as received')
const maxFeePerGas = ethers.utils.parseUnits(response.result.suggestBaseFee, 'gwei')
const fastGasPrice = ethers.utils.parseUnits(response.result.FastGasPrice, 'gwei')
const maxFeePerGas = parseUnits(response.result.suggestBaseFee, 9);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikhilkumar1612 create a constant value for gwei and use it allover where parseUnits of viem is called for GWEI conversion

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikhilkumar1612 create a constant value for gwei and use it allover where parseUnits of viem is called for GWEI conversion

sure 👍 @kanthgithub

@kanthgithub
Copy link
Contributor

@nikhilkumar1612 please use the latest version of viem. seems the sendTransaction signature changed in latest version
2.17.0 is latest release

@nikhilkumar1612
Copy link
Contributor Author

@nikhilkumar1612 please use the latest version of viem. seems the sendTransaction signature changed in latest version 2.17.0 is latest release

hey @kanthgithub i can see 2.17.10 is the latest version, please let me know if i have to use 2.17.0 or 2.17.10 ?

@nikhilkumar1612
Copy link
Contributor Author

hey @kanthgithub are there any further changes that i have to make ?

also please provide a confirm on the version of viem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants