Closed cawthorne closed 3 months ago
Latest commit: 8c177cc6168363418594798fca812aeee270f974
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Closes #DF-20071
Description
Fixes the set-token-index EA to provide token balances which are properly scaled to the correct size.
Changes
Scale down the balance of a token allocations by 10^(18-tokenDecimals), to account for the adapter contract normalising all token balances to 18 decimals:
Steps to Test
yarn && yarn setup && yarn test set-token-index