feat(http): onFetchRequest #398
Annotations
11 errors and 2 warnings
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Run tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading