Cameron Carstens

Results 69 issues of Cameron Carstens

There is currently no relation between the `Vec` and `StorageVec` in the standard library. There should be a way to cast a `Vec` to a `StorageVec` and vice versa. An...

enhancement
lib: std

## Description The Sway Book's ownership example and documentation is outdated and does not include the ownership library. It now links to the SRC-5 Ownership standard, ownership library, and includes...

The Sway Book

#### Description The SRC-5 standard has recently been defined. This should be properly documented in the Sway Book. #### Motivation There is a new standard that defines ownership. https://github.com/FuelLabs/sway-standards/issues/8

The Sway Book

## Description Changes to std-lib to support multi-asset native token contracts with the introduction of a sub id. Closes #4644 ## Checklist - [ ] I have linked to any...

enhancement
lib: std

#### Description There has been a change to the spec to allow for multiple native assets in a single contract. This opens the door for things such as native NFTs...

lib: std

We currently support the following blockchain types: - `ContractId` - `Address` This allows for developers using Sway to differentiate between the blockchain types they are interacting with when writing contracts...

enhancement
lib: std

## Description This PR adds the `PredicateId` type to the std-lib, outlined in https://github.com/FuelLabs/sway/issues/5476 ## Checklist - [ ] I have linked to any relevant issues. - [ ] I...

enhancement
lib: std

When running `forc build` on a project that has a `fuel-toolchain.toml` file, excluding the `[components]` section will result in the following error: ``` error: Formatting skipped due to error. error:...

bug
forc

## Description An external discussion led to the conclusion that for a predicate's hash, rather than [adding the `PredicateId` type](https://github.com/FuelLabs/sway/issues/5476) the formal naming convention should be "Predicate Address". This would...

lib: std
The Sway Book
breaking

## Description Merges the staging branch into master from the following PRs: https://github.com/FuelLabs/sway/pull/5640 https://github.com/FuelLabs/sway/pull/5630 https://github.com/FuelLabs/sway/pull/5621 https://github.com/FuelLabs/sway/pull/5613 ## Checklist - [x] I have linked to any relevant issues. - [x] I...

lib: std
breaking