Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/stellar asset bindings #1332

Merged
merged 16 commits into from
May 29, 2024

Conversation

BlaineHeffron
Copy link
Contributor

What

Bindings command can now generate for a StellarAsset type contract. Fixes #1312
Logic for checking if its a StellarAsset was extracted from invoke.rs to get_spec.rs used by both invoke and bindings.

Why

Bindings were failing when trying to retrieve the wasm for a StellarAsset type from the contract Id.

Known limitations

none

Copy link
Member

@willemneal willemneal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few nits. Also looks like you have to run cargo fmt. Good first real Rust PR! 🎉

@willemneal
Copy link
Member

@elizabethengelman Any ideas on the failing emulator tests?

Copy link
Member

@willemneal willemneal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just two small nits, but otherwise this looks great!

@elizabethengelman
Copy link
Contributor

Any ideas on the failing emulator tests?

It looks like the emulator tests are passing now, but definitely something we should keep an eye on in case they are flakey.

@elizabethengelman elizabethengelman self-requested a review May 29, 2024 14:09
@willemneal willemneal enabled auto-merge (squash) May 29, 2024 16:29
@willemneal willemneal merged commit 8c17d74 into stellar:main May 29, 2024
19 checks passed
@BlaineHeffron BlaineHeffron deleted the FIX/StellarAssetBindings branch May 29, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Cannot generate ts-bindings for testnet USDC contract
4 participants