aptos-core
aptos-core copied to clipboard
added getResourceAccountAddress function along with unit tests
Description
This PR is related to the issue #3739 created to add a function in TS SDK to fetch the resource account given that the source address and seeds are provided.
Test Plan
I have added a function getResourceAccountAddress with 2 parameters sourceAddress and seeds which are used to derive the resource account. Since the resource account derivation is expensive on chain, we can use this method to derive if off chain and send it to the smart
yarn.lock should be untouched. You deleted it. Please fix that
yarn.lockshould be untouched. You deleted it. Please fix that
i have added it
see https://github.com/aptos-labs/aptos-core/pull/4173. I would table this PR until the smart contract side change is in.
Please update and use reset the yarn.lock to the previous commit.
Please update and use reset the yarn.lock to the previous commit.
I have updated yarn.lock to the previous commit
this is very puzzling, are you unable to fix the yarn.lock issue? feel free to re-open if you can, the PR is hard to track