Skip to content

fix: MetaMask readonlyRPCMap type #926

fix: MetaMask readonlyRPCMap type

fix: MetaMask readonlyRPCMap type #926

Triggered via pull request October 23, 2024 18:57
@tmmtmm
synchronize #4362
fix-rpc-map-type
Status Success
Total duration 4m 7s
Artifacts

pull-request.yml

on: pull_request
Matrix: Verify / Test
Matrix: Verify / Types
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 3 warnings
packages/core/src/actions/getBalance.test.ts > getBalance > default: packages/core/src/actions/getBalance.test.ts#L24
Error: Snapshot `getBalance > default 1` mismatched - Expected + Received { "decimals": 18, - "formatted": "10000", + "formatted": "9999.997934385343786198", "symbol": "ETH", - "value": 10000000000000000000000n, + "value": 9999997934385343786198n, } ❯ packages/core/src/actions/getBalance.test.ts:24:5
packages/core/src/actions/getBalance.test.ts > getBalance > default: packages/core/src/actions/getBalance.test.ts#L24
Error: toMatchInlineSnapshot cannot be called multiple times at the same location. ❯ packages/core/src/actions/getBalance.test.ts:24:5
packages/core/src/actions/getBalance.test.ts > getBalance > default: packages/core/src/actions/getBalance.test.ts#L24
Error: toMatchInlineSnapshot cannot be called multiple times at the same location. ❯ packages/core/src/actions/getBalance.test.ts:24:5
packages/core/src/actions/getBalance.test.ts > getBalance > default: packages/core/src/actions/getBalance.test.ts#L24
Error: toMatchInlineSnapshot cannot be called multiple times at the same location. ❯ packages/core/src/actions/getBalance.test.ts:24:5
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/sendTransaction.test.ts#L24
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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/sendTransaction.test.ts#L24
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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/sendTransaction.test.ts#L24
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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/sendTransaction.test.ts#L24
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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/sendTransaction.test.ts#L24
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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/sendTransaction.test.ts#L24
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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/sendTransaction.test.ts#L24
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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/sendTransaction.test.ts#L24
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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:44:10 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getNodeError.ts:103:12 ❯ node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:37:19 ❯ getTransactionError node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/node_modules/viem/utils/errors/getTransactionError.ts:43:5 ❯ sendTransaction node_modules/.pnpm/viem@2.21.28_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.22.4/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
Verify / Test (2, 3)
Attempt 1 failed. Reason: Child_process exited with error code 1
Verify / Test (3, 3)
Attempt 1 failed. Reason: Child_process exited with error code 1
Verify / Test (3, 3)
Attempt 2 failed. Reason: Child_process exited with error code 1