fix: waitForTransactionReceipt proper eth_call usage (#4339) #897
changesets.yml
on: push
Annotations
34 errors and 2 warnings
packages/core/src/actions/waitForTransactionReceipt.test.ts > behavior: transaction reverted:
packages/core/src/actions/waitForTransactionReceipt.test.ts#L39
Error: Snapshot `behavior: transaction reverted 1` mismatched
- Expected
+ Received
- [Error: unknown reason]
+ [CallExecutionError: Execution reverted with reason: PartyBid::claim: contribution already claimed.
+
+ Raw Call Arguments:
+ to: 0xf1332f21487e74612ed3a0fb36da729b73f1ae19
+ value: 0 ETH
+ data: 0x1e83409a000000000000000000000000a0cf798816d4b9b9866b5330eea46a18382f251e
+ gas: 128730
+ maxFeePerGas: 43.307900987 gwei
+ maxPriorityFeePerGas: 1.5 gwei
+ nonce: 43
+
+ Details: execution reverted: PartyBid::claim: contribution already claimed
+ Version: 2.21.28]
❯ packages/core/src/actions/waitForTransactionReceipt.test.ts:39:3
|
packages/core/src/actions/waitForTransactionReceipt.test.ts > behavior: transaction reverted:
packages/core/src/actions/waitForTransactionReceipt.test.ts#L39
Error: toMatchInlineSnapshot cannot be called multiple times at the same location.
❯ packages/core/src/actions/waitForTransactionReceipt.test.ts:39:3
|
packages/core/src/actions/waitForTransactionReceipt.test.ts > behavior: transaction reverted:
packages/core/src/actions/waitForTransactionReceipt.test.ts#L39
Error: toMatchInlineSnapshot cannot be called multiple times at the same location.
❯ packages/core/src/actions/waitForTransactionReceipt.test.ts:39:3
|
packages/core/src/actions/waitForTransactionReceipt.test.ts > behavior: transaction reverted:
packages/core/src/actions/waitForTransactionReceipt.test.ts#L39
Error: toMatchInlineSnapshot cannot be called multiple times at the same location.
❯ packages/core/src/actions/waitForTransactionReceipt.test.ts:39:3
|
packages/core/src/actions/waitForTransactionReceipt.test.ts > behavior: transaction reverted:
packages/core/src/actions/waitForTransactionReceipt.test.ts#L39
Error: Snapshot `behavior: transaction reverted 1` mismatched
- Expected
+ Received
- [Error: unknown reason]
+ [CallExecutionError: Execution reverted with reason: PartyBid::claim: contribution already claimed.
+
+ Raw Call Arguments:
+ to: 0xf1332f21487e74612ed3a0fb36da729b73f1ae19
+ value: 0 ETH
+ data: 0x1e83409a000000000000000000000000a0cf798816d4b9b9866b5330eea46a18382f251e
+ gas: 128730
+ maxFeePerGas: 43.307900987 gwei
+ maxPriorityFeePerGas: 1.5 gwei
+ nonce: 43
+
+ Details: execution reverted: PartyBid::claim: contribution already claimed
+ Version: 2.21.28]
❯ packages/core/src/actions/waitForTransactionReceipt.test.ts:39:3
|
packages/core/src/actions/waitForTransactionReceipt.test.ts > behavior: transaction reverted:
packages/core/src/actions/waitForTransactionReceipt.test.ts#L39
Error: toMatchInlineSnapshot cannot be called multiple times at the same location.
❯ packages/core/src/actions/waitForTransactionReceipt.test.ts:39:3
|
packages/core/src/actions/waitForTransactionReceipt.test.ts > behavior: transaction reverted:
packages/core/src/actions/waitForTransactionReceipt.test.ts#L39
Error: toMatchInlineSnapshot cannot be called multiple times at the same location.
❯ packages/core/src/actions/waitForTransactionReceipt.test.ts:39:3
|
packages/core/src/actions/waitForTransactionReceipt.test.ts > behavior: transaction reverted:
packages/core/src/actions/waitForTransactionReceipt.test.ts#L39
Error: toMatchInlineSnapshot cannot be called multiple times at the same location.
❯ packages/core/src/actions/waitForTransactionReceipt.test.ts:39:3
|
packages/core/src/actions/sendTransaction.test.ts > behavior: local account:
packages/core/src/actions/sendTransaction.test.ts#L104
AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving
❯ packages/core/src/actions/sendTransaction.test.ts:104: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:98: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:98: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 > behavior: local account:
packages/core/src/actions/sendTransaction.test.ts#L104
AssertionError: promise rejected "TransactionExecutionError: The total cost… { …(6) }" instead of resolving
❯ packages/core/src/actions/sendTransaction.test.ts:104: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:98: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:98: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 f
|
Verify / Types (5.3.3, latest)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.3.3, latest)
The operation was canceled.
|
Verify / Types (5.4.5, latest)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.4.5, latest)
The operation was canceled.
|
Verify / Types (5.4.5, 2.21.28)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.4.5, 2.21.28)
The operation was canceled.
|
Verify / Types (5.0.4, latest)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.0.4, latest)
The operation was canceled.
|
Verify / Types (5.1.6, 2.21.28)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.1.6, 2.21.28)
The operation was canceled.
|
Verify / Types (5.0.4, 2.21.28)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.0.4, 2.21.28)
The operation was canceled.
|
Verify / Types (5.2.2, latest)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.2.2, latest)
The operation was canceled.
|
Verify / Types (5.5.2, 2.21.28)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.5.2, 2.21.28)
The operation was canceled.
|
Verify / Types (5.2.2, 2.21.28)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.2.2, 2.21.28)
The operation was canceled.
|
Verify / Types (5.3.3, 2.21.28)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.3.3, 2.21.28)
The operation was canceled.
|
Verify / Types (5.5.2, latest)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.5.2, latest)
The operation was canceled.
|
Verify / Types (5.1.6, latest)
Canceling since a higher priority waiting request for 'Changesets-refs/heads/main' exists
|
Verify / Types (5.1.6, latest)
The operation was canceled.
|
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
|