conflux-rust
conflux-rust copied to clipboard
Design a new error code and message system
Currently there is not a error code table for cfx_estimateGasAndCollateral , cfx_call, cfx_sendRawTransaction. When developers meet error returned from these methods, it's very hard to know the reason.
Strongly suggest provide an error code and message table for these three methods.
Relevant:
- https://github.com/ethereum/EIPs/issues/136
- https://eips.ethereum.org/EIPS/eip-1474