Skip to content

Commit

Permalink
feat: export GasCeil in mev_params (#2323)
Browse files Browse the repository at this point in the history
  • Loading branch information
irrun authored Mar 22, 2024
1 parent 76fb295 commit e0b98ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/types/bid.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,5 @@ type BidIssue struct {
type MevParams struct {
ValidatorCommission uint64 // 100 means 1%
BidSimulationLeftOver time.Duration
GasCeil uint64
}
1 change: 1 addition & 0 deletions miner/miner_mev.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,6 @@ func (miner *Miner) MevParams() *types.MevParams {
return &types.MevParams{
ValidatorCommission: miner.worker.config.Mev.ValidatorCommission,
BidSimulationLeftOver: miner.worker.config.Mev.BidSimulationLeftOver,
GasCeil: miner.worker.config.GasCeil,
}
}

0 comments on commit e0b98ef

Please sign in to comment.