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

relayer sign the fee for some special bridge(to ethereum) #58

Open
xiaoch05 opened this issue Mar 5, 2024 · 0 comments · May be fixed by #72
Open

relayer sign the fee for some special bridge(to ethereum) #58

xiaoch05 opened this issue Mar 5, 2024 · 0 comments · May be fixed by #72

Comments

@xiaoch05
Copy link
Contributor

xiaoch05 commented Mar 5, 2024

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.

@xiaoch05 xiaoch05 linked a pull request Apr 17, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant