Closed YaroShkvorets closed 8 months ago
No response
In some cases we can't just panic when parsing invalid types on chain, due to nodeos bugs. For example this trx: https://eos.eosq.eosnation.io/tx/ab8690feb4486a030cc16cec6e815108325b292d460b47b8c88b4a75c1959bad
Need a way to parse it into Result.
Result
In addition to Asset::from() -> Self add Asset::from_str() -> Result<Self, Err>
Asset::from() -> Self
Asset::from_str() -> Result<Self, Err>
N/A
Start Date
No response
Implementation PR
No response
Reference Issues
No response
Summary
In some cases we can't just panic when parsing invalid types on chain, due to nodeos bugs. For example this trx: https://eos.eosq.eosnation.io/tx/ab8690feb4486a030cc16cec6e815108325b292d460b47b8c88b4a75c1959bad
Need a way to parse it into
Result
.Basic Example
In addition to
Asset::from() -> Self
addAsset::from_str() -> Result<Self, Err>
Drawbacks
N/A
Unresolved questions
No response