Skip to content

Commit b1462a8

Browse files
authored
chore: removing unnecessary await (FuelLabs#1624)
1 parent 7b447d8 commit b1462a8

19 files changed

+145
-3
lines changed

.changeset/angry-balloons-cover.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"fuels": patch
3+
---
4+
5+
Updating chain config for `fuels` CLI and `wallet` utils

.changeset/brown-zebras-remember.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@fuel-ts/hasher": minor
3+
"@fuel-ts/program": minor
4+
"@fuel-ts/providers": minor
5+
"@fuel-ts/wallet": minor
6+
---
7+
8+
add method to hash tx on TransactionRequest classes

.changeset/clean-fans-wait.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"fuels": patch
3+
---
4+
5+
fix: replace the outdated `--manual_blocks_enabled` flag with `--debug` (fuel-core)

.changeset/cold-worms-heal.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-fuels": patch
3+
"nextjs": patch
4+
---
5+
6+
fix: include a `.gitignore` file in the template copied over by create-fuels

.changeset/curly-poems-glow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fuel-ts/fuel-core": patch
3+
---
4+
5+
Removing unnecessary await

.changeset/long-ways-rule.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fuel-ts/providers": patch
3+
---
4+
5+
bugfix when amount of requested resources to spend is less than 1

.changeset/moody-walls-admire.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fuel-ts/transactions": minor
3+
---
4+
5+
remove hacky solution to get right witness offset

.changeset/nice-flowers-invent.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@fuel-ts/abi-coder": minor
3+
"@fuel-ts/abi-typegen": minor
4+
"@fuel-ts/forc": minor
5+
"@fuel-ts/script": minor
6+
"@fuel-ts/utils": minor
7+
"@fuel-ts/versions": minor
8+
---
9+
10+
Encode and decode u8 and bool as small bytes and right aligned under various conditions.

.changeset/orange-mangos-yell.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
"@fuel-ts/abi-coder": minor
3+
"@fuel-ts/abi-typegen": minor
4+
"@fuel-ts/address": minor
5+
"@fuel-ts/contract": minor
6+
"@fuel-ts/crypto": minor
7+
"@fuel-ts/errors": minor
8+
"fuels": minor
9+
"@fuel-ts/hasher": minor
10+
"@fuel-ts/hdwallet": minor
11+
"@fuel-ts/interfaces": minor
12+
"@fuel-ts/math": minor
13+
"@fuel-ts/merkle": minor
14+
"@fuel-ts/mnemonic": minor
15+
"@fuel-ts/predicate": minor
16+
"@fuel-ts/program": minor
17+
"@fuel-ts/providers": minor
18+
"@fuel-ts/script": minor
19+
"@fuel-ts/signer": minor
20+
"@fuel-ts/transactions": minor
21+
"@fuel-ts/utils": minor
22+
"@fuel-ts/versions": minor
23+
"@fuel-ts/wallet": minor
24+
"@fuel-ts/wallet-manager": minor
25+
"@fuel-ts/wordlists": minor
26+
---
27+
28+
Add `pnpm create fuels` CLI tool

.changeset/pretty-goats-matter.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"fuels": minor
3+
---
4+
5+
built new js file specifically for cdnjs integration

.changeset/six-shoes-impress.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@fuel-ts/math": minor
3+
"@fuel-ts/providers": minor
4+
"@fuel-ts/wallet": minor
5+
---
6+
7+
ensure estimated fee values returned by getTransactionCost are never 0

.changeset/six-singers-sit.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fuel-ts/providers": minor
3+
---
4+
5+
re-implement calculateTransactionFee helper

.changeset/sour-apples-prove.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@fuel-ts/providers": minor
3+
"@fuel-ts/wallet": minor
4+
---
5+
6+
fix Account fund and Provider fundWithFakeUtxos

.changeset/stale-flowers-cheer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fuel-ts/address": patch
3+
---
4+
5+
Add further utility to Address and improve docs around conversions

.changeset/stale-jokes-clap.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-fuels": patch
3+
"nextjs": patch
4+
---
5+
6+
chore: update and add docs links in scaffolding CLI

.changeset/swift-dancers-cheat.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@fuel-ts/fuel-core": minor
3+
"@fuel-ts/providers": minor
4+
"@fuel-ts/versions": minor
5+
---
6+
7+
Upgrading `fuel-core` to `0.22`

.changeset/violet-mice-rest.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"@fuel-ts/abi-coder": minor
3+
"@fuel-ts/abi-typegen": minor
4+
"@fuel-ts/contract": minor
5+
"@fuel-ts/errors": minor
6+
"@fuel-ts/forc": minor
7+
"@fuel-ts/fuel-core": minor
8+
"@fuel-ts/hasher": minor
9+
"@fuel-ts/math": minor
10+
"@fuel-ts/predicate": minor
11+
"@fuel-ts/program": minor
12+
"@fuel-ts/providers": minor
13+
"@fuel-ts/script": minor
14+
"@fuel-ts/transactions": minor
15+
"@fuel-ts/utils": minor
16+
"@fuel-ts/versions": minor
17+
"@fuel-ts/wallet": minor
18+
---
19+
20+
add support for TX policies

.changeset/wicked-pens-mix.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fuel-ts/transactions": minor
3+
---
4+
5+
update Mint transaction to conform with fuel-core 0.21

packages/fuel-core/lib/install.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
// eslint-disable-next-line import/extensions
1515
} from './shared.js';
1616

17-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
1817
(async () => {
1918
const { info } = console;
2019

@@ -60,7 +59,7 @@ import {
6059

6160
// Download
6261
const buf = await fetch(pkgUrl).then((r) => r.buffer());
63-
await writeFileSync(pkgPath, buf);
62+
writeFileSync(pkgPath, buf);
6463

6564
// Extract
6665
execSync(`tar xzf "${pkgPath}" -C "${rootDir}"`);
@@ -70,6 +69,6 @@ import {
7069

7170
// Cleanup
7271
execSync(`rm -rf ${fileName}`);
73-
await rmSync(pkgPath);
72+
rmSync(pkgPath);
7473
}
7574
})().catch(process.stderr.write);

0 commit comments

Comments
 (0)