-
Notifications
You must be signed in to change notification settings - Fork 2.2k
rlp tool fails to parse long hex string #5543
Comments
Hi,
Also "boost:: filesystem::is_regular_file" throws "filesystem_error". Also this exception "filesystem_error" is dependent on underlying OS API errors, at least "std:: filesystem::is_regular_file" will throw. |
Hi @twinstar26, thank you for your interest, but it's not quite what we need I think. rlp tool can take two kinds of input parameter: it's either a file name, then it reads the file and parses the contents; or it's a hexadecimal string, then it parses it directly. The simple fix here could be to handle an exception thrown from Does this make sense? |
Yeah okay. Guess I got too excited and mis-interpreted the issue. I will fix this soon. |
This is as far as I got on my own. I am stuck at this stage. (I am not that good at boost and this is just my start in opensource.) |
@twinstar26 Please create a pull request |
I think
boost::filesystem::is_regular_file
throws unhandled exception in this case.aleth/rlp/main.cpp
Line 262 in b09e9ad
The text was updated successfully, but these errors were encountered: