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

[SPEC] resolve pallet-services and EVM fees #638

Closed
Tracked by #632
shekohex opened this issue May 7, 2024 · 0 comments
Closed
Tracked by #632

[SPEC] resolve pallet-services and EVM fees #638

shekohex opened this issue May 7, 2024 · 0 comments

Comments

@shekohex
Copy link
Contributor

shekohex commented May 7, 2024

Overview

We did find a way to call into EVM from pallets by using EVM pallet with a trait. However, to call in EVM there are checks for gas/fees and balances, currently we have a Runtime EVM Account Address (address(0xf1)). but to call the hooks and verifications, this account needs some balance to execute transactions, the question is who pays for this and is there a way around it?

  1. There is a pallet_evm::OnChargeEVMTransaction which allows us to control who pays what. We can filter for the runtime account and make it free? Of course not.
  2. Instead of making it free, we should do make the caller pay to the Runtime account, and that gets used for the transactions.
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

1 participant