This commit is contained in:
David Terpay 2023-08-21 12:47:19 -04:00 committed by GitHub
parent c740d4c03a
commit dee2fc5d96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 4 deletions

View File

@ -35,6 +35,7 @@ jobs:
run: |
make test
# TODO: Add this back once we have a working version of v0.50.0 with ITS and v0.47.x
# test-integration:
# runs-on: ubuntu-latest
# timeout-minutes: 25

View File

@ -64,10 +64,6 @@ func NewBaseLane(
matchHandler: matchHandlerFn,
}
if err := lane.ValidateBasic(); err != nil {
panic(err)
}
return lane
}

View File

@ -35,6 +35,10 @@ func NewDefaultLane(cfg base.LaneConfig) *DefaultLane {
base.DefaultMatchHandler(),
)
if err := lane.ValidateBasic(); err != nil {
panic(err)
}
return &DefaultLane{
BaseLane: lane,
}

View File

@ -37,6 +37,10 @@ func NewFreeLane(
matchFn,
)
if err := lane.ValidateBasic(); err != nil {
panic(err)
}
return &FreeLane{
BaseLane: lane,
}

View File

@ -68,5 +68,9 @@ func NewMEVLane(
// Set the check order handler to the TOB one
lane.SetCheckOrderHandler(lane.CheckOrderHandler())
if err := lane.ValidateBasic(); err != nil {
panic(err)
}
return lane
}