Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Insufficient Fee Error on fuels 0.82.0 #2270

Closed
Torres-ssf opened this issue May 8, 2024 · 1 comment
Closed

Insufficient Fee Error on fuels 0.82.0 #2270

Torres-ssf opened this issue May 8, 2024 · 1 comment
Assignees
Labels
bug Issue is a bug

Comments

@Torres-ssf
Copy link
Contributor

Torres-ssf commented May 8, 2024

A bug related to insufficient fee has been identified in the latest Beta-5 compatible release: 0.82.0.

We need to investigate further and fix this.

Perhaps a solution could be the same approach that was implemented during #2021.

The solution changes the value that is set to the gasLimit property before executing the dry-run to get the gasUsed value:

txRequest.gasLimit = maxGas

to

txRequest.gasLimit = maxGasPerTx.sub(maxGas)
@Torres-ssf Torres-ssf added the bug Issue is a bug label May 8, 2024
@Torres-ssf Torres-ssf self-assigned this May 8, 2024
@Torres-ssf
Copy link
Contributor Author

Closing this as I could not reproduce this error while executing contract calls on beta-5.

Also, the implementation suggested here is already being used on beta-5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is a bug
Projects
None yet
Development

No branches or pull requests

1 participant