Implement proper deserialization instead of just FromStr for things that should be passable by both blob and CLI input #26
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: public/icepick#26
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we have to .to_string() the decimals count of
sol get-token-info
to get it as a string, which is whattransfer-token
expects. We should have a mechanism that tries to deserialize the given type from the deserializer directly, and if that doesn't work, deserialize using std::str::FromStr.This means that a JSON input passing a number, would use the native deserializer for
u8
. Passing a CLI argument would passu8::from_str()
.