Skip to content

Commit

Permalink
Merge branch 'main' into ci/add-neutron-chain
Browse files Browse the repository at this point in the history
  • Loading branch information
kerber0x authored Sep 2, 2024
2 parents 456269b + 0653e25 commit 0dac244
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ juno | terra | chihuahua | migaloo | neutron)
injective)
flag="-injective"
;;
comdex | orai | sei | vanilla) ;;
comdex | orai | sei | archway | vanilla) ;;

\*)
echo "Network $chain not defined"
Expand Down
16 changes: 13 additions & 3 deletions scripts/deployment/deploy_env/base_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ output_flag=json

case $chain in

local | juno | juno-testnet | terra | terra-testnet | archway-testnet | comdex | comdex-testnet | sei | sei-testnet | stargaze-testnet | osmosis | osmosis-testnet | orai | neutron | neutron-testnet)
local | juno | juno-testnet | terra | terra-testnet | comdex | comdex-testnet | sei | sei-testnet | stargaze-testnet | osmosis | osmosis-testnet | orai | neutron | neutron-testnet)
if [ -n "$ZSH_VERSION" ]; then
# Using an array for TXFLAG
TXFLAG=(--node $RPC --chain-id $CHAIN_ID --gas-prices 0.15$DENOM --gas auto --gas-adjustment 1.2 -y -b $b_flag --output $output_flag)
TXFLAG=(--node $RPC --chain-id $CHAIN_ID --gas-prices 0.25$DENOM --gas auto --gas-adjustment 1.4 -y -b $b_flag --output $output_flag)
else
# Using a string for TXFLAG
TXFLAG="--node $RPC --chain-id $CHAIN_ID --gas-prices 0.15$DENOM --gas auto --gas-adjustment 1.2 -y -b $b_flag --output $output_flag"
TXFLAG="--node $RPC --chain-id $CHAIN_ID --gas-prices 0.25$DENOM --gas auto --gas-adjustment 1.4 -y -b $b_flag --output $output_flag"
fi
;;

Expand All @@ -37,6 +37,16 @@ injective | injective-testnet)
fi
;;

archway | archway-testnet)
if [ -n "$ZSH_VERSION" ]; then
# Using an array for TXFLAG
TXFLAG=(--node $RPC --chain-id $CHAIN_ID --gas-prices 140000000000.000000000000000000$DENOM --gas auto --gas-adjustment 1.4 -y -b $b_flag --output $output_flag)
else
# Using a string for TXFLAG
TXFLAG="--node $RPC --chain-id $CHAIN_ID --gas-prices 140000000000.000000000000000000$DENOM --gas auto --gas-adjustment 1.4 -y -b $b_flag --output $output_flag"
fi
;;

*)
echo "Network $chain not defined"
return 1
Expand Down
4 changes: 4 additions & 0 deletions scripts/deployment/deploy_env/mainnets/archway.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export CHAIN_ID="archway-1"
export DENOM="aarch"
export BINARY="archwayd"
export RPC="https://rpc-archway.cryptech.com.ua:443"

0 comments on commit 0dac244

Please sign in to comment.