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 willemneal force-pushed the FIX/StellarAssetBindings branch from 6d5a5a7 to 7051f3b Compare May 22, 2024 15:14
@BlaineHeffron BlaineHeffron force-pushed the FIX/StellarAssetBindings branch from 6b8356f to 859ef53 Compare May 28, 2024 15:49
@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!

@BlaineHeffron BlaineHeffron force-pushed the FIX/StellarAssetBindings branch from 8fb73a9 to 0d4b52e Compare May 29, 2024 01:16
@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 force-pushed the FIX/StellarAssetBindings branch from 0d4b52e to 393e6e4 Compare May 29, 2024 15:49
@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