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

Separate ante handlers for Cosmos and EVM fees #29

Open
zale144 opened this issue Jun 6, 2024 · 0 comments · May be fixed by #30
Open

Separate ante handlers for Cosmos and EVM fees #29

zale144 opened this issue Jun 6, 2024 · 0 comments · May be fixed by #30
Assignees

Comments

@zale144
Copy link

zale144 commented Jun 6, 2024

Currently the Feemarket parameters are applied to the cosmos based transactions through the MinGasPriceDecorator here

cosmosante.NewMinGasPriceDecorator(options.FeeMarketKeeper, options.EvmKeeper),
and here
cosmosante.NewMinGasPriceDecorator(options.FeeMarketKeeper, options.EvmKeeper),
.

But also through the DeductFeeDecorator, by using the DynamicFeeChecker here

TxFeeChecker: ethante.NewDynamicFeeChecker(app.EvmKeeper),
.

The result is that the EVM-based gas fees are applied in the Cosmos transactions, where now we would like them to be segregated. So, have the EVM transactions be calculated based on the Feemarket parameters, and the Cosmos/validator gas fees based on the app settings found in `.../config/app.toml.

@zale144 zale144 self-assigned this Jun 6, 2024
@zale144 zale144 linked a pull request Jun 6, 2024 that will close this issue
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 a pull request may close this issue.

1 participant