pendulum-chain / substrate-stellar-sdk

A Rust SDK for Stellar that can be used for Substrate projects
Apache License 2.0
11 stars 11 forks source link

Bump to latest version of stellar types #9

Closed ebma closed 2 years ago

ebma commented 2 years ago

Follows the steps in #7 to create the latest version of stellar types.

Since the Transaction does not have a timebounds field anymore but now uses so-called Preconditions, I had to change the signature of Transaction::new(). I'm not sure if this has implications for the code we use elsewhere. Alternatively we can of course keep the timebounds field and wrap it with Preconditions here in this SDK but I don't think this would be the right approach.

Closes #7.

TorstenStueber commented 2 years ago

@ebma The change from timebounds to preconditions is a breaking change and we have to check whether this is used somewhere in our code. I doubt it, though.