You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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.
Instead of making it free, we should do make the caller pay to the Runtime account, and that gets used for the transactions.
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: