aurora-rs / stellar-base-rs

Low level Stellar types for Rust.
https://docs.rs/stellar-base
Apache License 2.0
8 stars 6 forks source link

feat: add discrimination and error support for XDR TX results #2

Closed salessandri closed 3 years ago

salessandri commented 3 years ago

The parsing of transaction result's XDR was not working due to missing discrimination values in InnerTransactionResults. Error conditions were not supported when parsing the XDR of transaction results. This was fixed by adding a variant for each error code and matching it using a discriminator

Signed-off-by: Santiago Alessandri santiago@salessandri.name

salessandri commented 3 years ago

It seems the Coverage check is failing with Please provide an upload token from codecov.io with valid arguments

fracek commented 3 years ago

This looks great thank you. I will update the codecov action to (hopefully) fix the problem.