Skip to content

Commit

Permalink
Merge branch 'master' into mc/chore/upgrade-fuel-core
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad authored Aug 30, 2024
2 parents d6e66df + 2b45e8d commit c92c6ab
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .changeset/lazy-teachers-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

chore: deployed the `create fuels` template
5 changes: 5 additions & 0 deletions .changeset/light-lizards-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/abi-coder": patch
---

fix: remove `u64` from `NumberCoderType`
1 change: 1 addition & 0 deletions apps/docs/spell-check-custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ BigNumber
Gwei
onchain
Vercel
vercel
hardcoded
differentiators
updatable
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/src/guide/creating-a-fuel-dapp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

![End result of this guide](../../public/creating-a-fuel-dapp-create-fuels-end-result.png)

You can also check it live, deployed to the Testnet:

- [https://create-fuels-template.vercel.app/](https://create-fuels-template.vercel.app/)

## Initializing the project

The first step is to run the command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This guide builds on the [Creating a Fuel dApp](./index.md) guide. Once you've g

![End result of this guide](../../public/working-with-predicates-end-result.png)

You can also check it live, deployed to the Testnet:

- [https://create-fuels-template.vercel.app/](https://create-fuels-template.vercel.app/)

## Adding a Configurable pin

The current predicate functionality we have is a simple one that checks if the user has a pin. We will modify this predicate to accept a configurable pin. This will allow the user to set their own pin.
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-coder/src/encoding/coders/NumberCoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { WORD_SIZE } from '../../utils/constants';

import { Coder } from './AbstractCoder';

type NumberCoderType = 'u8' | 'u16' | 'u32' | 'u64';
type NumberCoderType = 'u8' | 'u16' | 'u32';

const getLength = (baseType: NumberCoderType): number => {
switch (baseType) {
Expand Down

0 comments on commit c92c6ab

Please sign in to comment.