Open hackfisher opened 2 years ago
the most call's weight
can be calculated for users:
(bytes memory call, uint64 weight) = DarwiniaCalls.system_remarkWithEvent(hex"12345678");
but for message_transact
call, we should limit the gas because the weight
is from the gas limit inputted by the user. use MAX_GAS_PER_MESSAGE?
https://github.com/darwinia-network/darwinia-messages-sol/issues/171
In send message or in fee market,
The max usable balance from relayer for evm message should not be large before this fixed.