Skip to content

feat(ci): add ci checks #20

feat(ci): add ci checks

feat(ci): add ci checks #20

Triggered via pull request November 5, 2024 17:59
Status Failure
Total duration 1m 44s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
src/tests/bridge.spec.ts: packages/e2e-test/src/tests/bridge.spec.ts#L28
ContractFunctionExecutionError: The contract function "decimals" returned no data ("0x"). This could be due to any of the following: - The contract does not have the function "decimals", - The parameters passed to the contract function may be invalid, or - The address is not a contract. Contract Call: address: 0x5BCf71Ca0CE963373d917031aAFDd6D98B80B159 function: decimals() Docs: https://viem.sh/docs/contract/readContract Version: viem@2.21.37 ❯ getContractError ../../node_modules/.pnpm/viem@2.21.37_bufferutil@4.0.8_typescript@5.6.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/utils/errors/getContractError.ts:72:10 ❯ readContract ../../node_modules/.pnpm/viem@2.21.37_bufferutil@4.0.8_typescript@5.6.2_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/actions/public/readContract.ts:136:11 ❯ src/tests/bridge.spec.ts:28: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 "decimals",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0x5BCf71Ca0CE963373d917031aAFDd6D98B80B159\n function: decimals()' ], shortMessage: 'The contract function "decimals" returned no data ("0x").', version: '2.21.37', abi: [ { type: 'constructor', inputs: [ { name: 'owner_', type: 'address', internalType: 'address' }, { name: 'name_', type: 'string', internalType: 'string' }, { name: 'symbol_', type: 'string', internalType: 'string' }, { name: 'decimals_', type: 'uint8', internalType: 'uint8' } ], stateMutability: 'nonpayable' }, { type: 'function', name: 'DOMAIN_SEPARATOR', inputs: [], outputs: [ { name: 'result', type: 'bytes32', internalType: 'bytes32' } ], stateMutability: 'view' }, { type: 'function', name: 'allowance', inputs: [ { name: 'owner', type: 'address', internalType: 'address' }, { name: 'spender', type: 'address', internalType: 'address' } ], outputs: [ { name: 'result', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'approve', inputs: [ { name: 'spender', type: 'address', internalType: 'address' }, { name: 'amount', type: 'uint256', internalType: 'uint256' } ], outputs: [ { name: '', type: 'bool', internalType: 'bool' } ], stateMutability: 'nonpayable' }, { type: 'function', name: 'balanceOf', inputs: [ { name: 'owner', type: 'address', internalType: 'address' } ], outputs: [ { name: 'result', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type: 'function', name: 'cancelOwnershipHandover', inputs: [], outputs: [], stateMutability: 'payable' }, { type: 'function', name: 'completeOwnershipHandover', inputs: [ { name: 'pendingOwner', type: 'address', internalType: 'address' } ], outputs: [], stateMutability: 'payable' }, { type: 'function', name: 'crosschainBurn', inputs: [ { name: '_from', type: 'address', internalType: 'address' }, { name: '_amount', type: 'uint256', internalType: 'uint256' } ], outputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'crosschainMint', inputs: [ { name: '_to', type: 'address', internalType: 'address' }, { name: '_amount', type: 'uint256', internalType: 'uint256' } ], outputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'decimals', inputs: [], outputs: [ { name: '', type: 'uint8', internalType: 'uint8' } ], stateMutability: 'view' }, { type: 'function', name: 'mintTo', inputs: [ { name: 'to_', type: 'address', internalType: 'address' }, { name: 'amount_', type: 'uint256', internalType: 'uint256' } ], outputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'name', inputs: [], outputs: [ { name: '', type: 'string', internalType: 'string' } ], stateMutability: 'view' }, { type: 'function', name: 'nonces', inputs: [ { name: 'owner', type: 'address', internalType: 'address' } ], outputs: [ { name: 'result', type: 'uint256', internalType: 'uint256' } ], stateMutability: 'view' }, { type
e2e-test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, jaxxstorm/action-install-gh-release@v1.10.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, jaxxstorm/action-install-gh-release@v1.10.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/