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

EVM rpc method estimateFee should include storage fee #3398

Open
marc-aurele-besner opened this issue Feb 20, 2025 · 1 comment
Open

EVM rpc method estimateFee should include storage fee #3398

marc-aurele-besner opened this issue Feb 20, 2025 · 1 comment

Comments

@marc-aurele-besner
Copy link
Member

EVM rpc method estimateFee should include storage fee

Currently, the estimateFee method on EVM domain only takes into account the gas limit * gas price of EVM, in our case we also have the storage fee at the substrate level that gets charged as a fee, relative to the transaction call data size.

This can easily create issues for any transaction and wallet extension that relies on estimateFee and especially for transactions including sizable call data.

We should include the storage fee estimation in the estimateFee calculation.

@vedhavyas
Copy link
Member

cc: @NingLin-P

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

No branches or pull requests

2 participants