fix: add bid fee ceil
This commit is contained in:
parent
e7c5ce2e94
commit
04a3b1f94f
@ -182,4 +182,5 @@ type MevParams struct {
|
||||
ValidatorCommission uint64 // 100 means 1%
|
||||
BidSimulationLeftOver time.Duration
|
||||
GasCeil uint64
|
||||
BidFeeCeil uint64
|
||||
}
|
||||
|
@ -17,6 +17,7 @@ type BuilderConfig struct {
|
||||
|
||||
type MevConfig struct {
|
||||
Enabled bool // Whether to enable Mev or not
|
||||
BidFeeCeil uint64 // The maximum builder fee of a bid
|
||||
SentryURL string // The url of Mev sentry
|
||||
Builders []BuilderConfig // The list of builders
|
||||
ValidatorCommission uint64 // 100 means 1%
|
||||
@ -108,5 +109,6 @@ func (miner *Miner) MevParams() *types.MevParams {
|
||||
ValidatorCommission: miner.worker.config.Mev.ValidatorCommission,
|
||||
BidSimulationLeftOver: miner.worker.config.Mev.BidSimulationLeftOver,
|
||||
GasCeil: miner.worker.config.GasCeil,
|
||||
BidFeeCeil: miner.worker.config.Mev.BidFeeCeil,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user