-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
commit batch: AggregateAboveBaseFee config #6650
Conversation
@@ -144,6 +144,10 @@ type SealingConfig struct { | |||
// time buffer for forceful batch submission before sectors/deals in batch would start expiring | |||
CommitBatchSlack Duration | |||
|
|||
// network BaseFee below which to stop doing commit aggregation, instead | |||
// submitting proofs to the chain individually | |||
AggregateAboveBaseFee types.FIL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add the default unit please? attofil?nanofil?.. including a table in the pr description on how to set the value in each unit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's basefee in FIL (this is what's types.FIL is)
lets update https://docs.filecoin.io/mine/lotus/miner-configuration/#sealing-section please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, ship
flush(getSectors(2), true, false), | ||
}, | ||
}, | ||
"addAte-aboveBalancer": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ate?
}, | ||
}, | ||
"addAte": { | ||
"addAte-belowBalancer": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ate.
I updated to latest Master - is there a setting in config.toml to adjust the network basefee parameter from 0.15 nFIL? |
Yes, this adds |
Closes #6645
This PR adds
AggregateAboveBaseFee
to the Sealing config. The value is used to decide whether or not to do aggregation based on the current network basefee. Defaults to 0.15nFIL based on estimates from https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0013.md#batch-incentive-alignment(also adds a regression test to #6647)