Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Add warning message for sendTx Data view #29

Open
chikeichan opened this issue Oct 3, 2018 · 0 comments
Open

Add warning message for sendTx Data view #29

chikeichan opened this issue Oct 3, 2018 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@chikeichan
Copy link
Contributor

Data come from call_info:message

There is CRITICAL, WARNING and INFO.

CRITICAL: show warning and don't allow user to advance. An example message is "message":"Tx destination is the zero address!","type":"CRITICAL" when to address is all zeros

INFO give you a human-readable string of the ABI call.

WARNING give you an error message, that we should surface to the user. The longest error message will likely be "Tx contains data, but provided ABI signature could not be matched: WARNING: Supplied data is stuffed with extra data. \nWant 0100000000000000000000000000000000000000000000000000000000000012\nHave 0000000000000000000000000000000000000000000000000000000000000012\nfor method safeSend(address)"

@chikeichan chikeichan added this to the DC4 milestone Oct 3, 2018
@chikeichan chikeichan added the enhancement New feature or request label Oct 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant