Skip to content

Commit

Permalink
resolve conflicts after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
zsystm committed Oct 1, 2024
1 parent 3d9f342 commit 7259670
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/x/evmengine/keeper/abci_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,17 +452,17 @@ func TestKeeper_PostFinalize(t *testing.T) {
}

var err error
tt.mockEngine.EngineClient, err = ethclient.NewEngineMock()
require.NoError(t, err)

cmtAPI := newMockCometAPI(t, nil)
// set the header and proposer so we have the correct next proposer
header := cmtproto.Header{Height: 1, AppHash: tutil.RandomHash().Bytes()}
header.ProposerAddress = cmtAPI.validatorSet.Validators[0].Address
nxtAddr, err := k1util.PubKeyToAddress(cmtAPI.validatorSet.Validators[1].PubKey)
require.NoError(t, err)
ctx, storeService := setupCtxStore(t, &header)
ctx, storeKey, storeService := setupCtxStore(t, &header)
ctx = ctx.WithExecMode(sdk.ExecModeFinalize)
tt.mockEngine.EngineClient, err = ethclient.NewEngineMock(storeKey)
require.NoError(t, err)

k, err := NewKeeper(cdc, storeService, &tt.mockEngine, &tt.mockClient, txConfig, ak, esk, uk)
require.NoError(t, err)
Expand Down

0 comments on commit 7259670

Please sign in to comment.