Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
zsluedem committed Mar 13, 2024
1 parent 6970b66 commit e1706d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/default_auth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,9 @@ for component in ${COMPONENTS[@]}; do
sleep 1
done

echo "Default authorizations have been successfully set."
echo "Default authorizations have been successfully set."

echo "Setting pay address for upgrading"
export ADMIN_ADDRESS=$(cat ./target/$TARGET_NAME/manifest.json | jq -r '.contracts[] | select(.name == "kingdom_lord::admin::kingdom_lord_admin" ).address')
sozo execute 0x17acb0793d3bfdf9b8058d6ba25215bed0df3949007d0b7676ad335736e444f set_config --calldata 0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7,0,100,0x6162896d1d7ab204c7ccac6dd5f8e9e7c25ecd5ae4fcb4ad32e57786bb46e03
echo "Setting pay address for upgrading done"

0 comments on commit e1706d2

Please sign in to comment.