Skip to content

Ics20Withdrawal should reduce balance of bridge account when signed by withdrawer_address #1308

@joroshiba

Description

@joroshiba

bug found by auditors:

According to your bridge docs, withdrawer address have permission to withdraw on behalf of bridge address. It seems the Ics20Withdrawal action check if transaction sender is withdrawer address in check_stateful. But in execute, it decreases balance of sender from, which is not bridge address. This mean Ics20Withdrawal will try to decrease balance of withdrawer address

┆Issue Number: ENG-657

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions