Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Aug 21, 2024
1 parent e8080cf commit d369e2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vms/platformvm/block/executor/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ func newEnvironment(t *testing.T, ctrl *gomock.Controller, f upgradetest.Fork) *
res.state,
)
} else {
genesisBlkID := ids.GenerateTestID()
res.mockedState = state.NewMockState(ctrl)
res.uptimes = uptime.NewManager(res.mockedState, res.clk)
res.utxosVerifier = utxo.NewVerifier(res.ctx, res.clk, res.fx)
Expand All @@ -174,7 +173,7 @@ func newEnvironment(t *testing.T, ctrl *gomock.Controller, f upgradetest.Fork) *
)

// setup expectations strictly needed for environment creation
res.mockedState.EXPECT().GetLastAccepted().Return(genesisBlkID).Times(1)
res.mockedState.EXPECT().GetLastAccepted().Return(ids.GenerateTestID()).Times(1)
}

res.backend = &executor.Backend{
Expand Down

0 comments on commit d369e2e

Please sign in to comment.