Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: generic fallback ante decorator #102

Merged
merged 7 commits into from
Jun 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update fee.go
Co-authored-by: swelf19 <62722506+swelf19@users.noreply.github.com>
Alex Johnson and swelf19 authored Jun 6, 2024
commit 1eca27f964363977e47f3408fd02841d1901c630
2 changes: 1 addition & 1 deletion x/feemarket/ante/fee.go
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ func (d FeeMarketCheckDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate
return d.fallbackDecorator.AnteHandle(ctx, tx, simulate, next)
}

return ctx, nil
return next(ctx, tx, simulate)
}

// anteHandle checks if the tx provides sufficient fee to cover the required fee from the fee market.