Skip to content

Commit b9aca0f

Browse files
committed
fix build
1 parent 262a554 commit b9aca0f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/ante/fee_checker_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func TestSDKTxFeeChecker(t *testing.T) {
213213
evmParams := tc.keeper.GetParams(tc.ctx)
214214
feemarketParams := feemarkettypes.Params{
215215
NoBaseFee: false,
216-
BaseFee: sdk.NewIntFromBigInt(tc.keeper.BaseFee),
216+
BaseFee: sdkmath.NewIntFromBigInt(tc.keeper.BaseFee),
217217
}
218218
chainID := tc.keeper.ChainID()
219219
chainCfg := evmParams.GetChainConfig()

app/ante/setup.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ func ValidateEthBasic(ctx sdk.Context, tx sdk.Tx, evmParams *evmtypes.Params, ba
5252

5353
msgs := tx.GetMsgs()
5454
if msgs == nil {
55-
return ctx, errorsmod.Wrap(errortypes.ErrUnknownRequest, "invalid transaction. Transaction without messages")
55+
return errorsmod.Wrap(errortypes.ErrUnknownRequest, "invalid transaction. Transaction without messages")
5656
}
5757

5858
if t, ok := tx.(sdk.HasValidateBasic); ok {
5959
err := t.ValidateBasic()
6060
// ErrNoSignatures is fine with eth tx
6161
if err != nil && !errors.Is(err, errortypes.ErrNoSignatures) {
62-
return ctx, errorsmod.Wrap(err, "tx basic validation failed")
62+
return errorsmod.Wrap(err, "tx basic validation failed")
6363
}
6464
}
6565

0 commit comments

Comments
 (0)