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

fix(ante): use DynamicFeeChecker for Cosmos txs #1266

Merged
merged 8 commits into from
Jan 31, 2023
Merged

Conversation

fedekunze
Copy link
Contributor

@fedekunze fedekunze commented Jan 22, 2023

@fedekunze fedekunze marked this pull request as ready for review January 22, 2023 09:15
@fedekunze fedekunze requested a review from a team as a code owner January 22, 2023 09:15
@fedekunze fedekunze requested review from Vvaradinov and GAtom22 and removed request for a team January 22, 2023 09:15
@fedekunze fedekunze requested a review from facs95 January 22, 2023 11:40
app/ante/ante.go Show resolved Hide resolved
@fedekunze fedekunze marked this pull request as draft January 23, 2023 10:13
@linear
Copy link

linear bot commented Jan 31, 2023

ENG-1436 Use DynamicFeeChecker for Cosmos txs

Currently we're using the default fee checker on the AnteHandler which prevents the use of EIP-1559 logic on Cosmos Txs.

Scope of work:

  • Use DynamicFeeChecker

GAtom22 and others added 2 commits January 31, 2023 19:35
* chore(tests): fix erc20 tests

* chore(tests): fix recovery keeper tests

* chore(tests): fix revenue keeper tests

* chore(tests): fix claims keeper tests

* chore(tests): fix claims ibc tests

* chore(tests): fix lint issues

* chore(tests): add tx fees check

* chore(tests): small refactor on recovery ibc tests

* chore(tests): use BaseDenom

* chore(tests): fix lint issues
@fedekunze fedekunze marked this pull request as ready for review January 31, 2023 18:38
@fedekunze fedekunze requested a review from 0a1c January 31, 2023 18:38
@fedekunze fedekunze enabled auto-merge (squash) January 31, 2023 18:38
@fedekunze fedekunze merged commit 1d4407b into main Jan 31, 2023
@fedekunze fedekunze deleted the fedekunze/fee-checker branch January 31, 2023 18:47
}
if options.SignModeHandler == nil {
return errorsmod.Wrap(errortypes.ErrLogic, "sign mode handler is required for AnteHandler")
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add TxFeeChecker too, to avoid unexpected behavior.

@@ -0,0 +1,596 @@
package ibctesting
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is IBC testing infrastructure needed for this, exactly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants