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

Improve Predicate Vector input support #1083

Closed
camsjams opened this issue Jul 4, 2023 · 2 comments · Fixed by #1247
Closed

Improve Predicate Vector input support #1083

camsjams opened this issue Jul 4, 2023 · 2 comments · Fixed by #1247
Assignees

Comments

@camsjams
Copy link
Contributor

camsjams commented Jul 4, 2023

Motivation

Vector code works partially with Predicates. The vectors can be encoded and sent to the the Sway programs well part of the time, but there is an offset issue that occurs occasionally when trying to send the payloads.

See #1046

Usage example

The offset here isn't calculating properly, see the 17: https://github.com/FuelLabs/fuels-ts/blob/master/packages/predicate/src/predicate.ts#L117-L122

Possible implementations

Start with running these skipped tests:

@arboleya
Copy link
Member

arboleya commented Jul 5, 2023

The action here is unclear; this issue could use a better description to communicate what needs to be done.

@camsjams
Copy link
Contributor Author

The action here is unclear; this issue could use a better description to communicate what needs to be done.

@arboleya @danielbate I've updated the description

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

Successfully merging a pull request may close this issue.

3 participants