init (#6)
This commit is contained in:
parent
c740d4c03a
commit
dee2fc5d96
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -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
|
||||
|
||||
@ -64,10 +64,6 @@ func NewBaseLane(
|
||||
matchHandler: matchHandlerFn,
|
||||
}
|
||||
|
||||
if err := lane.ValidateBasic(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
return lane
|
||||
}
|
||||
|
||||
|
||||
@ -35,6 +35,10 @@ func NewDefaultLane(cfg base.LaneConfig) *DefaultLane {
|
||||
base.DefaultMatchHandler(),
|
||||
)
|
||||
|
||||
if err := lane.ValidateBasic(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
return &DefaultLane{
|
||||
BaseLane: lane,
|
||||
}
|
||||
|
||||
@ -37,6 +37,10 @@ func NewFreeLane(
|
||||
matchFn,
|
||||
)
|
||||
|
||||
if err := lane.ValidateBasic(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
return &FreeLane{
|
||||
BaseLane: lane,
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user