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

Validate txs moving 0 value to the Bridge pool #1892

Merged
merged 3 commits into from
Sep 25, 2023

Conversation

sug0
Copy link
Contributor

@sug0 sug0 commented Sep 13, 2023

Describe your changes

This patch makes the ledger validate Bridge pool transfers that move no value (either gas fees, or token amounts). This is not necessarily an incorrect behavior per se, albeit an unlikely one, with honest actors in the system. Might be useful to some people, though.

Indicate on which release or other PRs this topic is based on

v0.22.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@sug0 sug0 added bug Something isn't working ledger ethereum-bridge labels Sep 13, 2023
sug0 added a commit that referenced this pull request Sep 13, 2023
@sug0 sug0 added enhancement New feature or request and removed bug Something isn't working labels Sep 13, 2023
sug0 added a commit that referenced this pull request Sep 14, 2023
@sug0 sug0 force-pushed the tiago/bridge-pool-zero-fees branch from 196d10c to b65e437 Compare September 14, 2023 12:18
@sug0 sug0 force-pushed the tiago/bridge-pool-zero-fees branch from b65e437 to a524dfa Compare September 14, 2023 12:29
@sug0 sug0 mentioned this pull request Sep 15, 2023
sug0 added a commit that referenced this pull request Sep 21, 2023
@sug0 sug0 mentioned this pull request Sep 21, 2023
Fraccaman added a commit that referenced this pull request Sep 25, 2023
* origin/tiago/bridge-pool-zero-fees:
  Changelog for #1892
  Refactor validate_changed_keys in the Bridge pool VP
  Validate txs moving 0 value to the Bridge pool
@brentstone brentstone merged commit fc189a1 into main Sep 25, 2023
12 checks passed
@brentstone brentstone deleted the tiago/bridge-pool-zero-fees branch September 25, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants