Skip to content

Commit

Permalink
chore: skip
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Oct 21, 2024
1 parent f43e074 commit f79e1ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/actions/sendTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test('default', async () => {
await expect(
sendTransaction(config, {
to: '0xd2135CfB216b74109775236E36d4b433F1DF507B',
value: parseEther('0.01'),
value: parseEther('0.0001'),
}),
).resolves.toMatch(transactionHashRegex)

Check failure on line 24 in packages/core/src/actions/sendTransaction.test.ts

View workflow job for this annotation

GitHub Actions / Verify / Test (3, 3)

packages/core/src/actions/sendTransaction.test.ts > default

AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving ❯ packages/core/src/actions/sendTransaction.test.ts:24:3 Caused by: Caused by: TransactionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Request Arguments: from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 to: 0xd2135CfB216b74109775236E36d4b433F1DF507B value: 0.0001 ETH Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fee` is the gas fee,', ' - `value` is the amount of ether to send to the recipient.', ' ', 'Request Arguments:', ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n to: 0xd2135CfB216b74109775236E36d4b433F1DF507B\n value: 0.0001 ETH' ], shortMessage: 'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.', version: '2.21.28', walk: 'Function<walk>' } Caused by: Caused by: InsufficientFundsError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getNodeError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to

Check failure on line 24 in packages/core/src/actions/sendTransaction.test.ts

View workflow job for this annotation

GitHub Actions / Verify / Test (3, 3)

packages/core/src/actions/sendTransaction.test.ts > default

AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving ❯ packages/core/src/actions/sendTransaction.test.ts:24:3 Caused by: TransactionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Request Arguments: from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 to: 0xd2135CfB216b74109775236E36d4b433F1DF507B value: 0.0001 ETH Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fee` is the gas fee,', ' - `value` is the amount of ether to send to the recipient.', ' ', 'Request Arguments:', ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n to: 0xd2135CfB216b74109775236E36d4b433F1DF507B\n value: 0.0001 ETH' ], shortMessage: 'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.', version: '2.21.28', walk: 'Function<walk>' } Caused by: InsufficientFundsError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getNodeError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fe

Check failure on line 24 in packages/core/src/actions/sendTransaction.test.ts

View workflow job for this annotation

GitHub Actions / Verify / Test (3, 3)

packages/core/src/actions/sendTransaction.test.ts > default

AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving ❯ packages/core/src/actions/sendTransaction.test.ts:24:3 Caused by: TransactionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Request Arguments: from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 to: 0xd2135CfB216b74109775236E36d4b433F1DF507B value: 0.0001 ETH Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fee` is the gas fee,', ' - `value` is the amount of ether to send to the recipient.', ' ', 'Request Arguments:', ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n to: 0xd2135CfB216b74109775236E36d4b433F1DF507B\n value: 0.0001 ETH' ], shortMessage: 'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.', version: '2.21.28', walk: 'Function<walk>' } Caused by: InsufficientFundsError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getNodeError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fe

Check failure on line 24 in packages/core/src/actions/sendTransaction.test.ts

View workflow job for this annotation

GitHub Actions / Verify / Test (3, 3)

packages/core/src/actions/sendTransaction.test.ts > default

AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving ❯ packages/core/src/actions/sendTransaction.test.ts:24:3 Caused by: TransactionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Request Arguments: from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 to: 0xd2135CfB216b74109775236E36d4b433F1DF507B value: 0.0001 ETH Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fee` is the gas fee,', ' - `value` is the amount of ether to send to the recipient.', ' ', 'Request Arguments:', ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n to: 0xd2135CfB216b74109775236E36d4b433F1DF507B\n value: 0.0001 ETH' ], shortMessage: 'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.', version: '2.21.28', walk: 'Function<walk>' } Caused by: InsufficientFundsError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getNodeError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fe

Check failure on line 24 in packages/core/src/actions/sendTransaction.test.ts

View workflow job for this annotation

GitHub Actions / Verify / Test (3, 3)

packages/core/src/actions/sendTransaction.test.ts > default

AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving ❯ packages/core/src/actions/sendTransaction.test.ts:24:3 Caused by: Caused by: TransactionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Request Arguments: from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 to: 0xd2135CfB216b74109775236E36d4b433F1DF507B value: 0.0001 ETH Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fee` is the gas fee,', ' - `value` is the amount of ether to send to the recipient.', ' ', 'Request Arguments:', ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n to: 0xd2135CfB216b74109775236E36d4b433F1DF507B\n value: 0.0001 ETH' ], shortMessage: 'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.', version: '2.21.28', walk: 'Function<walk>' } Caused by: Caused by: InsufficientFundsError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getNodeError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to

Check failure on line 24 in packages/core/src/actions/sendTransaction.test.ts

View workflow job for this annotation

GitHub Actions / Verify / Test (3, 3)

packages/core/src/actions/sendTransaction.test.ts > default

AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving ❯ packages/core/src/actions/sendTransaction.test.ts:24:3 Caused by: TransactionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Request Arguments: from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 to: 0xd2135CfB216b74109775236E36d4b433F1DF507B value: 0.0001 ETH Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fee` is the gas fee,', ' - `value` is the amount of ether to send to the recipient.', ' ', 'Request Arguments:', ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n to: 0xd2135CfB216b74109775236E36d4b433F1DF507B\n value: 0.0001 ETH' ], shortMessage: 'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.', version: '2.21.28', walk: 'Function<walk>' } Caused by: InsufficientFundsError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getNodeError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fe

Check failure on line 24 in packages/core/src/actions/sendTransaction.test.ts

View workflow job for this annotation

GitHub Actions / Verify / Test (3, 3)

packages/core/src/actions/sendTransaction.test.ts > default

AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving ❯ packages/core/src/actions/sendTransaction.test.ts:24:3 Caused by: TransactionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Request Arguments: from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 to: 0xd2135CfB216b74109775236E36d4b433F1DF507B value: 0.0001 ETH Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fee` is the gas fee,', ' - `value` is the amount of ether to send to the recipient.', ' ', 'Request Arguments:', ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n to: 0xd2135CfB216b74109775236E36d4b433F1DF507B\n value: 0.0001 ETH' ], shortMessage: 'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.', version: '2.21.28', walk: 'Function<walk>' } Caused by: InsufficientFundsError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getNodeError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fe

Check failure on line 24 in packages/core/src/actions/sendTransaction.test.ts

View workflow job for this annotation

GitHub Actions / Verify / Test (3, 3)

packages/core/src/actions/sendTransaction.test.ts > default

AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving ❯ packages/core/src/actions/sendTransaction.test.ts:24:3 Caused by: TransactionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Request Arguments: from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 to: 0xd2135CfB216b74109775236E36d4b433F1DF507B value: 0.0001 ETH Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fee` is the gas fee,', ' - `value` is the amount of ether to send to the recipient.', ' ', 'Request Arguments:', ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n to: 0xd2135CfB216b74109775236E36d4b433F1DF507B\n value: 0.0001 ETH' ], shortMessage: 'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.', version: '2.21.28', walk: 'Function<walk>' } Caused by: InsufficientFundsError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. This error could arise when the account does not have enough funds to: - pay for the total gas fee, - pay for the value to send. The cost of the transaction is calculated as `gas * gas fee + value`, where: - `gas` is the amount of gas needed for transaction to execute, - `gas fee` is the gas fee, - `value` is the amount of ether to send to the recipient. Details: Insufficient funds for gas * price + value Version: 2.21.28 ❯ getNodeError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:326:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:108:16 ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'Insufficient funds for gas * price + value', docsPath: undefined, metaMessages: [ 'This error could arise when the account does not have enough funds to:', ' - pay for the total gas fee,', ' - pay for the value to send.', ' ', 'The cost of the transaction is calculated as `gas * gas fee + value`, where:', ' - `gas` is the amount of gas needed for transaction to execute,', ' - `gas fe
await disconnect(config, { connector })
Expand Down Expand Up @@ -93,7 +93,7 @@ test('behavior: local account', async () => {
sendTransaction(config, {
account,
to: '0xd2135CfB216b74109775236E36d4b433F1DF507B',
value: parseEther('0.01'),
value: parseEther('0.0001'),
}),
).resolves.toMatch(transactionHashRegex)
})

0 comments on commit f79e1ba

Please sign in to comment.