Skip to content

feat(http): onFetchRequest #398

feat(http): onFetchRequest

feat(http): onFetchRequest #398

Triggered via pull request March 30, 2024 16:52
Status Failure
Total duration 3m 36s
Artifacts

pull-request.yml

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

Annotations

27 errors and 4 warnings
Verify / Types (5.3.2)
Process completed with exit code 2.
Verify / Types (latest)
The job was canceled because "_5_3_2" failed.
Verify / Types (latest)
The operation was canceled.
Size
Size limit has been exceeded.
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 1` mismatched Anvil log output ======================================= eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion Anvil log output ======================================= eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion Anvil log output ======================================= eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 2` mismatched - Expected + Received [ { - "id": 70, + "id": 74, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, { - "id": 71, + "id": 75, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, ] ❯ src/utils/rpc/http.test.ts:329:7
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 3` mismatched - Expected + Received [ { - "id": 70, + "id": 76, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, { - "id": 71, + "id": 77, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, ] ❯ src/utils/rpc/http.test.ts:329:7
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 4` mismatched - Expected + Received [ { - "id": 70, + "id": 78, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, { - "id": 71, + "id": 79, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, ] ❯ src/utils/rpc/http.test.ts:329:7
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 1` mismatched Anvil log output ======================================= eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion Anvil log output ======================================= eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion Anvil log output ======================================= eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 2` mismatched - Expected + Received [ { - "id": 70, + "id": 74, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, { - "id": 71, + "id": 75, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, ] ❯ src/utils/rpc/http.test.ts:329:7
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 3` mismatched - Expected + Received [ { - "id": 70, + "id": 76, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, { - "id": 71, + "id": 77, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, ] ❯ src/utils/rpc/http.test.ts:329:7
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 4` mismatched - Expected + Received [ { - "id": 70, + "id": 78, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, { - "id": 71, + "id": 79, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, ] ❯ src/utils/rpc/http.test.ts:329:7
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 1` mismatched Anvil log output ======================================= eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion Anvil log output ======================================= eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion evm_setIntervalMining web3_clientVersion web3_clientVersion Anvil log output ======================================= eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_getBlockByNumber eth_
src/utils/rpc/http.test.ts > http (batch) > valid request: src/utils/rpc/http.test.ts#L329
Error: Snapshot `http (batch) > valid request 2` mismatched - Expected + Received [ { - "id": 70, + "id": 74, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, { - "id": 71, + "id": 75, "jsonrpc": "2.0", "result": "anvil/v0.2.0", }, ] ❯ src/utils/rpc/http.test.ts:329:7
Verify / Test (webSocket, 1, 3)
The job was canceled because "http_2_3" failed.
Verify / Test (webSocket, 1, 3)
The operation was canceled.
Verify / Test (http, 3, 3)
The job was canceled because "http_2_3" failed.
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 1` mismatched Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 2` mismatched - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 3` mismatched - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 4` mismatched - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 1` mismatched Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 2` mismatched - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 3` mismatched - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 4` mismatched - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 1` mismatched Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining Anvil log output ======================================= evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining anvil_reset evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining evm_setIntervalMining - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
src/op-stack/actions/initiateWithdrawal.test.ts > error: insufficient funds: src/op-stack/actions/initiateWithdrawal.test.ts#L93
Error: Snapshot `error: insufficient funds 2` mismatched - Expected + Received @@ -1,15 +1,9 @@ - [ContractFunctionExecutionError: The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account. + [ContractFunctionExecutionError: Transaction creation failed. - 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. + URL: http://localhost + Request body: {"method":"eth_estimateGas","params":[{"from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","data":"0xc2b3e5ac000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000520800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004deadbeef00000000000000000000000000000000000000000000000000000000","gas":"0x45","to":"0x4200000000000000000000000000000000000016","value":"0x43c33c1937564800000"}]} Estimate Gas Arguments: from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 to: 0x4200000000000000000000000000000000000016 value: 20000 ETH @@ -21,7 +15,7 @@ function: initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) args: (0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266, 21000, 0xdeadbeef) sender: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 Docs: https://viem.sh/docs/contract/estimateContractGas - Details: Insufficient funds for gas * price + value + Details: Out of gas: gas required exceeds allowance: 0x0000000000000000000000000000000000000000000000000000000000000045_U256 Version: viem@1.0.2] ❯ src/op-stack/actions/initiateWithdrawal.test.ts:93:3
Verify / Test (http, 2, 3)
Attempt 1 failed. Reason: Child_process exited with error code 1
Verify / Test (http, 2, 3)
Attempt 2 failed. Reason: Child_process exited with error code 1
Verify / Test (http, 3, 3)
Attempt 1 failed. Reason: Child_process exited with error code 1
Verify / Test (http, 3, 3)
Attempt 2 failed. Reason: Child_process exited with error code 1