Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/ga/parameter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ PREV_GA_INDEX=$(echo "$GOV_STATE" | jq -r '.PParamUpdate.govActionIx')
echo "Previous Protocol Param Change GA: $PREV_GA_TX_HASH#$PREV_GA_INDEX"

cardano_cli conway governance action create-protocol-parameters-update \
--testnet \
--governance-action-deposit $(cardano_cli conway query gov-state | jq -r '.currentPParams.govActionDeposit') \
--deposit-return-stake-verification-key-file $keys_dir/stake.vkey \
--anchor-url "$METADATA_URL" \
--anchor-data-hash "$METADATA_HASH" \
--check-anchor-data \
--constitution-script-hash $SCRIPT_HASH \
--max-tx-execution-units "(10000000000, 16500000)" \
--max-block-execution-units "(20000000000, 72000000)" \
--cost-model-file $project_root/utilities/cost-model.json \
--prev-governance-action-tx-id "$PREV_GA_TX_HASH" \
--prev-governance-action-index "$PREV_GA_INDEX" \
--out-file "$tx_cert_path"
Expand All @@ -89,4 +89,4 @@ cardano_cli conway transaction sign \
# Submit the transaction
echo "Submitting transaction"

cardano_cli conway transaction submit --tx-file $tx_signed_path
# cardano_cli conway transaction submit --tx-file $tx_signed_path
20 changes: 9 additions & 11 deletions start-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ select connection_type in "${connection_options[@]}"; do
done

# Define the list of available networks
available_networks=("mainnet" "preprod" "preview" "sanchonet-pig" "sanchonet-chicken")
available_networks=("mainnet" "preprod" "preview" "sanchonet")


# If user selected external node configuration
Expand Down Expand Up @@ -233,7 +233,7 @@ echo
echo -e "${CYAN}Setting up Docker node...${NC}"

# Define the list of available node versions
available_versions=( "10.5.3" "10.5.1")
available_versions=( "10.5.3" "10.5.1" "10.6.1")

# Initialize variables to avoid unbound variable errors
network=""
Expand Down Expand Up @@ -282,12 +282,12 @@ else
done
fi

# Normalize network name for directory/container naming
# sanchonet-pig and sanchonet-chicken both normalize to sanchonet
network_normalized="$network"
if [ "$network" = "sanchonet-pig" ] || [ "$network" = "sanchonet-chicken" ]; then
network_normalized="sanchonet"
fi
# # Normalize network name for directory/container naming
# # sanchonet-pig and sanchonet-chicken both normalize to sanchonet
# network_normalized="$network"
# if [ "$network" = "sanchonet-pig" ] || [ "$network" = "sanchonet-chicken" ]; then
# network_normalized="sanchonet"
# fi

# Function to assign a unique port based on version
# This ensures different versions on the same network use different ports
Expand Down Expand Up @@ -395,10 +395,8 @@ dumps_dir="$base_dir/dumps/$network_normalized"
utilities_dir="$base_dir/utilities"

# Base URL for node config files
if [ "$network" = "sanchonet-pig" ] || [ "$network" = "sanchonet-chicken" ]; then
if [ "$network" = "sanchonet" ]; then
config_base_url="https://raw.githubusercontent.com/Hornan7/SanchoNet-Tutorials/refs/heads/main/genesis/"
else
config_base_url="https://book.play.dev.cardano.org/environments/$network/"
fi

# Function to create a directory if it doesn't exist
Expand Down
Loading