feat: op stack fault proofs #325
pull-request.yml
on: pull_request
Verify
/
Lint
35s
Verify
/
Vectors
1m 2s
Size
2m 8s
Matrix: Verify / Test Environments
Matrix: Verify / Test
Matrix: Verify / Types
Matrix: Verify / Wagmi
Annotations
33 errors and 10 warnings
Size
Size limit has been exceeded.
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { na
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { na
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
Verify / Test (http, 1, 3)
The job was canceled because "webSocket_1_3" failed.
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { na
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
Anvil log output
=======================================
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
eth_getBlockByHash
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByNumber
evm_setIntervalMining
eth_getBlockByHash
anvil_reset
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { na
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
src/chains/opStack/actions/buildProveWithdrawal.test.ts > default:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/actions/buildProveWithdrawal.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ]
|
Verify / Test (http, 2, 3)
The job was canceled because "webSocket_1_3" failed.
|
src/chains/opStack/decorators/publicL1.test.ts > smoke test > getGame:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
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
anvil_reset
evm_setIntervalMining
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
anvil_reset
evm_setIntervalMining
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
anvil_reset
evm_setIntervalMining
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
anvil_reset
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
evm_setIntervalMining
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/decorators/publicL1.test.ts:103:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', i
|
src/chains/opStack/decorators/publicL1.test.ts > smoke test > getGame:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/decorators/publicL1.test.ts:103:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], output
|
src/chains/opStack/decorators/publicL1.test.ts > smoke test > getGame:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/decorators/publicL1.test.ts:103:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], output
|
src/chains/opStack/decorators/publicL1.test.ts > smoke test > getGame:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "gameCount" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "gameCount",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: gameCount()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.getGames src/chains/opStack/actions/getGames.ts:95:33
❯ Module.getGame src/chains/opStack/actions/getGame.ts:87:23
❯ src/chains/opStack/decorators/publicL1.test.ts:103:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "gameCount",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: gameCount()' ], shortMessage: 'The contract function "gameCount" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'create', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'payable' }, { type: 'function', name: 'findLatestGames', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_start', type: 'uint256', internalType: 'uint256' }, { name: '_n', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'games_', type: 'tuple[]', internalType: 'struct IDisputeGameFactory.GameSearchResult[]', components: [ { name: 'index', type: 'uint256', internalType: 'uint256' }, { name: 'metadata', type: 'bytes32', internalType: 'GameId' }, { name: 'timestamp', type: 'uint64', internalType: 'Timestamp' }, { name: 'rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: 'extraData', type: 'bytes', internalType: 'bytes' } ] } ], stateMutability: 'view' }, { type: 'function', name: 'gameAtIndex', inputs: [ { name: '_index', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: 'gameType_', type: 'uint32', internalType: 'GameType' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' }, { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'gameCount', inputs: [], outputs: [ { name: 'gameCount_', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'gameImpls', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], outputs: [ { name: '', type: 'address', internalType: 'contract IDisputeGame' } ], stateMutability: 'view' }, { type: 'function', name: 'games', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'proxy_', type: 'address', internalType: 'contract IDisputeGame' }, { name: 'timestamp_', type: 'uint64', internalType: 'Timestamp' } ], stateMutability: 'view' }, { type: 'function', name: 'getGameUUID', inputs: [ { name: '_gameType', type: 'uint32', internalType: 'GameType' }, { name: '_rootClaim', type: 'bytes32', internalType: 'Claim' }, { name: '_extraData', type: 'bytes', internalType: 'bytes' } ], outputs: [ { name: 'uuid_', type: 'bytes32', internalType: 'Hash' } ], stateMutability: 'pure' }, { type: 'function', name: 'initBonds', inputs: [ { name: '', type: 'uint32', internalType: 'GameType' } ], output
|
src/chains/opStack/actions/getWithdrawalStatus.test.ts > waiting-to-prove:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "version" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "version",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: version()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "version",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: version()' ], shortMessage: 'The contract function "version" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { inputs: [ { internalType: 'uint256', name: '_proofMaturityDelaySeconds', type: 'uint256' }, { internalType: 'uint256', name: '_disputeGameFinalityDelaySeconds', type: 'uint256' }, { internalType: 'GameType', name: '_initialRespectedGameType', type: 'uint32' } ], stateMutability: 'nonpayable', type: 'constructor' }, { stateMutability: 'payable', type: 'receive' }, { inputs: [], name: 'GUARDIAN', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'SYSTEM_CONFIG', outputs: [ { internalType: 'contract SystemConfig', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '_disputeGame', type: 'address' } ], name: 'blacklistDisputeGame', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'bytes32', name: '_withdrawalHash', type: 'bytes32' } ], name: 'checkWithdrawal', outputs: [], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'address', name: '_to', type: 'address' }, { internalType: 'uint256', name: '_value', type: 'uint256' }, { internalType: 'uint64', name: '_gasLimit', type: 'uint64' }, { internalType: 'bool', name: '_isCreation', type: 'bool' }, { internalType: 'bytes', name: '_data', type: 'bytes' } ], name: 'depositTransaction', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '', type: 'address' } ], name: 'disputeGameBlacklist', outputs: [ { internalType: 'bool', name: '', type: 'bool' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFactory', outputs: [ { internalType: 'contract DisputeGameFactory', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFinalityDelaySeconds', outputs: [ { internalType: 'uint256', name: '', type: 'uint256' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'donateETH', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { components: [ { internalType: 'uint256', name: 'nonce', type: 'uint256' }, { internalType: 'address', name: 'sender', type: 'address' }, { internalType: 'address', name: 'target', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'uint256', name: 'gasLimit', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' } ], internalType: 'struct Types.WithdrawalTransaction', name: '_tx', type: 'tuple' } ], name: 'finalizeWithdrawalTransaction', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'bytes32', name: '', type: 'bytes32' } ], name: 'finalizedWithdrawals', outputs: [ { internalType: 'bool', name: '', type: 'bool' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'guardian', outputs: [ { interna
|
src/chains/opStack/actions/getWithdrawalStatus.test.ts > waiting-to-prove:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "version" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "version",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: version()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.withCache src/utils/promise/withCache.ts:67:18
❯ Module.getPortalVersion src/chains/opStack/actions/getPortalVersion.ts:74:19
❯ Module.getWithdrawalStatus src/chains/opStack/actions/getWithdrawalStatus.ts:137:25
❯ src/chains/opStack/actions/getWithdrawalStatus.test.ts:24:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "version",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: version()' ], shortMessage: 'The contract function "version" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { inputs: [ { internalType: 'uint256', name: '_proofMaturityDelaySeconds', type: 'uint256' }, { internalType: 'uint256', name: '_disputeGameFinalityDelaySeconds', type: 'uint256' }, { internalType: 'GameType', name: '_initialRespectedGameType', type: 'uint32' } ], stateMutability: 'nonpayable', type: 'constructor' }, { stateMutability: 'payable', type: 'receive' }, { inputs: [], name: 'GUARDIAN', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'SYSTEM_CONFIG', outputs: [ { internalType: 'contract SystemConfig', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '_disputeGame', type: 'address' } ], name: 'blacklistDisputeGame', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'bytes32', name: '_withdrawalHash', type: 'bytes32' } ], name: 'checkWithdrawal', outputs: [], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'address', name: '_to', type: 'address' }, { internalType: 'uint256', name: '_value', type: 'uint256' }, { internalType: 'uint64', name: '_gasLimit', type: 'uint64' }, { internalType: 'bool', name: '_isCreation', type: 'bool' }, { internalType: 'bytes', name: '_data', type: 'bytes' } ], name: 'depositTransaction', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '', type: 'address' } ], name: 'disputeGameBlacklist', outputs: [ { internalType: 'bool', name: '', type: 'bool' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFactory', outputs: [ { internalType: 'contract DisputeGameFactory', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFinalityDelaySeconds', outputs: [ { internalType: 'uint256', name: '', type: 'uint256' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'donateETH', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { components: [ { internalType: 'uint256', name: 'nonce', type: 'uint256' }, { internalType: 'address', name: 'sender', type: 'address' }, { internalType: 'address', name: 'target', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'uint256', name: 'gasLimit', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' } ], internalType: 'struct Types.WithdrawalTransaction', name: '_tx', type: 'tuple' } ], name: 'finalizeWithdrawalTransaction', outputs: [], stateMutability: 'nonpa
|
src/chains/opStack/actions/getWithdrawalStatus.test.ts > waiting-to-prove:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "version" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "version",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: version()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.withCache src/utils/promise/withCache.ts:67:18
❯ Module.getPortalVersion src/chains/opStack/actions/getPortalVersion.ts:74:19
❯ Module.getWithdrawalStatus src/chains/opStack/actions/getWithdrawalStatus.ts:137:25
❯ src/chains/opStack/actions/getWithdrawalStatus.test.ts:24:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "version",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: version()' ], shortMessage: 'The contract function "version" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { inputs: [ { internalType: 'uint256', name: '_proofMaturityDelaySeconds', type: 'uint256' }, { internalType: 'uint256', name: '_disputeGameFinalityDelaySeconds', type: 'uint256' }, { internalType: 'GameType', name: '_initialRespectedGameType', type: 'uint32' } ], stateMutability: 'nonpayable', type: 'constructor' }, { stateMutability: 'payable', type: 'receive' }, { inputs: [], name: 'GUARDIAN', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'SYSTEM_CONFIG', outputs: [ { internalType: 'contract SystemConfig', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '_disputeGame', type: 'address' } ], name: 'blacklistDisputeGame', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'bytes32', name: '_withdrawalHash', type: 'bytes32' } ], name: 'checkWithdrawal', outputs: [], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'address', name: '_to', type: 'address' }, { internalType: 'uint256', name: '_value', type: 'uint256' }, { internalType: 'uint64', name: '_gasLimit', type: 'uint64' }, { internalType: 'bool', name: '_isCreation', type: 'bool' }, { internalType: 'bytes', name: '_data', type: 'bytes' } ], name: 'depositTransaction', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '', type: 'address' } ], name: 'disputeGameBlacklist', outputs: [ { internalType: 'bool', name: '', type: 'bool' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFactory', outputs: [ { internalType: 'contract DisputeGameFactory', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFinalityDelaySeconds', outputs: [ { internalType: 'uint256', name: '', type: 'uint256' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'donateETH', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { components: [ { internalType: 'uint256', name: 'nonce', type: 'uint256' }, { internalType: 'address', name: 'sender', type: 'address' }, { internalType: 'address', name: 'target', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'uint256', name: 'gasLimit', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' } ], internalType: 'struct Types.WithdrawalTransaction', name: '_tx', type: 'tuple' } ], name: 'finalizeWithdrawalTransaction', outputs: [], stateMutability: 'nonpa
|
src/chains/opStack/actions/getWithdrawalStatus.test.ts > waiting-to-prove:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "version" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "version",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: version()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "version",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: version()' ], shortMessage: 'The contract function "version" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { inputs: [ { internalType: 'uint256', name: '_proofMaturityDelaySeconds', type: 'uint256' }, { internalType: 'uint256', name: '_disputeGameFinalityDelaySeconds', type: 'uint256' }, { internalType: 'GameType', name: '_initialRespectedGameType', type: 'uint32' } ], stateMutability: 'nonpayable', type: 'constructor' }, { stateMutability: 'payable', type: 'receive' }, { inputs: [], name: 'GUARDIAN', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'SYSTEM_CONFIG', outputs: [ { internalType: 'contract SystemConfig', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '_disputeGame', type: 'address' } ], name: 'blacklistDisputeGame', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'bytes32', name: '_withdrawalHash', type: 'bytes32' } ], name: 'checkWithdrawal', outputs: [], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'address', name: '_to', type: 'address' }, { internalType: 'uint256', name: '_value', type: 'uint256' }, { internalType: 'uint64', name: '_gasLimit', type: 'uint64' }, { internalType: 'bool', name: '_isCreation', type: 'bool' }, { internalType: 'bytes', name: '_data', type: 'bytes' } ], name: 'depositTransaction', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '', type: 'address' } ], name: 'disputeGameBlacklist', outputs: [ { internalType: 'bool', name: '', type: 'bool' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFactory', outputs: [ { internalType: 'contract DisputeGameFactory', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFinalityDelaySeconds', outputs: [ { internalType: 'uint256', name: '', type: 'uint256' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'donateETH', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { components: [ { internalType: 'uint256', name: 'nonce', type: 'uint256' }, { internalType: 'address', name: 'sender', type: 'address' }, { internalType: 'address', name: 'target', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'uint256', name: 'gasLimit', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' } ], internalType: 'struct Types.WithdrawalTransaction', name: '_tx', type: 'tuple' } ], name: 'finalizeWithdrawalTransaction', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'bytes32', name: '', type: 'bytes32' } ], name: 'finalizedWithdrawals', outputs: [ { internalType: 'bool', name: '', type: 'bool' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'guardian', outputs: [ { interna
|
src/chains/opStack/actions/getWithdrawalStatus.test.ts > waiting-to-prove:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "version" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "version",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: version()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.withCache src/utils/promise/withCache.ts:67:18
❯ Module.getPortalVersion src/chains/opStack/actions/getPortalVersion.ts:74:19
❯ Module.getWithdrawalStatus src/chains/opStack/actions/getWithdrawalStatus.ts:137:25
❯ src/chains/opStack/actions/getWithdrawalStatus.test.ts:24:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "version",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: version()' ], shortMessage: 'The contract function "version" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { inputs: [ { internalType: 'uint256', name: '_proofMaturityDelaySeconds', type: 'uint256' }, { internalType: 'uint256', name: '_disputeGameFinalityDelaySeconds', type: 'uint256' }, { internalType: 'GameType', name: '_initialRespectedGameType', type: 'uint32' } ], stateMutability: 'nonpayable', type: 'constructor' }, { stateMutability: 'payable', type: 'receive' }, { inputs: [], name: 'GUARDIAN', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'SYSTEM_CONFIG', outputs: [ { internalType: 'contract SystemConfig', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '_disputeGame', type: 'address' } ], name: 'blacklistDisputeGame', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'bytes32', name: '_withdrawalHash', type: 'bytes32' } ], name: 'checkWithdrawal', outputs: [], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'address', name: '_to', type: 'address' }, { internalType: 'uint256', name: '_value', type: 'uint256' }, { internalType: 'uint64', name: '_gasLimit', type: 'uint64' }, { internalType: 'bool', name: '_isCreation', type: 'bool' }, { internalType: 'bytes', name: '_data', type: 'bytes' } ], name: 'depositTransaction', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '', type: 'address' } ], name: 'disputeGameBlacklist', outputs: [ { internalType: 'bool', name: '', type: 'bool' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFactory', outputs: [ { internalType: 'contract DisputeGameFactory', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFinalityDelaySeconds', outputs: [ { internalType: 'uint256', name: '', type: 'uint256' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'donateETH', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { components: [ { internalType: 'uint256', name: 'nonce', type: 'uint256' }, { internalType: 'address', name: 'sender', type: 'address' }, { internalType: 'address', name: 'target', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'uint256', name: 'gasLimit', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' } ], internalType: 'struct Types.WithdrawalTransaction', name: '_tx', type: 'tuple' } ], name: 'finalizeWithdrawalTransaction', outputs: [], stateMutability: 'nonpa
|
src/chains/opStack/actions/getWithdrawalStatus.test.ts > waiting-to-prove:
src/utils/errors/getContractError.ts#L72
ContractFunctionExecutionError: The contract function "version" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "version",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x0000000000000000000000000000000000000000
function: version()
Docs: https://viem.sh/docs/contract/readContract
Version: viem@1.0.2
❯ Module.getContractError src/utils/errors/getContractError.ts:72:10
❯ Module.readContract src/actions/public/readContract.ts:128:11
❯ Module.withCache src/utils/promise/withCache.ts:67:18
❯ Module.getPortalVersion src/chains/opStack/actions/getPortalVersion.ts:74:19
❯ Module.getWithdrawalStatus src/chains/opStack/actions/getWithdrawalStatus.ts:137:25
❯ src/chains/opStack/actions/getWithdrawalStatus.test.ts:24:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "version",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x0000000000000000000000000000000000000000\n function: version()' ], shortMessage: 'The contract function "version" returned no data ("0x").', version: 'viem@1.0.2', abi: [ { inputs: [ { internalType: 'uint256', name: '_proofMaturityDelaySeconds', type: 'uint256' }, { internalType: 'uint256', name: '_disputeGameFinalityDelaySeconds', type: 'uint256' }, { internalType: 'GameType', name: '_initialRespectedGameType', type: 'uint32' } ], stateMutability: 'nonpayable', type: 'constructor' }, { stateMutability: 'payable', type: 'receive' }, { inputs: [], name: 'GUARDIAN', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'SYSTEM_CONFIG', outputs: [ { internalType: 'contract SystemConfig', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '_disputeGame', type: 'address' } ], name: 'blacklistDisputeGame', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'bytes32', name: '_withdrawalHash', type: 'bytes32' } ], name: 'checkWithdrawal', outputs: [], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'address', name: '_to', type: 'address' }, { internalType: 'uint256', name: '_value', type: 'uint256' }, { internalType: 'uint64', name: '_gasLimit', type: 'uint64' }, { internalType: 'bool', name: '_isCreation', type: 'bool' }, { internalType: 'bytes', name: '_data', type: 'bytes' } ], name: 'depositTransaction', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { internalType: 'contract IDisputeGame', name: '', type: 'address' } ], name: 'disputeGameBlacklist', outputs: [ { internalType: 'bool', name: '', type: 'bool' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFactory', outputs: [ { internalType: 'contract DisputeGameFactory', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'disputeGameFinalityDelaySeconds', outputs: [ { internalType: 'uint256', name: '', type: 'uint256' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'donateETH', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { components: [ { internalType: 'uint256', name: 'nonce', type: 'uint256' }, { internalType: 'address', name: 'sender', type: 'address' }, { internalType: 'address', name: 'target', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'uint256', name: 'gasLimit', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' } ], internalType: 'struct Types.WithdrawalTransaction', name: '_tx', type: 'tuple' } ], name: 'finalizeWithdrawalTransaction', outputs: [], stateMutability: 'nonpa
|
Verify / Wagmi (5.0.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify / Wagmi (5.1.6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify / Wagmi (5.3.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify / Wagmi (5.2.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify / Test (webSocket, 1, 3)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Verify / Test (webSocket, 1, 3)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Verify / Test (http, 1, 3)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Verify / Test (http, 1, 3)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
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
|