current the relayer's fee is fixed in the contract LnBridgeSource, and when the cost of the relay tx on target chain updated, the relayer need to send a tx to source chain to update the fee charge from users.
This may cause many update txs when the gasPrice change frequently on the target chain.
Solution:
Relayer sign the bridge fee for user to send cross-chain tx. This fee has an expire time to protect relayer.
current the relayer's fee is fixed in the contract LnBridgeSource, and when the cost of the relay tx on target chain updated, the relayer need to send a tx to source chain to update the fee charge from users. This may cause many update txs when the gasPrice change frequently on the target chain. Solution: Relayer sign the bridge fee for user to send cross-chain tx. This fee has an expire time to protect relayer.