Upgrade to ethers v6. #1654
Annotations
10 errors and 2 warnings
Build, lint and test the ethereum libraries on ubuntu-latest:
ethereum/gateway-eth-ts/src/service/GatewayTs.test.ts#L1
Replace `·Wallet,·Provider,·getDefaultProvider,·Network,·HDNodeWallet·` with `⏎··Wallet,⏎··Provider,⏎··getDefaultProvider,⏎··Network,⏎··HDNodeWallet,⏎`
|
Build, lint and test the ethereum libraries on ubuntu-latest:
ethereum/gateway-eth-ts/src/service/GatewayTs.test.ts#L49
Unexpected `await` of a non-Promise (non-"Thenable") value
|
|
|
Build, lint and test the ethereum libraries on ubuntu-latest:
ethereum/gateway-eth-ts/src/service/GatewayTs.test.ts#L120
Replace `⏎········Math.floor(Date.now()·/·1000·+·100)⏎······` with `Math.floor(Date.now()·/·1000·+·100)`
|
Build, lint and test the ethereum libraries on ubuntu-latest:
ethereum/gateway-eth-ts/src/service/GatewayTs.test.ts#L123
Replace `expiredTokenAddress,·gatekeeperNetwork,·expiry` with `⏎········expiredTokenAddress,⏎········gatekeeperNetwork,⏎········expiry⏎······`
|
Build, lint and test the ethereum libraries on ubuntu-latest:
ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.test.ts#L1
Replace `⏎··Provider,⏎··TransactionReceipt,⏎··getDefaultProvider,⏎` with `·Provider,·TransactionReceipt,·getDefaultProvider·`
|
Build, lint and test the ethereum libraries on ubuntu-latest:
ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.test.ts#L17
Replace `·ContractTransaction,·ContractTransactionReceipt,·ethers,·Wallet·` with `⏎··ContractTransaction,⏎··ContractTransactionReceipt,⏎··ethers,⏎··Wallet,⏎`
|
Build, lint and test the ethereum libraries on ubuntu-latest:
ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.test.ts#L144
Replace `⏎······chargeValue,⏎······gatekeeperBalanceAfter·-·gatekeeperBalanceBefore⏎····` with `chargeValue,·gatekeeperBalanceAfter·-·gatekeeperBalanceBefore`
|
Build, lint and test the ethereum libraries on ubuntu-latest:
ethereum/gateway-eth-ts/src/service/GatewayTsForwarder.test.ts#L189
Replace `⏎······chargeValue,⏎······gatekeeperBalanceAfter·-·gatekeeperBalanceBefore⏎····` with `chargeValue,·gatekeeperBalanceAfter·-·gatekeeperBalanceBefore`
|
Build, lint and test the ethereum libraries on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build, lint and test the ethereum libraries on ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|