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

Lotus using extra 25% gas cap even no network congestion #5123

Closed
flyworker opened this issue Dec 4, 2020 · 1 comment
Closed

Lotus using extra 25% gas cap even no network congestion #5123

flyworker opened this issue Dec 4, 2020 · 1 comment

Comments

@flyworker
Copy link

Describe the bug
While my lotus send a message with a much higher gas cap than current basefee? 4.854533891 height 293155 nanoFIL vs 2.025 at height 293165
message id
https://filfox.info/en/message/bafy2bzacebbqljqhfmm2zxx4z2ntyifm32rujylvpco3jdy5ij4hygukzhyp4
Gas Fee Cap tip:
4.854533891 nanoFIL

Gas Premium tip :
100,315 attoFIL

Gas Limit tip:
10,299,650

Base fee history
https://filfox.info/api/v1/stats/base-fee?duration=24h&samples=48
{
“height”: 293124,
“timestamp”: 1607100120,
“baseFee”: “2025893537"
},
{
“height”: 293184,
“timestamp”: 1607101920,
“baseFee”: “2041509849"
},

If this is the default behavior of lotus sending message mechanism, it might cause everyone increase gas fee unconsciously.

To Reproduce

Steps to reproduce the behavior:

  1. open https://filfox.info/en/message/bafy2bzacebbqljqhfmm2zxx4z2ntyifm32rujylvpco3jdy5ij4hygukzhyp4
  2. open https://filfox.info/api/v1/stats/base-fee?duration=24h&samples=48

Expected behavior
Gas cap should be equivalent or slightly higher than base fee.

Screenshots
If applicable, add screenshots to help explain your problem.

Version (run lotus version):
lotus version
Daemon: 1.2.1+git.df66f48f6+api1.0.0

Additional context
Add any other context about the problem here.

@jennijuju
Copy link
Member

as kubus mentioned, 25% is for gas limit overestimation not for gas fee cap. And gas estimation improvements are discussed in filecoin-project/specs-actors#1319

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

No branches or pull requests

2 participants