Skip to content

Commit

Permalink
chore(evmengine): delete unhandled test case
Browse files Browse the repository at this point in the history
  • Loading branch information
0xHansLee committed Nov 28, 2024
1 parent 75212f8 commit 4845b9f
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions client/x/evmengine/keeper/abci_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,33 +407,6 @@ func TestKeeper_PostFinalize(t *testing.T) {
},
postStateCheck: payloadFailedToSet,
},
/*
{
name: "fail: unknown status from EL",
mockEngine: mockEngineAPI{
forkchoiceUpdatedV3Func: func(ctx context.Context, update eengine.ForkchoiceStateV1,
payloadAttributes *eengine.PayloadAttributes) (eengine.ForkChoiceResponse, error) {
return eengine.ForkChoiceResponse{
PayloadStatus: eengine.PayloadStatusV1{
Status: "unknown status",
LatestValidHash: nil,
ValidationError: nil,
},
PayloadID: &payloadID,
}, nil
},
},
mockClient: mock.MockClient{},
wantErr: false,
enableOptimistic: true,
setupMocks: func(esk *moduletestutil.MockEvmStakingKeeper) {
esk.EXPECT().MaxWithdrawalPerBlock(gomock.Any()).Return(uint32(0), nil)
esk.EXPECT().PeekEligibleWithdrawals(gomock.Any(), gomock.Any()).Return(nil, nil)
esk.EXPECT().PeekEligibleRewardWithdrawals(gomock.Any(), gomock.Any()).Return(nil, nil)
},
postStateCheck: payloadFailedToSet,
},
*/
{
name: "pass",
mockEngine: mockEngineAPI{
Expand Down

0 comments on commit 4845b9f

Please sign in to comment.