-
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
Decoding string slices from logs #1151
Comments
Closed
5 tasks
hal3e
added a commit
that referenced
this issue
Jan 29, 2024
closes: #1247, #1151, #901, #898 This PR adds support for sway's experimental encoding in logs. The new encoder is enabled with the `experimental` rustflag. To run the tests, first build the forc projects with: `forc build --path packages/fuels --experimental-new-encoding` then run the tests with: `RUSTFLAGS='--cfg experimental' cargo test --test logs` What was done: - added `ExperimentalBoundedDecoder` - updated how `RawSlice` was encoded and decoded - added tests for the new encoding - add new CI step that runs tests with the new `experimental` flag BREAKING CHANGE: - change `RawSlice` encoding and decoding
kamyar-tm
added
the
epic
An epic is a high-level master issue for large pieces of work.
label
Feb 15, 2024
This issue is resolved in #1259 |
ak-tech007
added a commit
to ak-tech007/Rust-SDK
that referenced
this issue
Dec 6, 2024
closes: FuelLabs/fuels-rs#1247, FuelLabs/fuels-rs#1151, FuelLabs/fuels-rs#901, FuelLabs/fuels-rs#898 This PR adds support for sway's experimental encoding in logs. The new encoder is enabled with the `experimental` rustflag. To run the tests, first build the forc projects with: `forc build --path packages/fuels --experimental-new-encoding` then run the tests with: `RUSTFLAGS='--cfg experimental' cargo test --test logs` What was done: - added `ExperimentalBoundedDecoder` - updated how `RawSlice` was encoded and decoded - added tests for the new encoding - add new CI step that runs tests with the new `experimental` flag BREAKING CHANGE: - change `RawSlice` encoding and decoding
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
String slices can not be decoded by the SDK when they are logged. Issue to track on the sway side: FuelLabs/sway#5110
If fixed, remove the error from:
The text was updated successfully, but these errors were encountered: