Skip to content

chore: tweaks

chore: tweaks #816

Triggered via push September 9, 2024 19:26
Status Success
Total duration 4m 3s
Artifacts

changesets.yml

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

Annotations

4 errors and 1 warning
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/sendTransaction.test.ts#L19
AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving ❯ packages/core/src/actions/sendTransaction.test.ts:19:3 Caused by: Error: 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.01 ETH Details: Insufficient funds for gas * price + value Version: [email protected] ❯ 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:241:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:104:16 ❯ packages/core/src/actions/sendTransaction.test.ts:14:3 Caused by: Error: 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: [email protected] ❯ getNodeError node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/errors/getNodeError.ts:102: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:241:11 ❯ Module.sendTransaction packages/core/src/actions/sendTransaction.ts:104:16 ❯ packages/core/src/actions/sendTransaction.test.ts:14:3 Caused by: Error: Transaction creation failed. URL: http://127.0.0.1:8545/1 Request body: {"method":"eth_sendTransaction","params":[{"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0xd2135CfB216b74109775236E36d4b433F1DF507B","value":"0x2386f26fc10000"}]} Details: Insufficient funds for gas * price + value Version: [email protected] ❯ withRetry.delay.count.count node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/buildRequest.ts:150:25 ❯ attemptRetry node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/promise/withRetry.ts:44:22 Caused by: Error: Transaction creation failed. URL: http://127.0.0.1:8545/1 Request body: {"method":"eth_sendTransaction","params":[{"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0xd2135CfB216b74109775236E36d4b433F1DF507B","value":"0x2386f26fc10000"}]} Details: Insufficient funds for gas * price + value Version: [email protected] ❯ withRetry.delay.count.count node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/buildRequest.ts:150:25 ❯ attemptRetry node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/promise
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/connect.ts#L52
ConnectorAlreadyConnectedError: Connector already connected. Version: @wagmi/[email protected] ❯ Module.connect packages/core/src/actions/connect.ts:52:11 ❯ packages/core/src/actions/sendTransaction.test.ts:13:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Connector already connected.', docsBaseUrl: 'https://wagmi.sh/core', version: '@wagmi/[email protected]', walk: 'Function<walk>' }
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/connect.ts#L52
ConnectorAlreadyConnectedError: Connector already connected. Version: @wagmi/[email protected] ❯ Module.connect packages/core/src/actions/connect.ts:52:11 ❯ packages/core/src/actions/sendTransaction.test.ts:13:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Connector already connected.', docsBaseUrl: 'https://wagmi.sh/core', version: '@wagmi/[email protected]', walk: 'Function<walk>' }
packages/core/src/actions/sendTransaction.test.ts > default: packages/core/src/actions/connect.ts#L52
ConnectorAlreadyConnectedError: Connector already connected. Version: @wagmi/[email protected] ❯ Module.connect packages/core/src/actions/connect.ts:52:11 ❯ packages/core/src/actions/sendTransaction.test.ts:13:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Connector already connected.', docsBaseUrl: 'https://wagmi.sh/core', version: '@wagmi/[email protected]', walk: 'Function<walk>' }
Verify / Test (3, 3)
Attempt 1 failed. Reason: Child_process exited with error code 1