forked from FuelLabs/fuels-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: add support for experimental encoding in logs (FuelLabs#1259)
closes: FuelLabs#1247, FuelLabs#1151, FuelLabs#901, FuelLabs#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
- Loading branch information
Showing
21 changed files
with
738 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.