You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IGI-111
added
compiler
General compiler. Should eventually become more specific as the issue is triaged
logging
Related to logging (tracing, stdout, stderr, log-files)
labels
May 2, 2024
## Description
Changes LogId to contain hash based on abi str.
```
__log(1u32); // hashed: "u32"
__log((1u32, 1u64)); // hashed: "(u32, u64)"
__log([0u64]); // hashed: "[u64; 1]"
__log(Some(0u64)); // hashed: "enum std::option::Option<u64>"
__log(SS{
ss: 1u64
}); // hashed: "struct SS<u64>"
```
Adds abi_hash_ids flag to command line tools.
Closes#5953
## Checklist
- [x] I have linked to any relevant issues.
- [x] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [ ] If my change requires substantial documentation changes, I have
[requested support from the DevRel
team](https://github.com/FuelLabs/devrel-requests/issues/new/choose)
- [x] I have added tests that prove my fix is effective or that my
feature works.
- [x] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [x] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [x] I have requested a review from the relevant team or maintainers.
---------
Co-authored-by: Kaya Gökalp <kaya.gokalp@fuel.sh>
Co-authored-by: Kaya Gokalp <kayagokalp123@gmail.com>
Co-authored-by: IGI-111 <igi-111@protonmail.com>
Emit 64 bit hashes of the event types as defined in #5952 in
LOG
andLOGD
receipts.The text was updated successfully, but these errors were encountered: