-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: add support for Bytes
and RawSlice
inputs
#904
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, especially the tests! I have one concern about the Bytes
type we accept to encode.
packages/fuels/tests/types/scripts/script_raw_slice/src/main.sw
Outdated
Show resolved
Hide resolved
Co-authored-by: iqdecay <victor@berasconsulting.com>
Co-authored-by: iqdecay <victor@berasconsulting.com>
Co-authored-by: iqdecay <victor@berasconsulting.com>
packages/fuels/tests/types/predicates/predicate_bytes/src/main.sw
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work and awesome tests! I left just a couple of comments, not really a hard request for changes, so this is essentially an approval.
packages/fuels/tests/types/predicates/predicate_bytes/src/main.sw
Outdated
Show resolved
Hide resolved
Co-authored-by: Ahmed Mujkic <32431923+MujkicA@users.noreply.github.com>
…fuels-rs into segfault-hal3e/bytes-as-inputs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice -- great work!
closes: #879 and #878
co-developed with: @segfault-magnet
Bytes
andRawSlice
can be nested arbitrarily deep in custom types. We have added e2e test forcontracts
,scripts
andpredicates
.Checklist