Skip to content

✨ Feat: Offer more forking options and test docs #3581

✨ Feat: Offer more forking options and test docs

✨ Feat: Offer more forking options and test docs #3581

Triggered via pull request February 24, 2025 00:09
Status Failure
Total duration 5m 51s
Artifacts

nx.yml

on: pull_request
Nx Cloud - Main Job
5m 40s
Nx Cloud - Main Job
Matrix: Nx Cloud Agents
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
src/createTevmNode.spec.ts > createTevmNode > Handles fork mode with provided transport: 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
src/Call/callHandler.spec.ts > callHandler > should return op stack info if forking: packages/actions/src/Call/callHandler.spec.ts#L567
AssertionError: expected [ …(1) ] to be undefined ❯ src/Call/callHandler.spec.ts:567:25
src/Call/callHandler.spec.ts > callHandler > should handle opstack throwing unexpectedly: packages/actions/src/Call/callHandler.spec.ts#L613
AssertionError: expected [ …(1) ] to be undefined ❯ src/Call/callHandler.spec.ts:613:25
src/Call/callHandler.spec.ts > callHandler > should handle being unable to get options: 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
src/Contract/contractHandler.spec.ts > contractHandler > should return op stack info if forking: packages/actions/src/Contract/contractHandler.spec.ts#L218
AssertionError: expected [ …(1) ] to be undefined ❯ src/Contract/contractHandler.spec.ts:218:25
src/Contract/contractHandler.spec.ts > contractHandler > should handle op stack info if forking: 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
src/test/requests.spec.ts > Tevm.request > Should be able to create a contract using these foundry artifacts: packages/memory-client/src/test/requests.spec.ts#L223
AssertionError: expected [ …(1) ] to be undefined ❯ it.timeout src/test/requests.spec.ts:223:23
src/test/tevm.spec.ts > Tevm should create a local vm in JavaScript > client.contract > should fork a network and then execute a contract call: 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
src/TevmProvider.spec.ts > TevmProvider > should be able to do tevm specific requests > provider.tevm.call: 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
Nx Cloud - Main Job
Process completed with exit code 1.
Nx Cloud Agents (2)
Cache not found for keys: linux-foundry-chain-fork-agents-efc543aa08cd393042077d91b497e45873aed208, linux-foundry-chain-fork-agents-, linux-foundry-chain-fork-
Nx Cloud Agents (1)
Cache not found for keys: linux-foundry-chain-fork-agents-efc543aa08cd393042077d91b497e45873aed208, linux-foundry-chain-fork-agents-, linux-foundry-chain-fork-
Nx Cloud Agents (4)
Cache not found for keys: linux-foundry-chain-fork-agents-efc543aa08cd393042077d91b497e45873aed208, linux-foundry-chain-fork-agents-, linux-foundry-chain-fork-
Nx Cloud Agents (3)
Cache not found for keys: linux-foundry-chain-fork-agents-efc543aa08cd393042077d91b497e45873aed208, linux-foundry-chain-fork-agents-, linux-foundry-chain-fork-
Nx Cloud Agents (6)
Cache not found for keys: linux-foundry-chain-fork-agents-efc543aa08cd393042077d91b497e45873aed208, linux-foundry-chain-fork-agents-, linux-foundry-chain-fork-
Nx Cloud Agents (5)
Cache not found for keys: linux-foundry-chain-fork-agents-efc543aa08cd393042077d91b497e45873aed208, linux-foundry-chain-fork-agents-, linux-foundry-chain-fork-
Nx Cloud - Main Job
Cache not found for keys: linux-foundry-chain-fork-main-efc543aa08cd393042077d91b497e45873aed208, linux-foundry-chain-fork-main-, linux-foundry-chain-fork-