Skip to content

Commit

Permalink
fixed small issues in interaction snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
newbreedofgeek committed Aug 5, 2022
1 parent ab9036d commit 2bb1004
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interaction/devnet.snippets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ deploy(){
erdpy --verbose contract deploy \
--bytecode output/claims.wasm \
--outfile deployOutput \
--metadata-payable \
--metadata-not-readable \
--pem wallet.pem \
--proxy ${PROXY} \
--chain ${CHAIN_ID} \
Expand Down Expand Up @@ -66,7 +66,7 @@ unpause(){
addPrivilegedAddress(){
# $1 = address to which to give privileges

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

address="0x$(erdpy wallet bech32 --decode ${2})"
address="0x$(erdpy wallet bech32 --decode ${1})"
erdpy --verbose contract call ${ADDRESS} \
--recall-nonce \
--pem=${WALLET} \
Expand Down

0 comments on commit 2bb1004

Please sign in to comment.