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
The transaction fee for scheduled calls are not handled correctly currently.
Should run the call, know how much gas is used, calculate the fee, unreserve previously reserved fee, use module-transaction-payment to charge the fee. May need some new trait to handle the fee.
The reserve logic isn't correct here, should convert gas limit to weight and maybe use some new trait implemented by module-transaction-payment to convert weight to balances.
The text was updated successfully, but these errors were encountered:
The transaction fee for scheduled calls are not handled correctly currently.
Should run the call, know how much gas is used, calculate the fee, unreserve previously reserved fee, use module-transaction-payment to charge the fee. May need some new trait to handle the fee.
Acala/runtime/common/src/precompile/schedule_call.rs
Line 119 in 3c4a640
The reserve logic isn't correct here, should convert gas limit to weight and maybe use some new trait implemented by module-transaction-payment to convert weight to balances.
The text was updated successfully, but these errors were encountered: