Nedim Salkić
Nedim Salkić
This PR replaces the `graphql-request` and `graphql-tag` dependencies with a simple `fetch` implementation. This change reduces the final bundle size by 15.68 kB. > [!NOTE] > - Incoming from https://github.com/FuelLabs/fuels-ts/discussions/1592
This PR introduces the `launchTestNode` utility. The idea is for it to be _the_ way to setup tests for interacting with sway programs, both internally and for our users. It...
### Discussed in https://github.com/FuelLabs/fuels-ts/discussions/1588 Originally posted by **nedsalk** December 15, 2023 Post `fuel-core v0.22.0`, the node now returns receipts with a `TransactionStatus`, so we can use them right away instead...
The code below succeeds: ```ts await wallet.transfer( destination.address, -1, BaseAssetId, { gasPrice, gasLimit: 10_000 } ); ``` We shouldn't allow such inputs. Negative and zero values are generally allowed to...
Transaction dependency estimation via `provider.estimateTxDependencies` is currently done *always* before a transaction is sent to a node. This causes unnecessary round-trips to the node and strain to the network in...
### Motivation Tests in the `providers` package related to actually connecting to a node fall into two categories: 1. Those that mock the call (e.g. `provider.test.ts -> it('can getMessageProof with...
The team agreed in one of the weekly syncs that it's more straightforward and easier to reason about predicate data if we'd be setting it _only_ via the `Predicate` constructor....
Currently `Interface.externalLoggedTypes` is being used as a way to decode logged types during multicall. This shouldn't be the case, as an `Interface` shouldn't be concerned with some other `Interface`. The...
Investigate when script has arguments in its main function as well as script data. Take a look also at `call-test-script`. Question: is `std::tx::tx_script_data` deprecated? Also is `input_predicate_data` deprecated as well?