-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
reject bank/MsgSend with fees > send value #3689
Comments
What is your proposal here @rigelrozanski? To limit the fee based on some threshold relative the the sending amount? Wouldn't this ultimately depend on the tx type? |
I don't think there is an appropriate generic way to perform this check - ultimately every message type would need to have it's own ruleset as to what is appropriate - |
The problem of inadvertently sending too much fees is not specific to the |
Indeed, both proposals are great and I think we should certainly perform #3653 |
no question that #3653 is a good idea. It helps this issue for anyone making a transaction with the CLI - however I nonetheless think that we ought to require this check at the state machine level - I think that many ETH wallets I've seen have warnings to prevent this "transaction-nightmare" but it nonetheless still happened - There is no reason this should be permitted to occur on anyone's custom tooling as well as the CLI |
agree here with only covering standard transfers. I think both proposals are great 👍 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
closing this in favour of bankv2 epic. #17579 |
https://etherscan.io/tx/0x1f73b43dc9c48cc131a931fac7095de9e5eba0c5184ec0c5c5f1f32efa2a6bab
seems like a this kind of safeguard could reduce a lot of anxiety... something we should all probably be aiming to accomplish.
CC @sunnya97
The text was updated successfully, but these errors were encountered: