Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Using evm tx to transfer token to the module account causes the module account balance to be tainted #753

Closed
summerpro opened this issue Jan 28, 2021 · 1 comment
Labels
stale stale PRs that will be closed if no further action occurs

Comments

@summerpro
Copy link
Contributor

summerpro commented Jan 28, 2021

  • "Module account" is the system account used by each module to manage module funds. The transfer of tokens by ordinary users to the blacklisted "module account" is beyond expectations and should be prohibited
  • When evm tx transfers the token, no "module account" verification is performed on the "to address"

solution:

Verify address when update StateObject, address should not be "module account".

@github-actions
Copy link

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale stale PRs that will be closed if no further action occurs label Mar 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale stale PRs that will be closed if no further action occurs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant