Skip to content

Update dependency ethers to v6 #8271

Update dependency ethers to v6

Update dependency ethers to v6 #8271

Triggered via pull request October 1, 2024 03:02
Status Failure
Total duration 55s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build (latest): src/addresses.test.ts#L12
'"/home/runner/work/khaos-update-cap/khaos-update-cap/node_modules/ethers/lib.commonjs/ethers"' has no exported member named 'providers'. Did you mean 'Provider'?
build (latest): src/addresses.test.ts#L15
'"/home/runner/work/khaos-update-cap/khaos-update-cap/node_modules/ethers/lib.commonjs/ethers"' has no exported member named 'providers'. Did you mean 'Provider'?
build (latest): src/addresses.ts#L13
Type 'BaseContractMethod<any[], any, any>' is not assignable to type 'string'.
build (latest): src/common/contract/addressConfig.test.ts#L15
Argument of type 'string' is not assignable to parameter of type 'BaseContractMethod<any[], any, any>'.
build (latest): src/common/contract/addressConfig.test.ts#L28
Argument of type 'string' is not assignable to parameter of type 'BaseContractMethod<any[], any, any>'.
build (latest): src/common/contract/addressConfig.ts#L1
'"ethers"' has no exported member named 'providers'. Did you mean 'Provider'?
build (latest): src/common/contract/erc20.test.ts#L9
Argument of type 'string' is not assignable to parameter of type 'BaseContractMethod<any[], any, any>'.
build (latest): src/common/contract/erc20.ts#L1
'"ethers"' has no exported member named 'providers'. Did you mean 'Provider'?
build (latest): src/common/contract/lockup.test.ts#L11
'"/home/runner/work/khaos-update-cap/khaos-update-cap/node_modules/ethers/lib.commonjs/ethers"' has no exported member named 'providers'. Did you mean 'Provider'?
build (latest): src/common/contract/lockup.test.ts#L42
Argument of type 'string' is not assignable to parameter of type 'BaseContractMethod<any[], any, any>'.
build (latest): src/abi.test.ts#L4
Parameter should be a read only type
build (latest): src/addresses.test.ts#L32
Parameter should be a read only type
build (latest): src/addresses.test.ts#L37
Parameter should be a read only type
build (latest): src/addresses.test.ts#L42
Parameter should be a read only type
build (latest): src/addresses.ts#L6
Parameter should be a read only type
build (latest): src/authorize.test.ts#L4
Parameter should be a read only type
build (latest): src/authorize.test.ts#L13
Parameter should be a read only type
build (latest): src/authorize.ts#L3
Parameter should be a read only type
build (latest): src/common/contract/addressConfig.test.ts#L5
Parameter should be a read only type
build (latest): src/common/contract/addressConfig.test.ts#L18
Parameter should be a read only type