Skip to content

Commit 2bb1004

Browse files
fixed small issues in interaction snippets
1 parent ab9036d commit 2bb1004

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interaction/devnet.snippets.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ deploy(){
1313
erdpy --verbose contract deploy \
1414
--bytecode output/claims.wasm \
1515
--outfile deployOutput \
16-
--metadata-payable \
16+
--metadata-not-readable \
1717
--pem wallet.pem \
1818
--proxy ${PROXY} \
1919
--chain ${CHAIN_ID} \
@@ -66,7 +66,7 @@ unpause(){
6666
addPrivilegedAddress(){
6767
# $1 = address to which to give privileges
6868

69-
address="0x$(erdpy wallet bech32 --decode ${2})"
69+
address="0x$(erdpy wallet bech32 --decode ${1})"
7070
erdpy --verbose contract call ${ADDRESS} \
7171
--recall-nonce \
7272
--pem=${WALLET} \
@@ -81,7 +81,7 @@ addPrivilegedAddress(){
8181
removePrivilegedAddress(){
8282
# $1 = address to which to remove privileges
8383

84-
address="0x$(erdpy wallet bech32 --decode ${2})"
84+
address="0x$(erdpy wallet bech32 --decode ${1})"
8585
erdpy --verbose contract call ${ADDRESS} \
8686
--recall-nonce \
8787
--pem=${WALLET} \

0 commit comments

Comments
 (0)