aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

added getResourceAccountAddress function along with unit tests

Open dhruvja opened this issue 3 years ago • 2 comments
trafficstars

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


This change is Reviewable

dhruvja avatar Sep 03 '22 07:09 dhruvja

yarn.lock should be untouched. You deleted it. Please fix that

jjleng avatar Sep 14 '22 00:09 jjleng

yarn.lock should be untouched. You deleted it. Please fix that

i have added it

dhruvja avatar Sep 14 '22 03:09 dhruvja

see https://github.com/aptos-labs/aptos-core/pull/4173. I would table this PR until the smart contract side change is in.

jjleng avatar Sep 26 '22 19:09 jjleng

Please update and use reset the yarn.lock to the previous commit.

davidiw avatar Sep 27 '22 22:09 davidiw

Please update and use reset the yarn.lock to the previous commit.

I have updated yarn.lock to the previous commit

dhruvja avatar Sep 27 '22 22:09 dhruvja

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

davidiw avatar Oct 02 '22 22:10 davidiw