Skip to content

feat: add function for splitting UTXOs and docs on maxOutputs #16770

feat: add function for splitting UTXOs and docs on maxOutputs

feat: add function for splitting UTXOs and docs on maxOutputs #16770

Triggered via pull request December 4, 2024 01:36
Status Cancelled
Total duration 10m 27s
Artifacts

test.yaml

on: pull_request
Matrix: environments
integration
0s
integration
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
apps/docs/src/guide/cookbook/snippets/splitting-utxos.test.ts > splitting-utxos.ts: packages/account/src/providers/utils/handle-gql-error-message.ts#L12
FuelError: The account(s) sending the transaction don't have enough funds to cover the transaction. ❯ handleGqlErrorMessage packages/account/src/providers/utils/handle-gql-error-message.ts:12:13 ❯ responseMiddleware packages/account/src/providers/provider.ts:685:15 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:292:11 ❯ _Provider.getResourcesToSpend packages/account/src/providers/provider.ts:1471:20 ❯ WalletUnlocked.fund packages/account/src/account.ts:254:25 ❯ WalletUnlocked.estimateAndFundTransaction packages/account/src/account.ts:722:15 ❯ WalletUnlocked.batchTransfer packages/account/src/account.ts:386:15 ❯ apps/docs/src/guide/cookbook/snippets/splitting-utxos.test.ts:110:19 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.66.4', FUEL_CORE: '0.40.1', FUELS: '0.97.0' }, metadata: {}, rawError: { message: 'not enough coins to fit the target', locations: [ { line: 2, column: 3 } ], path: [ 'coinsToSpend' ] }, code: 'not-enough-funds', toObject: 'Function<toObject>' }
node@22
Process completed with exit code 1.
apps/docs/src/guide/cookbook/snippets/splitting-utxos.test.ts > splitting-utxos.ts: packages/account/src/providers/utils/handle-gql-error-message.ts#L12
FuelError: The account(s) sending the transaction don't have enough funds to cover the transaction. ❯ handleGqlErrorMessage packages/account/src/providers/utils/handle-gql-error-message.ts:12:13 ❯ responseMiddleware packages/account/src/providers/provider.ts:685:15 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:292:11 ❯ _Provider.getResourcesToSpend packages/account/src/providers/provider.ts:1471:20 ❯ WalletUnlocked.fund packages/account/src/account.ts:254:25 ❯ WalletUnlocked.estimateAndFundTransaction packages/account/src/account.ts:722:15 ❯ WalletUnlocked.batchTransfer packages/account/src/account.ts:386:15 ❯ apps/docs/src/guide/cookbook/snippets/splitting-utxos.test.ts:110:19 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.66.4', FUEL_CORE: '0.40.1', FUELS: '0.97.0' }, metadata: {}, rawError: { message: 'not enough coins to fit the target', locations: [ { line: 2, column: 3 } ], path: [ 'coinsToSpend' ] }, code: 'not-enough-funds', toObject: 'Function<toObject>' }
node@20
Process completed with exit code 1.
node@18
Canceling since a higher priority waiting request for 'Test-3435' exists
apps/docs/src/guide/cookbook/snippets/splitting-utxos.test.ts > splitting-utxos.ts: packages/account/src/providers/utils/handle-gql-error-message.ts#L12
FuelError: The account(s) sending the transaction don't have enough funds to cover the transaction. ❯ handleGqlErrorMessage packages/account/src/providers/utils/handle-gql-error-message.ts:12:13 ❯ responseMiddleware packages/account/src/providers/provider.ts:685:15 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:292:11 ❯ _Provider.getResourcesToSpend packages/account/src/providers/provider.ts:1471:20 ❯ WalletUnlocked.fund packages/account/src/account.ts:254:25 ❯ WalletUnlocked.estimateAndFundTransaction packages/account/src/account.ts:722:15 ❯ WalletUnlocked.batchTransfer packages/account/src/account.ts:386:15 ❯ apps/docs/src/guide/cookbook/snippets/splitting-utxos.test.ts:110:19 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.66.4', FUEL_CORE: '0.40.1', FUELS: '0.97.0' }, metadata: {}, rawError: { message: 'not enough coins to fit the target', locations: [ { line: 2, column: 3 } ], path: [ 'coinsToSpend' ] }, code: 'not-enough-funds', toObject: 'Function<toObject>' }
node@18
Process completed with exit code 1.
browser
Canceling since a higher priority waiting request for 'Test-3435' exists
browser
The operation was canceled.
node@22
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
node@20
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636