chore(deps): bump actions/deploy-pages from 2 to 4 #695
on-pull-request.yaml
on: pull_request
Documentation
/
Build
31s
Verify
/
Linting
16s
Verify
/
Types
44s
Verify
/
Build
36s
Verify
/
Size
55s
Matrix: Verify / test
Documentation
/
Deploy
0s
Annotations
14 errors and 7 warnings
Unhandled error:
packages/sdk/test/tests/Asset.test.ts#L14
AssertionError: promise rejected "ContractFunctionExecutionError: The contr… { …(12) }" instead of resolving
❯ test/tests/Asset.test.ts:14:14
This error originated in "test/tests/Asset.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "DAI name should be correct". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Caused by: ContractFunctionExecutionError: The contract function "name" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "name",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x6B175474E89094C44Da98b954EedeAC495271d0F
function: name()
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getName src/Asset.ts:70:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 "name",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x6B175474E89094C44Da98b954EedeAC495271d0F\n function: name()' ], shortMessage: 'The contract function "name" returned no data ("0x").', version: '[email protected]', abi: [ { name: 'name', type: 'function', stateMutability: 'view', inputs: [], outputs: [ { type: 'bytes32' } ] } ], args: undefined, contractAddress: '0x6B175474E89094C44Da98b954EedeAC495271d0F', formattedArgs: undefined, functionName: 'name', sender: undefined, walk: 'Function<walk>' }
Caused by: ContractFunctionZeroDataError: The contract function "name" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "name",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Version: [email protected]
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:57:14
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:70:5
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getName src/Asset.ts:70:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "name",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.' ], shortMessage: 'The contract function "name" returned no data ("0x").', version: '[email protected]', walk: 'Function<walk>' }
|
Unhandled error:
packages/sdk/test/tests/Asset.test.ts#L24
AssertionError: promise rejected "ContractFunctionExecutionError: The contr… { …(12) }" instead of resolving
❯ test/tests/Asset.test.ts:24:14
This error originated in "test/tests/Asset.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "MKR name should be correct". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Caused by: ContractFunctionExecutionError: The contract function "name" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "name",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2
function: name()
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getName src/Asset.ts:70:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 "name",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2\n function: name()' ], shortMessage: 'The contract function "name" returned no data ("0x").', version: '[email protected]', abi: [ { name: 'name', type: 'function', stateMutability: 'view', inputs: [], outputs: [ { type: 'bytes32' } ] } ], args: undefined, contractAddress: '0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2', formattedArgs: undefined, functionName: 'name', sender: undefined, walk: 'Function<walk>' }
Caused by: ContractFunctionZeroDataError: The contract function "name" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "name",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Version: [email protected]
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:57:14
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:70:5
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getName src/Asset.ts:70:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "name",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.' ], shortMessage: 'The contract function "name" returned no data ("0x").', version: '[email protected]', walk: 'Function<walk>' }
|
Unhandled error:
packages/sdk/test/tests/Asset.test.ts#L34
AssertionError: promise rejected "ContractFunctionExecutionError: The contr… { …(12) }" instead of resolving
❯ test/tests/Asset.test.ts:34:16
This error originated in "test/tests/Asset.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "DAI symbol should be correct". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Caused by: ContractFunctionExecutionError: The contract function "symbol" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "symbol",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x6B175474E89094C44Da98b954EedeAC495271d0F
function: symbol()
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getSymbol src/Asset.ts:104:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 "symbol",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x6B175474E89094C44Da98b954EedeAC495271d0F\n function: symbol()' ], shortMessage: 'The contract function "symbol" returned no data ("0x").', version: '[email protected]', abi: [ { name: 'symbol', type: 'function', stateMutability: 'view', inputs: [], outputs: [ { type: 'bytes32' } ] } ], args: undefined, contractAddress: '0x6B175474E89094C44Da98b954EedeAC495271d0F', formattedArgs: undefined, functionName: 'symbol', sender: undefined, walk: 'Function<walk>' }
Caused by: ContractFunctionZeroDataError: The contract function "symbol" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "symbol",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Version: [email protected]
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:57:14
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:70:5
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getSymbol src/Asset.ts:104:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "symbol",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.' ], shortMessage: 'The contract function "symbol" returned no data ("0x").', version: '[email protected]', walk: 'Function<walk>' }
|
Unhandled error:
packages/sdk/test/tests/Asset.test.ts#L44
AssertionError: promise rejected "ContractFunctionExecutionError: The contr… { …(12) }" instead of resolving
❯ test/tests/Asset.test.ts:44:16
This error originated in "test/tests/Asset.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "MKR symbol should be correct". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Caused by: ContractFunctionExecutionError: The contract function "symbol" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "symbol",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2
function: symbol()
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getSymbol src/Asset.ts:104:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 "symbol",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2\n function: symbol()' ], shortMessage: 'The contract function "symbol" returned no data ("0x").', version: '[email protected]', abi: [ { name: 'symbol', type: 'function', stateMutability: 'view', inputs: [], outputs: [ { type: 'bytes32' } ] } ], args: undefined, contractAddress: '0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2', formattedArgs: undefined, functionName: 'symbol', sender: undefined, walk: 'Function<walk>' }
Caused by: ContractFunctionZeroDataError: The contract function "symbol" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "symbol",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Version: [email protected]
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:57:14
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:70:5
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getSymbol src/Asset.ts:104:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "symbol",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.' ], shortMessage: 'The contract function "symbol" returned no data ("0x").', version: '[email protected]', walk: 'Function<walk>' }
|
test/tests/Asset.test.ts > DAI name should be correct:
packages/sdk/test/tests/Asset.test.ts#L14
AssertionError: promise rejected "ContractFunctionExecutionError: The contr… { …(12) }" instead of resolving
❯ test/tests/Asset.test.ts:14:14
Caused by: Caused by: ContractFunctionExecutionError: The contract function "name" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "name",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x6B175474E89094C44Da98b954EedeAC495271d0F
function: name()
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getName src/Asset.ts:70:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 "name",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x6B175474E89094C44Da98b954EedeAC495271d0F\n function: name()' ], shortMessage: 'The contract function "name" returned no data ("0x").', version: '[email protected]', abi: [ { name: 'name', type: 'function', stateMutability: 'view', inputs: [], outputs: [ { type: 'bytes32' } ] } ], args: undefined, contractAddress: '0x6B175474E89094C44Da98b954EedeAC495271d0F', formattedArgs: undefined, functionName: 'name', sender: undefined, walk: 'Function<walk>' }
Caused by: Caused by: ContractFunctionZeroDataError: The contract function "name" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "name",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Version: [email protected]
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:57:14
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:70:5
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getName src/Asset.ts:70:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "name",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.' ], shortMessage: 'The contract function "name" returned no data ("0x").', version: '[email protected]', walk: 'Function<walk>' }
|
test/tests/Asset.test.ts > MKR name should be correct:
packages/sdk/test/tests/Asset.test.ts#L24
AssertionError: promise rejected "ContractFunctionExecutionError: The contr… { …(12) }" instead of resolving
❯ test/tests/Asset.test.ts:24:14
Caused by: Caused by: ContractFunctionExecutionError: The contract function "name" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "name",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2
function: name()
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getName src/Asset.ts:70:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 "name",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2\n function: name()' ], shortMessage: 'The contract function "name" returned no data ("0x").', version: '[email protected]', abi: [ { name: 'name', type: 'function', stateMutability: 'view', inputs: [], outputs: [ { type: 'bytes32' } ] } ], args: undefined, contractAddress: '0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2', formattedArgs: undefined, functionName: 'name', sender: undefined, walk: 'Function<walk>' }
Caused by: Caused by: ContractFunctionZeroDataError: The contract function "name" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "name",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Version: [email protected]
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:57:14
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:70:5
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getName src/Asset.ts:70:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "name",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.' ], shortMessage: 'The contract function "name" returned no data ("0x").', version: '[email protected]', walk: 'Function<walk>' }
|
test/tests/Asset.test.ts > DAI symbol should be correct:
packages/sdk/test/tests/Asset.test.ts#L34
AssertionError: promise rejected "ContractFunctionExecutionError: The contr… { …(12) }" instead of resolving
❯ test/tests/Asset.test.ts:34:16
Caused by: Caused by: ContractFunctionExecutionError: The contract function "symbol" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "symbol",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x6B175474E89094C44Da98b954EedeAC495271d0F
function: symbol()
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getSymbol src/Asset.ts:104:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 "symbol",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x6B175474E89094C44Da98b954EedeAC495271d0F\n function: symbol()' ], shortMessage: 'The contract function "symbol" returned no data ("0x").', version: '[email protected]', abi: [ { name: 'symbol', type: 'function', stateMutability: 'view', inputs: [], outputs: [ { type: 'bytes32' } ] } ], args: undefined, contractAddress: '0x6B175474E89094C44Da98b954EedeAC495271d0F', formattedArgs: undefined, functionName: 'symbol', sender: undefined, walk: 'Function<walk>' }
Caused by: Caused by: ContractFunctionZeroDataError: The contract function "symbol" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "symbol",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Version: [email protected]
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:57:14
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:70:5
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getSymbol src/Asset.ts:104:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "symbol",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.' ], shortMessage: 'The contract function "symbol" returned no data ("0x").', version: '[email protected]', walk: 'Function<walk>' }
|
test/tests/Asset.test.ts > MKR symbol should be correct:
packages/sdk/test/tests/Asset.test.ts#L44
AssertionError: promise rejected "ContractFunctionExecutionError: The contr… { …(12) }" instead of resolving
❯ test/tests/Asset.test.ts:44:16
Caused by: Caused by: ContractFunctionExecutionError: The contract function "symbol" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "symbol",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2
function: symbol()
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getSymbol src/Asset.ts:104:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 "symbol",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2\n function: symbol()' ], shortMessage: 'The contract function "symbol" returned no data ("0x").', version: '[email protected]', abi: [ { name: 'symbol', type: 'function', stateMutability: 'view', inputs: [], outputs: [ { type: 'bytes32' } ] } ], args: undefined, contractAddress: '0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2', formattedArgs: undefined, functionName: 'symbol', sender: undefined, walk: 'Function<walk>' }
Caused by: Caused by: ContractFunctionZeroDataError: The contract function "symbol" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "symbol",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Version: [email protected]
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:57:14
❯ getContractError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:70:5
❯ Module.readContract ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:128:11
❯ Module.getSymbol src/Asset.ts:104:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "symbol",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.' ], shortMessage: 'The contract function "symbol" returned no data ("0x").', version: '[email protected]', walk: 'Function<walk>' }
|
Verify / Test (4/4)
Process completed with exit code 1.
|
Verify / Test (3/4)
The job was canceled because "_4_4" failed.
|
Verify / Test (2/4)
The job was canceled because "_4_4" failed.
|
Verify / Test (2/4)
The operation was canceled.
|
Verify / Test (1/4)
The job was canceled because "_4_4" failed.
|
Verify / Test (1/4)
The operation was canceled.
|
Verify / Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify / Test (4/4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Documentation / Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify / Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify / Types
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify / Size
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, preactjs/compressed-size-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify / Size
The following actions uses node12 which is deprecated and will be forced to run on node16: preactjs/compressed-size-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|