Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

feat - remove undeclared vars#554

Merged
adrian-gierakowski merged 1 commit intodevfrom
feature/PI-386-removed-undeclared-variables
Aug 31, 2023
Merged

feat - remove undeclared vars#554
adrian-gierakowski merged 1 commit intodevfrom
feature/PI-386-removed-undeclared-variables

Conversation

@Dynki
Copy link

@Dynki Dynki commented Aug 30, 2023

In order to allow the Portal to migrate to Vite, we had to patch code in the @rhino.fi/client-js package. This is not ideal and we should really update client-js to fix these problems. This PR is to complete part of that work.

The following files need updating in @rhino.fi/client-js to allow these patches to be removed.

  1. @rhino.fi/client-js/src/api/contract/getAllWithdrawalBalances.js
  2. @rhino.fi/client-js/src/api/contract/getAllWithdrawalBalancesEthAddress.js
  3. @rhino.fi/client-js/src/api/contract/getWithdrawalBalance.js
  4. @rhino.fi/client-js/src/api/contract/getWithdrawalBalanceEthAddress.js

All of the files above need the following code change to replace

return (withdrawalBalance = await dvf.eth.call(

with

return (await dvf.eth.call(

@adrian-gierakowski adrian-gierakowski merged commit a51ee78 into dev Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants