Skip to content

feat: Add support for deploying arbitrary contracts #985

feat: Add support for deploying arbitrary contracts

feat: Add support for deploying arbitrary contracts #985

Triggered via pull request January 17, 2025 05:28
Status Failure
Total duration 38s
Artifacts

e2e_test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test: src/tests/read_contract_test.ts#L9
Property 'compileSmartContract' is missing in type '{ createSmartContract: jest.Mock<any, any, any>; deploySmartContract: jest.Mock<any, any, any>; getSmartContract: jest.Mock<any, any, any>; listSmartContracts: jest.Mock<...>; readContract: jest.Mock<...>; registerSmartContract: jest.Mock<...>; updateSmartContract: jest.Mock<...>; }' but required in type 'SmartContractAPIClient'.
test: src/tests/smart_contract_test.ts#L68
Type '{ createSmartContract: jest.Mock<any, any, any>; deploySmartContract: jest.Mock<any, any, any>; getSmartContract: jest.Mock<any, any, any>; listSmartContracts: jest.Mock<...>; readContract: jest.Mock<...>; registerSmartContract: jest.Mock<...>; updateSmartContract: jest.Mock<...>; }' is not assignable to type 'SmartContractAPIClient'.
test: src/tests/smart_contract_test.ts#L69
'Coinbase.apiClients.smartContract' is possibly 'undefined'.
test: src/tests/smart_contract_test.ts#L117
Type '{ createSmartContract: jest.Mock<any, any, any>; deploySmartContract: jest.Mock<any, any, any>; getSmartContract: jest.Mock<any, any, any>; listSmartContracts: jest.Mock<...>; readContract: jest.Mock<...>; registerSmartContract: jest.Mock<...>; updateSmartContract: jest.Mock<...>; }' is not assignable to type 'SmartContractAPIClient'.
test: src/tests/smart_contract_test.ts#L118
'Coinbase.apiClients.smartContract' is possibly 'undefined'.
test: src/tests/smart_contract_test.ts#L145
Type '{ createSmartContract: jest.Mock<any, any, any>; deploySmartContract: jest.Mock<any, any, any>; getSmartContract: jest.Mock<any, any, any>; listSmartContracts: jest.Mock<...>; readContract: jest.Mock<...>; registerSmartContract: jest.Mock<...>; updateSmartContract: jest.Mock<...>; }' is not assignable to type 'SmartContractAPIClient'.
test: src/tests/smart_contract_test.ts#L146
'Coinbase.apiClients.smartContract' is possibly 'undefined'.
test: src/tests/smart_contract_test.ts#L173
Type '{ createSmartContract: jest.Mock<any, any, any>; deploySmartContract: jest.Mock<any, any, any>; getSmartContract: jest.Mock<any, any, any>; listSmartContracts: jest.Mock<...>; readContract: jest.Mock<...>; registerSmartContract: jest.Mock<...>; updateSmartContract: jest.Mock<...>; }' is not assignable to type 'SmartContractAPIClient'.
test: src/tests/smart_contract_test.ts#L174
'Coinbase.apiClients.smartContract' is possibly 'undefined'.
test: src/tests/smart_contract_test.ts#L195
Type '{ createSmartContract: jest.Mock<any, any, any>; deploySmartContract: jest.Mock<any, any, any>; getSmartContract: jest.Mock<any, any, any>; listSmartContracts: jest.Mock<...>; readContract: jest.Mock<...>; registerSmartContract: jest.Mock<...>; updateSmartContract: jest.Mock<...>; }' is not assignable to type 'SmartContractAPIClient'.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636