✨ Feat: Offer more forking options and test docs #3581
Annotations
10 errors and 1 warning
Run verification:
packages/node/src/createTevmNode.spec.ts#L107
AssertionError: expected { request: [AsyncFunction] } to be { config: { …(7) }, …(2) } // Object.is equality
- Expected
+ Received
Object {
- "config": Object {
- "key": "loadBalance",
- "name": "Load Balance",
- "request": [Function request],
- "retryCount": 3,
- "retryDelay": 150,
- "timeout": undefined,
- "type": "loadBalance",
- },
"request": [Function anonymous],
- "value": undefined,
}
❯ src/createTevmNode.spec.ts:107:25
|
Run verification:
packages/actions/src/Call/callHandler.spec.ts#L567
AssertionError: expected [ …(1) ] to be undefined
❯ src/Call/callHandler.spec.ts:567:25
|
Run verification:
packages/actions/src/Call/callHandler.spec.ts#L613
AssertionError: expected [ …(1) ] to be undefined
❯ src/Call/callHandler.spec.ts:613:25
|
Run verification:
packages/actions/src/SetAccount/setAccountHandler.js#L93
InternalError: Unexpected error setting account
Docs: https://tevm.sh/reference/tevm/errors/classes/internalerror/
Details: /reference/tevm/errors/classes/internalerror/
Version: 1.1.0.next-73
❯ src/SetAccount/setAccountHandler.js:93:16
❯ src/Call/callHandler.spec.ts:683:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _tag: 'InternalError', details: '/reference/tevm/errors/classes/internalerror/', docsPath: '/reference/tevm/errors/classes/internalerror/', metaMessages: undefined, shortMessage: 'Unexpected error setting account', version: '1.1.0.next-73', code: -32603, meta: undefined, walk: 'Function<walk>' }
Caused by: Caused by: InternalError: UnexpectedError in getAccountHandler
Docs: https://tevm.sh/reference/tevm/errors/classes/internalerror/
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}
Details: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378567)
Version: 2.21.15
Version: 2.21.1
Version: 1.1.0.next-73
❯ src/GetAccount/getAccountHandler.js:156:11
❯ src/SetAccount/setAccountHandler.js:38:20
❯ src/Call/callHandler.spec.ts:683:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _tag: 'InternalError', details: 'Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4\nRequest body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}\n\nDetails: Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4\nRequest body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}\n\nDetails: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378567)\nVersion: 2.21.15\nVersion: 2.21.1', docsPath: '/reference/tevm/errors/classes/internalerror/', metaMessages: undefined, shortMessage: 'UnexpectedError in getAccountHandler', version: '1.1.0.next-73', code: -32603, meta: undefined, walk: 'Function<walk>' }
Caused by: Caused by: InvalidInputRpcError: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}
Details: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378567)
Version: 2.21.15
Version: 2.21.1
❯ withRetry.delay.count.count ../../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/buildRequest.ts:141:25
❯ attemptRetry ../../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://rpc.ank
|
Run verification:
packages/actions/src/Contract/contractHandler.spec.ts#L218
AssertionError: expected [ …(1) ] to be undefined
❯ src/Contract/contractHandler.spec.ts:218:25
|
Run verification:
packages/actions/src/SetAccount/setAccountHandler.js#L93
InternalError: Unexpected error setting account
Docs: https://tevm.sh/reference/tevm/errors/classes/internalerror/
Details: /reference/tevm/errors/classes/internalerror/
Version: 1.1.0.next-73
❯ src/SetAccount/setAccountHandler.js:93:16
❯ src/Contract/contractHandler.spec.ts:343:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _tag: 'InternalError', details: '/reference/tevm/errors/classes/internalerror/', docsPath: '/reference/tevm/errors/classes/internalerror/', metaMessages: undefined, shortMessage: 'Unexpected error setting account', version: '1.1.0.next-73', code: -32603, meta: undefined, walk: 'Function<walk>' }
Caused by: Caused by: InternalError: UnexpectedError in getAccountHandler
Docs: https://tevm.sh/reference/tevm/errors/classes/internalerror/
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://mainnet.optimism.io
Request body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://mainnet.optimism.io
Request body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}
Details: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378569)
Version: 2.21.15
Version: 2.21.1
Version: 1.1.0.next-73
❯ src/GetAccount/getAccountHandler.js:156:11
❯ src/SetAccount/setAccountHandler.js:38:20
❯ src/Contract/contractHandler.spec.ts:343:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _tag: 'InternalError', details: 'Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://mainnet.optimism.io\nRequest body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}\n\nDetails: Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://mainnet.optimism.io\nRequest body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}\n\nDetails: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378569)\nVersion: 2.21.15\nVersion: 2.21.1', docsPath: '/reference/tevm/errors/classes/internalerror/', metaMessages: undefined, shortMessage: 'UnexpectedError in getAccountHandler', version: '1.1.0.next-73', code: -32603, meta: undefined, walk: 'Function<walk>' }
Caused by: Caused by: InvalidInputRpcError: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://mainnet.optimism.io
Request body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://mainnet.optimism.io
Request body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}
Details: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378569)
Version: 2.21.15
Version: 2.21.1
❯ withRetry.delay.count.count ../../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/buildRequest.ts:141:25
❯ attemptRetry ../../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/viem/utils/promise/withRetry.ts:44:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://mainnet.optimism.io\nRequest body: {"method":"eth_getProof","params":["0x3333333333333333333333333333333333333333",[],"0x74ed31d"]}\n\nDetails: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378569)\nVersion: 2.21.15', docsPath: undefined, metaMessages: [ 'URL: https://mainnet.optimism.io', 'Request body: {"method":"eth_getProof","param
|
Run verification:
packages/memory-client/src/test/requests.spec.ts#L223
AssertionError: expected [ …(1) ] to be undefined
❯ it.timeout src/test/requests.spec.ts:223:23
|
Run verification:
packages/memory-client/src/test/tevm.spec.ts#L133
AssertionError: expected { …(9) } to deeply equal { amountSpent: 1442108352554n, …(12) }
- Expected
+ Received
Object {
"amountSpent": 1442108352554n,
"createdAddresses": Set {},
"data": 1n,
"executionGasUsed": 2447n,
"gas": 29976121n,
- "l1BaseFee": 9147423326n,
- "l1BlobFee": 1n,
- "l1Fee": 21223193072n,
- "l1GasUsed": 1696n,
"logs": Array [],
"rawData": "0x0000000000000000000000000000000000000000000000000000000000000001",
"selfdestruct": Set {},
"totalGasSpent": 23879n,
}
❯ src/test/tevm.spec.ts:133:16
|
Run verification:
extensions/ethers/src/TevmProvider.spec.ts#L104
InternalEvmError: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x4200000000000000000000000000000000000011",[],"0x7380499"]}
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x4200000000000000000000000000000000000011",[],"0x7380499"]}
Details: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378614)
Version: 2.21.15
Version: 2.21.1
Docs: https://tevm.sh/reference/tevm/errors/classes/internalerror/
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x4200000000000000000000000000000000000011",[],"0x7380499"]}
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x4200000000000000000000000000000000000011",[],"0x7380499"]}
Details: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378614)
Version: 2.21.15
Version: 2.21.1
Version: 1.1.0.next-73
❯ it.timeout src/TevmProvider.spec.ts:104:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _tag: 'InternalEvmError', details: 'Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4\nRequest body: {"method":"eth_getProof","params":["0x4200000000000000000000000000000000000011",[],"0x7380499"]}\n\nDetails: Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4\nRequest body: {"method":"eth_getProof","params":["0x4200000000000000000000000000000000000011",[],"0x7380499"]}\n\nDetails: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378614)\nVersion: 2.21.15\nVersion: 2.21.1', docsPath: '/reference/tevm/errors/classes/internalerror/', metaMessages: undefined, shortMessage: 'Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4\nRequest body: {"method":"eth_getProof","params":["0x4200000000000000000000000000000000000011",[],"0x7380499"]}\n\nDetails: Missing or invalid parameters.\nDouble check you have provided the correct parameters.\n\nURL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4\nRequest body: {"method":"eth_getProof","params":["0x4200000000000000000000000000000000000011",[],"0x7380499"]}\n\nDetails: requested block is too old, block must be within 100000 blocks of the head block number (currently 132378614)\nVersion: 2.21.15\nVersion: 2.21.1', version: '1.1.0.next-73', code: +0, walk: 'Function<walk>' }
Caused by: Caused by: InvalidInputRpcError: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x4200000000000000000000000000000000000011",[],"0x7380499"]}
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://rpc.ankr.com/optimism/33ebb28cc5bfd89b294408b6f2e20bf66244d40df6e79e26cf17f3cc8f65b8a4
Request body: {"method":"eth_getProof","params":["0x4200000000000000000000000
|
Run verification
Process completed with exit code 1.
|
Setup
Cache not found for keys: linux-foundry-chain-fork-main-efc543aa08cd393042077d91b497e45873aed208, linux-foundry-chain-fork-main-, linux-foundry-chain-fork-
|
Loading