From 4845b9f9098b3799897c4e30d90d4615de6c5547 Mon Sep 17 00:00:00 2001 From: 0xHansLee Date: Wed, 27 Nov 2024 09:42:55 +0900 Subject: [PATCH] chore(evmengine): delete unhandled test case --- .../x/evmengine/keeper/abci_internal_test.go | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/client/x/evmengine/keeper/abci_internal_test.go b/client/x/evmengine/keeper/abci_internal_test.go index 6c507037..50634ade 100644 --- a/client/x/evmengine/keeper/abci_internal_test.go +++ b/client/x/evmengine/keeper/abci_internal_test.go @@ -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{