Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Legacy gas fee estimation #4249

Closed
dxxzero opened this issue Aug 17, 2021 · 4 comments
Closed

Legacy gas fee estimation #4249

dxxzero opened this issue Aug 17, 2021 · 4 comments
Assignees
Labels
1.x 1.0 related issues

Comments

@dxxzero
Copy link

dxxzero commented Aug 17, 2021

I am currently testing a created web app which uses web3.js. When I am trying to send a transaction, I receive following warning message:
image

Before continuation, I need to manually change the gas fee. Is there a way to use another gas calculation, so that the webapp correctly calculates the fee?

Currently it calculates it way too low.

image

@luu-alex
Copy link
Contributor

Which web application are you using?

@dxxzero
Copy link
Author

dxxzero commented Aug 17, 2021

It's just a plain HTML page which includes the .js file and calls a contract function:

await window.contract.methods.testFunction().send({ from: account, value: web3.utils.toWei('0.03', "ether") });

The .js file is included like this:

 <script src='./web3.min.js'></script>

@luu-alex luu-alex added the 1.x 1.0 related issues label Aug 19, 2021
@jdevcs jdevcs self-assigned this Aug 23, 2021
@jdevcs
Copy link
Contributor

jdevcs commented Aug 24, 2021

@0X00XX Please could you share following info:

Steps to reproduce the behavior

  1. [First step]
  2. [Second step]
  3. [and so on...]

Environment

Versions used of: (applicable) Web3.js, npm, Node, OS, device , browser, wallet ..... etc

@jdevcs
Copy link
Contributor

jdevcs commented Sep 6, 2021

No 'Steps to reproduce' provided so closing, until.

@jdevcs jdevcs closed this as completed Sep 6, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
1.x 1.0 related issues
Projects
None yet
Development

No branches or pull requests

3 participants