fix: add blockTag
to observerId
to avoid id collisions (#2019)
#1
Annotations
11 errors and 2 warnings
|
Run tests:
src/utils/errors/getTransactionError.ts#L44
TransactionExecutionError: The request took too long to respond.
URL: http://localhost
Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":6}
Request Arguments:
from: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
to: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
data: 0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001
Details: The request timed out.
Version: [email protected]
Anvil log output
=======================================
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
Anvil log output
=======================================
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
Anvil log output
=======================================
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
Anvil log output
=======================================
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
eth_getFilterChanges
❯ Module.getTransactionError src/utils/errors/getTransactionError.ts:44:10
❯ Module.sendTransaction src/actions/wallet/sendTransaction.ts:238:11
❯ src/actions/public/watchContractEvent.test.ts:78:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'The request timed out.', docsPath: undefined, metaMessages: [ 'URL: http://localhost', 'Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":6}', ' ', 'Request Arguments:', ' from: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045\n to: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\n data: 0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001' ], shortMessage: 'The request took too long to respond.', version: '[email protected]', walk: 'Function<walk>' }
Caused by: Caused by: TimeoutError: The request took too long to respond.
URL: http://localhost
Request body: {"method":"eth_sendTransaction"
|
Run tests:
src/utils/errors/getTransactionError.ts#L44
TransactionExecutionError: The request took too long to respond.
URL: http://localhost
Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":9}
Request Arguments:
from: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
to: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
data: 0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001
Details: The request timed out.
Version: [email protected]
❯ Module.getTransactionError src/utils/errors/getTransactionError.ts:44:10
❯ Module.sendTransaction src/actions/wallet/sendTransaction.ts:238:11
❯ src/actions/public/watchContractEvent.test.ts:78:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'The request timed out.', docsPath: undefined, metaMessages: [ 'URL: http://localhost', 'Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":9}', ' ', 'Request Arguments:', ' from: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045\n to: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\n data: 0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001' ], shortMessage: 'The request took too long to respond.', version: '[email protected]', walk: 'Function<walk>' }
Caused by: Caused by: TimeoutError: The request took too long to respond.
URL: http://localhost
Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":9}
Details: The request timed out.
Version: [email protected]
❯ Object.request src/utils/rpc/http.ts:100:28
❯ Object.request test/src/utils.ts:113:47
❯ withRetry.delay.count.count src/utils/buildRequest.ts:104:24
❯ attemptRetry src/utils/promise/withRetry.ts:44:28
❯ src/utils/promise/withRetry.ts:55:5
❯ Module.withRetry src/utils/promise/withRetry.ts:34:10
❯ Object.request src/utils/buildRequest.ts:101:12
❯ Module.sendTransaction src/actions/wallet/sendTransaction.ts:230:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'The request timed out.', docsPath: undefined, metaMessages: [ 'URL: http://localhost', 'Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":9}' ], shortMessage: 'The request took too long to respond.', version: '[email protected]', walk: 'Function<walk>' }
|
Run tests:
src/utils/errors/getTransactionError.ts#L44
TransactionExecutionError: The request took too long to respond.
URL: http://localhost
Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":12}
Request Arguments:
from: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
to: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
data: 0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001
Details: The request timed out.
Version: [email protected]
❯ Module.getTransactionError src/utils/errors/getTransactionError.ts:44:10
❯ Module.sendTransaction src/actions/wallet/sendTransaction.ts:238:11
❯ src/actions/public/watchContractEvent.test.ts:78:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'The request timed out.', docsPath: undefined, metaMessages: [ 'URL: http://localhost', 'Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":12}', ' ', 'Request Arguments:', ' from: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045\n to: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\n data: 0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001' ], shortMessage: 'The request took too long to respond.', version: '[email protected]', walk: 'Function<walk>' }
Caused by: Caused by: TimeoutError: The request took too long to respond.
URL: http://localhost
Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":12}
Details: The request timed out.
Version: [email protected]
❯ Object.request src/utils/rpc/http.ts:100:28
❯ Object.request test/src/utils.ts:113:47
❯ withRetry.delay.count.count src/utils/buildRequest.ts:104:24
❯ attemptRetry src/utils/promise/withRetry.ts:44:28
❯ src/utils/promise/withRetry.ts:55:5
❯ Module.withRetry src/utils/promise/withRetry.ts:34:10
❯ Object.request src/utils/buildRequest.ts:101:12
❯ Module.sendTransaction src/actions/wallet/sendTransaction.ts:230:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'The request timed out.', docsPath: undefined, metaMessages: [ 'URL: http://localhost', 'Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":12}' ], shortMessage: 'The request took too long to respond.', version: '[email protected]', walk: 'Function<walk>' }
|
Run tests:
src/utils/errors/getTransactionError.ts#L44
TransactionExecutionError: The request took too long to respond.
URL: http://localhost
Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":15}
Request Arguments:
from: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
to: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
data: 0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001
Details: The request timed out.
Version: [email protected]
❯ Module.getTransactionError src/utils/errors/getTransactionError.ts:44:10
❯ Module.sendTransaction src/actions/wallet/sendTransaction.ts:238:11
❯ src/actions/public/watchContractEvent.test.ts:78:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'The request timed out.', docsPath: undefined, metaMessages: [ 'URL: http://localhost', 'Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":15}', ' ', 'Request Arguments:', ' from: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045\n to: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\n data: 0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001' ], shortMessage: 'The request took too long to respond.', version: '[email protected]', walk: 'Function<walk>' }
Caused by: Caused by: TimeoutError: The request took too long to respond.
URL: http://localhost
Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":15}
Details: The request timed out.
Version: [email protected]
❯ Object.request src/utils/rpc/http.ts:100:28
❯ Object.request test/src/utils.ts:113:47
❯ withRetry.delay.count.count src/utils/buildRequest.ts:104:24
❯ attemptRetry src/utils/promise/withRetry.ts:44:28
❯ src/utils/promise/withRetry.ts:55:5
❯ Module.withRetry src/utils/promise/withRetry.ts:34:10
❯ Object.request src/utils/buildRequest.ts:101:12
❯ Module.sendTransaction src/actions/wallet/sendTransaction.ts:230:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'The request timed out.', docsPath: undefined, metaMessages: [ 'URL: http://localhost', 'Request body: {"method":"eth_sendTransaction","params":[{"data":"0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000001","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"id":15}' ], shortMessage: 'The request took too long to respond.', version: '[email protected]', walk: 'Function<walk>' }
|
Run tests:
src/actions/wallet/prepareTransactionRequest.test.ts#L688
Error: Snapshot `prepareTransactionRequest > args: parameters 3` mismatched
Anvil log output
=======================================
eth_getBlockByNumber
eth_estimateGas
eth_getBlockByNumber
eth_estimateGas
eth_getTransactionCount
eth_getBlockByNumber
eth_estimateGas
evm_setIntervalMining
anvil_setBalance
anvil_setBalance
anvil_setNextBlockBaseFeePerGas
anvil_mine
Block Number: 16280796
Block Hash: 0x6851a4b8e4e690b6e11d6dd77b61bc69e1352dc9263df6ce23d0f007c440baea
Block Time: "Wed, 28 Dec 2022 04:10:32 +0000"
eth_getBlockByNumber
eth_estimateGas
eth_getBlockByNumber
eth_estimateGas
eth_getTransactionCount
eth_getBlockByNumber
eth_estimateGas
Anvil log output
=======================================
eth_getBlockByNumber
eth_estimateGas
eth_getBlockByNumber
eth_estimateGas
eth_getTransactionCount
eth_getBlockByNumber
eth_estimateGas
evm_setIntervalMining
anvil_setBalance
anvil_setBalance
anvil_setNextBlockBaseFeePerGas
anvil_mine
Block Number: 16280796
Block Hash: 0x6851a4b8e4e690b6e11d6dd77b61bc69e1352dc9263df6ce23d0f007c440baea
Block Time: "Wed, 28 Dec 2022 04:10:32 +0000"
eth_getBlockByNumber
eth_estimateGas
eth_getBlockByNumber
eth_estimateGas
eth_getTransactionCount
eth_getBlockByNumber
eth_estimateGas
Anvil log output
=======================================
eth_getBlockByNumber
eth_estimateGas
eth_getBlockByNumber
eth_estimateGas
eth_getTransactionCount
eth_getBlockByNumber
eth_estimateGas
evm_setIntervalMining
anvil_setBalance
anvil_setBalance
anvil_setNextBlockBaseFeePerGas
anvil_mine
Block Number: 16280796
Block Hash: 0x6851a4b8e4e690b6e11d6dd77b61bc69e1352dc9263df6ce23d0f007c440baea
Block Time: "Wed, 28 Dec 2022 04:10:32 +0000"
eth_getBlockByNumber
eth_estimateGas
eth_getBlockByNumber
eth_estimateGas
eth_getTransactionCount
eth_getBlockByNumber
eth_estimateGas
Anvil log output
=======================================
eth_getBlockByNumber
eth_estimateGas
eth_getBlockByNumber
eth_estimateGas
eth_getTransactionCount
eth_getBlockByNumber
eth_estimateGas
evm_setIntervalMining
anvil_setBalance
anvil_setBalance
anvil_setNextBlockBaseFeePerGas
anvil_mine
Block Number: 16280796
Block Hash: 0x6851a4b8e4e690b6e11d6dd77b61bc69e1352dc9263df6ce23d0f007c440baea
Block Time: "Wed, 28 Dec 2022 04:10:32 +0000"
eth_getBlockByNumber
eth_estimateGas
eth_getBlockByNumber
eth_estimateGas
eth_getTransactionCount
eth_getBlockByNumber
eth_estimateGas
- Expected
+ Received
@@ -10,10 +10,10 @@
},
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"gas": 21000n,
"maxFeePerGas": 13000000000n,
"maxPriorityFeePerGas": 1000000000n,
- "nonce": 375,
+ "nonce": 382,
"to": "0x70997970c51812dc3a010c7d01b50e0d17dc79c8",
"type": "eip1559",
"value": 1000000000000000000n,
}
❯ src/actions/wallet/prepareTransactionRequest.test.ts:688:21
|
Run tests:
src/actions/wallet/prepareTransactionRequest.test.ts#L688
Error: Snapshot `prepareTransactionRequest > args: parameters 6` mismatched
- Expected
+ Received
@@ -10,10 +10,10 @@
},
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"gas": 21000n,
"maxFeePerGas": 13000000000n,
"maxPriorityFeePerGas": 1000000000n,
- "nonce": 375,
+ "nonce": 382,
"to": "0x70997970c51812dc3a010c7d01b50e0d17dc79c8",
"type": "eip1559",
"value": 1000000000000000000n,
}
❯ src/actions/wallet/prepareTransactionRequest.test.ts:688:21
|
Run tests:
src/actions/wallet/prepareTransactionRequest.test.ts#L688
Error: Snapshot `prepareTransactionRequest > args: parameters 9` mismatched
- Expected
+ Received
@@ -10,10 +10,10 @@
},
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"gas": 21000n,
"maxFeePerGas": 13000000000n,
"maxPriorityFeePerGas": 1000000000n,
- "nonce": 375,
+ "nonce": 382,
"to": "0x70997970c51812dc3a010c7d01b50e0d17dc79c8",
"type": "eip1559",
"value": 1000000000000000000n,
}
❯ src/actions/wallet/prepareTransactionRequest.test.ts:688:21
|
Run tests:
src/actions/wallet/prepareTransactionRequest.test.ts#L688
Error: Snapshot `prepareTransactionRequest > args: parameters 12` mismatched
- Expected
+ Received
@@ -10,10 +10,10 @@
},
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"gas": 21000n,
"maxFeePerGas": 13000000000n,
"maxPriorityFeePerGas": 1000000000n,
- "nonce": 375,
+ "nonce": 382,
"to": "0x70997970c51812dc3a010c7d01b50e0d17dc79c8",
"type": "eip1559",
"value": 1000000000000000000n,
}
❯ src/actions/wallet/prepareTransactionRequest.test.ts:688:21
|
Run tests:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: An unknown error occurred while executing the contract function "depositTransaction".
Estimate Gas Arguments:
from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
to: 0xbEb5Fc579115071764c7423A4f12eDde41f106Ed
data: 0xe9e05c4200000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005208000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data)
args: (0x70997970c51812dc3a010c7d01b50e0d17dc79c8, 0, 21000, false, 0x)
Docs: https://viem.sh/docs/contract/estimateContractGas
Details: Cannot convert undefined to a BigInt
Version: [email protected]
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.estimateContractGas src/actions/public/estimateContractGas.ts:125:11
❯ Module.depositTransaction src/op-stack/actions/depositTransaction.ts:152:9
❯ src/op-stack/actions/buildDepositTransaction.test.ts:35:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Cannot convert undefined to a BigInt', docsPath: '/docs/contract/estimateContractGas', metaMessages: [ 'Estimate Gas Arguments:', ' from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266\n to: 0xbEb5Fc579115071764c7423A4f12eDde41f106Ed\n data: 0xe9e05c4200000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005208000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data)\n args: (0x70997970c51812dc3a010c7d01b50e0d17dc79c8, 0, 21000, false, 0x)' ], shortMessage: 'An unknown error occurred while executing the contract function "depositTransaction".', version: '[email protected]', abi: [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [] }, { type: 'event', anonymous: false, inputs: [ { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false } ], name: 'Initialized' }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false } ], name: 'Paused' }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'version', internalType: 'uint256', type: 'uint256', indexed: true }, { name: 'opaqueData', internalType: 'bytes', type: 'bytes', indexed: false } ], name: 'TransactionDeposited' }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false } ], name: 'Unpaused' }, { type: 'event', anonymous: false, inputs: [ { name: 'withdrawalHash', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'success', internalType: 'bool', type: 'bool', indexed: false } ], name: 'WithdrawalFinalized' }, { type: 'event', anonymous: false, inputs: [ { name: 'withdrawalHash', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true } ], name: 'WithdrawalProven' }, { stateMutability: 'view', type: 'function', inputs: [], name: 'GUARDIAN', outputs: [ { name: '', internalType: 'address', type: 'address' } ] }, { stateMutability: 'view', type: 'function', i
|
Run tests:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: An unknown error occurred while executing the contract function "depositTransaction".
Estimate Gas Arguments:
from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
to: 0xbEb5Fc579115071764c7423A4f12eDde41f106Ed
data: 0xe9e05c4200000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005208000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data)
args: (0x70997970c51812dc3a010c7d01b50e0d17dc79c8, 0, 21000, false, 0x)
Docs: https://viem.sh/docs/contract/estimateContractGas
Details: Cannot convert undefined to a BigInt
Version: [email protected]
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.estimateContractGas src/actions/public/estimateContractGas.ts:125:11
❯ Module.depositTransaction src/op-stack/actions/depositTransaction.ts:152:9
❯ src/op-stack/actions/buildDepositTransaction.test.ts:35:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Cannot convert undefined to a BigInt', docsPath: '/docs/contract/estimateContractGas', metaMessages: [ 'Estimate Gas Arguments:', ' from: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266\n to: 0xbEb5Fc579115071764c7423A4f12eDde41f106Ed\n data: 0xe9e05c4200000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005208000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data)\n args: (0x70997970c51812dc3a010c7d01b50e0d17dc79c8, 0, 21000, false, 0x)' ], shortMessage: 'An unknown error occurred while executing the contract function "depositTransaction".', version: '[email protected]', abi: [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [] }, { type: 'event', anonymous: false, inputs: [ { name: 'version', internalType: 'uint8', type: 'uint8', indexed: false } ], name: 'Initialized' }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false } ], name: 'Paused' }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'version', internalType: 'uint256', type: 'uint256', indexed: true }, { name: 'opaqueData', internalType: 'bytes', type: 'bytes', indexed: false } ], name: 'TransactionDeposited' }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false } ], name: 'Unpaused' }, { type: 'event', anonymous: false, inputs: [ { name: 'withdrawalHash', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'success', internalType: 'bool', type: 'bool', indexed: false } ], name: 'WithdrawalFinalized' }, { type: 'event', anonymous: false, inputs: [ { name: 'withdrawalHash', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true } ], name: 'WithdrawalProven' }, { stateMutability: 'view', type: 'function', inputs: [], name: 'GUARDIAN', outputs: [ { name: '', internalType: 'address', type: 'address' } ] }, { stateMutability: 'view', type: 'function', i
|
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