feat: Add support for deploying arbitrary contracts #985
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
|