Skip to content

Commit

Permalink
rc: salamander (#1495)
Browse files Browse the repository at this point in the history
* chore: updating code owners (#1496)
* docs: purge hardcoded snippets on 'using typegen' page (#1403)
* chore: remove method that's same as base method (#1445)
* chore: implement RC workflow (#1497)
* Revert "feat: add `Predicate.getTransferTxId` helper (#1467)"
* chore: fix rc release string replace (#1529)
* docs: Update some hyperlinks to reference the new documentation hub (#1520)
* chore: improve rc release message (#1559)
* feat: GraphQL subscriptions (#1374)
* chore: pin `graphql-request` to `v5` (#1567)
* chore: upgrade `tsx` (#1574)
* feat: migrate from Jest to Vitest (#1310)
* chore: fix temp test workflow (#1579)
* chore: update required node engine in `create-fuels` (#1582)
* chore: add node version test matrix (#1575)
* chore: fix broken rc message (#1580)
* chore: update nodejs to v20 (#1544)
* feat: accepting addresses as `string` (#1583)
* chore: properly format the PR coverage report comment (#1586)
* fix: flaky test (#1590)
* docs: update `deposit-and-withdraw` page (#1591)
* feat: retry mechanism (#1474)
* feat: replaced `semver` dependency with custom implementation (#1594)
* feat: replace `elliptic` with `@noble/curves` (#1601)
* chore: fix CI failing due to missing tag in test (#1614)
* feat: improve ABI Coders `decode` validation (#1426)
* fix: do not generate a coverage diff without coverage artifact (#1629)
* chore: pinpoint vitest to 1.0.4 (#1637)
* chore: remove `ethers` dependency from `utils` (#1640)
* fix: `getOperation` for `Transfer Asset` (#1619)
* fix: remove external font dependencies (#1642)
* fix: generate RC PR comment on `pull_request` event only (#1648)
* fix: fix failing `rc` comment (#1657)
* chore: add missing test group (#1658)
* feat: implement browser compatibility testing (#1630)
* chore: fix string replace in `rc` ci (#1659)
* chore: adding extra reporters (#1661)
* chore: manually trigger `rc` CI (#1660)
* feat: use `submitAndAwait` graphql endpoint (#1615)
* fix: flaky retry test (#1654)
* feat: create a wallet without a provider (#1566)
* chore!: Share single chainConfig and review node-related utilities (#1602)
* chore: use new temporary coverage artifact (#1676)
* fix: internalizing `findBinPath` utility (#1679)
  • Loading branch information
arboleya committed Jan 26, 2024
1 parent 2aed04d commit 9137551
Show file tree
Hide file tree
Showing 554 changed files with 10,371 additions and 4,535 deletions.
2 changes: 2 additions & 0 deletions .changeset/angry-humans-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/big-boxes-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/bright-elephants-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/early-humans-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/eight-ladybugs-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/flat-dodos-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
10 changes: 10 additions & 0 deletions .changeset/fresh-terms-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@fuel-ts/program": minor
"@fuel-ts/providers": minor
"@fuel-ts/wallet": minor
"@fuel-ts/predicate": minor
---

- Transaction execution can now be await with the `{awaitExecution: true}` option on `Provider.sendTransaction`
- Added same functionality to accounts (unlocked wallet, predicate)
- `BaseInvocationScope` internally now uses `{awaitExecution: true}` to reduce amount of network calls
2 changes: 2 additions & 0 deletions .changeset/funny-radios-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/giant-pumpkins-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/abi-coder": minor
---

Improve decode validation of ABI Coders
7 changes: 7 additions & 0 deletions .changeset/gorgeous-tips-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"create-fuels": patch
"fuels": patch
"@fuel-ts/utils": patch
---

Fixing and internalizing `findBinPath` utility
5 changes: 5 additions & 0 deletions .changeset/happy-days-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/wallet": minor
---

Made provider argument optional for wallet instantiation
2 changes: 2 additions & 0 deletions .changeset/honest-schools-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/kind-hotels-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/transactions": minor
---

update deposit and withdraw doc page
2 changes: 2 additions & 0 deletions .changeset/late-mugs-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/odd-kids-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/olive-clocks-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/perfect-kangaroos-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/poor-ravens-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/rare-snails-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/real-owls-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/rotten-seas-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/selfish-wombats-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
6 changes: 6 additions & 0 deletions .changeset/serious-laws-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@fuel-ts/providers": minor
"@fuel-ts/errors": patch
---

Implemented GraphQL subscriptions
2 changes: 2 additions & 0 deletions .changeset/sharp-clocks-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/smart-lemons-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
7 changes: 7 additions & 0 deletions .changeset/soft-falcons-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fuel-ts/providers": minor
"@fuel-ts/wallet": minor
"@fuel-ts/wallet-manager": minor
---

accepting string as address instead of only AbstractAddress
2 changes: 2 additions & 0 deletions .changeset/soft-wombats-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/spicy-ducks-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/stale-lizards-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/swift-students-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-fuels": minor
---

Update supported node version in create fuels
2 changes: 2 additions & 0 deletions .changeset/tasty-hotels-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
6 changes: 6 additions & 0 deletions .changeset/tasty-pets-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@fuel-ts/interfaces": patch
"@fuel-ts/utils": patch
---

Remove ethers dependency from the utils package
2 changes: 2 additions & 0 deletions .changeset/tender-onions-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
28 changes: 28 additions & 0 deletions .changeset/tender-tips-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
"fuels": minor
"@fuel-ts/utils": minor
"@fuel-ts/wallet": minor
---

chore!: share single chainconfig and `launchNode` utility throughout the codebase.

- `startFuelCore` now re-uses `launchNode` instead of having its own node-launching logic
- `@fuel-ts/utils` now exports a `defaultChainConfig` and a `defaultConsensusKey` which is used everywhere in the source code.
- The `chainConfig.json` file inside the `.fuel-core` folder at the root also uses the same chain config. The `run-node` script has been modified to copy over the contents of the chain config file from the utils package.

# Breaking Changes

- Multiple fuel-core config-related options have been removed from `LaunchNodeOptions`:

- `chainConfigPath`
- `consensusKey`
- `useInMemoryDb`
- `poaInstant`

- The only way to pass in these config values now is through the `args` property, i.e.:

```ts
const { cleanup, ip, port } = await launchNode({
args: ["--poa-interval-period", "750ms", "--poa-instant", "false"],
});
```
2 changes: 2 additions & 0 deletions .changeset/thick-windows-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/twenty-clocks-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
6 changes: 6 additions & 0 deletions .changeset/warm-poems-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@fuel-ts/signer": minor
---

- Stopped exporting `getCurve()` / secp256k1
- Replaced `elliptic` with `@noble/curves`
5 changes: 5 additions & 0 deletions .changeset/wet-dots-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/providers": minor
---

Made getOperations to consider multiple assets transfer for a Transfer Asset operation
2 changes: 2 additions & 0 deletions .changeset/wicked-timers-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ dist/
out/

apps/demo-fuels/src/sway-programs-api
apps/demo-typegen/src/generated-types
apps/demo-typegen/src/contract-types
apps/demo-typegen/src/script-types
apps/demo-typegen/src/predicate-types
apps/demo-nextjs
apps/demo-react-cra
apps/demo-react-vite
Expand Down
7 changes: 6 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ module.exports = {
},
},
rules: {
'no-restricted-syntax': [
'off',
{
selector: 'ForOfStatement',
},
],
'@typescript-eslint/no-non-null-assertion': 1,
// Disable error on devDependencies importing since this isn't a TS library
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
Expand Down Expand Up @@ -56,7 +62,6 @@ module.exports = {
'warn',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'@typescript-eslint/no-explicit-any': 'error',
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @digorithm @arboleya @camsjams @Torres-ssf @Dhaiwat10 @danielbate @nedsalk
* @digorithm @arboleya @Torres-ssf @Dhaiwat10 @danielbate @nedsalk
2 changes: 1 addition & 1 deletion .github/actions/ci-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CI Setup"
inputs:
node-version:
description: "Node version"
default: 18.17.1
default: 20.10.0
pnpm-version:
description: "PNPM version"
default: 8.9.0
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Test Setup"
inputs:
node-version:
description: "Node version"
default: 18.17.1
default: 20.10.0
pnpm-version:
description: "PNPM version"
default: 8.9.0
Expand Down
148 changes: 148 additions & 0 deletions .github/rc-list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
- [ ] African Elephant
- [ ] Albatross
- [ ] Alpaca
- [ ] Angelfish
- [ ] Ant
- [ ] Appaloosa
- [ ] Arabian Horse
- [ ] Arctic Fox
- [ ] Asian Elephant
- [ ] Bactrian Camel
- [ ] Bald Eagle
- [ ] Beagle
- [ ] Bee
- [ ] Beluga Whale
- [ ] Black Bear
- [ ] Blue Jay
- [ ] Blue Whale
- [ ] Bobcat
- [ ] Brown Bear
- [ ] Bulldog
- [ ] Butterfly
- [ ] Camel
- [ ] Caracal
- [ ] Cardinal
- [ ] Cheetah
- [ ] Chicken
- [ ] Chimpanzee
- [ ] Clownfish
- [ ] Clydesdale
- [ ] Cockatoo
- [ ] Cockroach
- [ ] Coral
- [ ] Cougar
- [ ] Coyote
- [ ] Crab
- [ ] Cricket
- [ ] Crow
- [ ] Cuttlefish
- [ ] Dachshund
- [ ] Dingo
- [ ] Dolphin
- [ ] Domestic Cat
- [ ] Domestic Dog
- [ ] Dragonfly
- [ ] Dromedary
- [ ] Duck
- [ ] Elephant
- [ ] Falcon
- [ ] Fennec Fox
- [ ] Finch
- [ ] Firefly
- [ ] Flamingo
- [ ] Friesian
- [ ] German Shepherd
- [ ] Giraffe
- [ ] Golden Retriever
- [ ] Goose
- [ ] Gorilla
- [ ] Grasshopper
- [ ] Grevy's Zebra
- [ ] Grizzly Bear
- [ ] Hawk
- [ ] Hermit Crab
- [ ] Hippopotamus
- [ ] Hornet
- [ ] Horse
- [ ] Hummingbird
- [ ] Humpback Whale
- [ ] Husky
- [ ] Hyena
- [ ] Jaguar
- [ ] Jellyfish
- [ ] Kangaroo
- [ ] Katydid
- [ ] Kingfisher
- [ ] Koala
- [ ] Labrador Retriever
- [ ] Ladybug
- [ ] Leopard
- [ ] Lion
- [ ] Llama
- [ ] Lobster
- [ ] Lynx
- [ ] Macaw
- [ ] Magpie
- [ ] Manatee
- [ ] Mantis Shrimp
- [ ] Moth
- [ ] Mountain Lion
- [ ] Mountain Zebra
- [ ] Mustang
- [ ] Narwhal
- [ ] Nautilus
- [ ] Octopus
- [ ] Orca
- [ ] Ostrich
- [ ] Owl
- [ ] Palomino
- [ ] Panda
- [ ] Panther
- [ ] Parrot
- [ ] Peacock
- [ ] Pelican
- [ ] Penguin
- [ ] Pigeon
- [ ] Plains Zebra
- [ ] Polar Bear
- [ ] Pony
- [ ] Poodle
- [ ] Praying Mantis
- [ ] Pufferfish
- [ ] Puffin
- [ ] Quarter Horse
- [ ] Raven
- [ ] Red Panda
- [ ] Rhino
- [ ] Rhinoceros Beetle
- [ ] Robin
- [ ] Rooster
- [ ] Rottweiler
- [x] Salamander
- [ ] Scarab Beetle
- [ ] Sea Anemone
- [ ] Sea Cucumber
- [ ] Sea Lion
- [ ] Sea Urchin
- [ ] Seahorse
- [ ] Seal
- [ ] Serval
- [ ] Shetland Pony
- [ ] Shrimp
- [ ] Snow Leopard
- [ ] Sparrow
- [ ] Sperm Whale
- [ ] Squid
- [ ] Starfish
- [ ] Stork
- [ ] Swan
- [ ] Thoroughbred
- [ ] Tiger
- [ ] Toucan
- [ ] Turkey
- [ ] Vicuña
- [ ] Walrus
- [ ] Wasp
- [ ] Wolf
- [ ] Woodpecker
- [ ] Zebra
Loading

0 comments on commit 9137551

Please sign in to comment.