-
Notifications
You must be signed in to change notification settings - Fork 463
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
[venus-messager] vsm发过来的GasFeeCap被venus-messager重新预估 #5546
Closed
1 of 11 tasks
Labels
C-bug
Category: This is a bug
C-duplicate
Category: duplicate issue
CU-force-community
Category: from force community
Comments
我的理解是这种情况只出现在ReplaceMessage的情况,并且maxFee调整到100000000000000000000000也没有按vsm传过来的计算,是按100000000000000000000000计算的,只是结果跟正常情况下的计算的结果差不多而已 |
费用上限太低,会自动减少feecap, |
用vsm传过来的值判断要替换的MaxFee是否合理,目前逻辑是有问题的 |
默认使用global最大费用我觉得没问题。 这种情况
|
如果仅考虑cluster应用场景, 是应当把maxfee提升到一个比较大的值。 |
feecap/maxfee 设置是一个单价和总价的关系。
|
这个issue的结论:设计如此,优化新开issue |
This was referenced Dec 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug
C-duplicate
Category: duplicate issue
CU-force-community
Category: from force community
链服务模块 / Chain Service Components
订单服务模块 / Deal Service Components
算力服务模块 / Storage Power Service Components
版本 / Version
描述 / Describe the Bug
默认的maxFee为7000000000000000,会导致vsm过来的消息GasFeeCap不生效
venus-messager share-params get
{
"id": 1,
"gasOverEstimation": 1.25,
"maxFee": "7000000000000000",
"gasFeeCap": "0",
"gasOverPremium": 0,
"baseFee": "0",
"selMsgNum": 20
}
当把maxFee调整到100000000000000000000000,传到venus-messager的GasFeeCap就生效
venus-messager share-params set --max-fee 100000000000000000000000
日志 / Logging Information
重现步骤 / Repo Steps
No response
The text was updated successfully, but these errors were encountered: