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

chore: clean up interface for info::shared::fetch #1802

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chadoh
Copy link
Contributor

@chadoh chadoh commented Dec 18, 2024

Follow-up to #1780, implementing
@leighmcculloch's suggestions.

What

Rename fetch_wasm to fetch and clean up its return value, making all possible return types more understandable.

Why

To keep our code clean and maintainable.

Known limitations

willemneal and others added 2 commits December 18, 2024 15:30
Wasm files have metadata that isn't currently used by typebindings. However, we were creating a higher level Spec (not just  `Vec<ScSpecEntry>`), from the raw bytes of the XDR.

Also, add initialization logic in
`cmd/crates/soroban-spec-typescript/ts-tests` and a test to show that we
can generate typebindings from the native asset. Clean up `ts-tests`
logic while here, updating "soroban" references with "stellar".
Follow-up to #1780,
implementing @leighmcculloch's [suggestions].

  [suggestions]: #1780 (review)
@chadoh chadoh force-pushed the chore/info-shared-cleanup branch from 9ee88d4 to 05c183d Compare December 18, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog (Not Ready)
Development

Successfully merging this pull request may close these issues.

3 participants