diff --git a/move/sh_scripts/dev_setup.sh b/move/sh_scripts/dev_setup.sh index 646d60f0..42ac21f9 100755 --- a/move/sh_scripts/dev_setup.sh +++ b/move/sh_scripts/dev_setup.sh @@ -11,10 +11,8 @@ if ! command -v aptos &>/dev/null; then echo "aptos could not be found" echo "installing it..." TARGET=Ubuntu-x86_64 - VERSION=2.3.0 + VERSION=2.4.0 wget https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v$VERSION/aptos-cli-$VERSION-$TARGET.zip - sha=$(shasum -a 256 aptos-cli-$VERSION-$TARGET.zip | awk '{ print $1 }') - [ "$sha" != "d9dc5c6ab3366f25d8547ca939f4a6be659f064c344a81f14631bc435ef6bafe" ] && echo "shasum mismatch" && exit 1 unzip aptos-cli-$VERSION-$TARGET.zip chmod +x aptos else diff --git a/move/sources/aptogotchi.move b/move/sources/aptogotchi.move index 5a52d6b6..e479e1a5 100644 --- a/move/sources/aptogotchi.move +++ b/move/sources/aptogotchi.move @@ -236,7 +236,7 @@ module aptogotchi::main { // Get reference to Aptogotchi token object (CAN'T modify the reference) #[view] - fun get_aptogotchi_address(creator_addr: address): (address) { + public fun get_aptogotchi_address(creator_addr: address): (address) { let collection = string::utf8(APTOGOTCHI_COLLECTION_NAME); let token_name = to_string(&creator_addr); let creator_addr = get_app_signer_addr();