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

Minimize the uniqueness of bytecodes #1714

Open
xgreenx opened this issue Feb 4, 2024 · 3 comments
Open

Minimize the uniqueness of bytecodes #1714

xgreenx opened this issue Feb 4, 2024 · 3 comments
Labels
feat Issue is a feature

Comments

@xgreenx
Copy link

xgreenx commented Feb 4, 2024

Duplicate of the FuelLabs/fuels-rs#1267, but for the TS SDK. It is better to have only one issue with the description since both SDKs have the same problems.

@arboleya arboleya removed their assignment Feb 5, 2024
@arboleya
Copy link
Member

arboleya commented Feb 5, 2024

@xgreenx Contextually, we used to have a single multi-call .sw script that we used for everything. One of the problems was that it could handle a limited number of calls. Then, we replaced it with its dynamic counterpart using WASM fuel-asm and following how the Rust SDK was doing it.

Do you think we should return to having a statically compiled .sw script in this sense?

Or just change how we assemble it dynamically before calling it?

@arboleya arboleya added the feat Issue is a feature label Feb 5, 2024
@arboleya arboleya added p2 and removed p2 labels Jun 9, 2024
@arboleya arboleya added p1 and removed p1 labels Jul 19, 2024
@arboleya arboleya removed the p2 label Aug 2, 2024
@danielbate
Copy link
Contributor

@arboleya I'd like to reassign this to library. IMO this will likely be handled by a script loader in a similar way to the new loader contract bytecode generation, that should live inside the script or program packages.

@Torres-ssf
Copy link
Contributor

@arboleya Should we move this back to the backlog? It seems we still lack some information about how to proceed here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

No branches or pull requests

4 participants