docs: re-introduce a section from provider docs #12490
Annotations
8 errors
apps/docs-snippets/src/guide/predicates/send-and-spend-funds-from-predicates.test.ts > /home/runner/work/fuels-ts/fuels-ts/apps/docs-snippets/src/guide/predicates/send-and-spend-funds-from-predicates.test.ts > should be able to pre-stage a transaction, get TX ID, and then send the transaction:
packages/account/src/account.ts#L4060
FuelError: Invalid transaction data: Validity(InsufficientFeeAmount { expected: 229576, provided: 216400 })
❯ responseMiddleware packages/account/src/account.ts:4060:19
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11
❯ _Provider.sendTransaction packages/account/src/account.ts:4195:9
❯ apps/docs-snippets/src/guide/predicates/send-and-spend-funds-from-predicates.test.ts:233:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.30.0', FUELS: '0.91.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
|
apps/docs-snippets/src/guide/provider/querying-the-chain.test.ts > querying the chain > can getMessageProof:
packages/account/src/wallet/base-wallet-unlocked.ts#L3918
FuelError: Either `commit_block_id` or `commit_block_height` must be provided exclusively
❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3918:19
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11
❯ _Provider.getMessageProof packages/account/src/wallet/base-wallet-unlocked.ts:4744:20
❯ apps/docs-snippets/src/guide/provider/querying-the-chain.test.ts:209:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.30.0', FUELS: '0.91.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
|
node@22
Process completed with exit code 1.
|
apps/docs-snippets/src/guide/provider/querying-the-chain.test.ts > querying the chain > can getMessageProof:
packages/account/src/wallet/base-wallet-unlocked.ts#L3918
FuelError: Either `commit_block_id` or `commit_block_height` must be provided exclusively
❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3918:19
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11
❯ _Provider.getMessageProof packages/account/src/wallet/base-wallet-unlocked.ts:4744:20
❯ apps/docs-snippets/src/guide/provider/querying-the-chain.test.ts:209:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.30.0', FUELS: '0.91.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
|
node@20
Process completed with exit code 1.
|
packages/fuel-gauge/src/transaction-response.test.ts > TransactionResponse > should throw error for a SqueezedOut status update [waitForResult]:
packages/errors/src/test-utils/safeExec.ts#L102
Error: Passed-in lambda didn't throw.
❯ Module.expectToThrowFuelError packages/errors/src/test-utils/safeExec.ts:102:11
❯ packages/fuel-gauge/src/transaction-response.test.ts:238:5
|
apps/docs-snippets/src/guide/provider/querying-the-chain.test.ts > querying the chain > can getMessageProof:
packages/account/src/wallet/base-wallet-unlocked.ts#L3918
FuelError: Either `commit_block_id` or `commit_block_height` must be provided exclusively
❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3918:19
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11
❯ _Provider.getMessageProof packages/account/src/wallet/base-wallet-unlocked.ts:4744:20
❯ apps/docs-snippets/src/guide/provider/querying-the-chain.test.ts:209:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.30.0', FUELS: '0.91.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
|
node@18
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
browser
|
1.24 MB |
|