Skip to content

Commit

Permalink
change folder names for staging and prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Eikix committed Nov 8, 2024
1 parent 3f9bd5e commit d9082dc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git checkout -b update-staging-deployment-run-${{ github.run_id }}
git add deployments/kakarot-staging/
git add deployments/staging/
git commit -m "Update staging deployments from run ${{ github.run_id }}"
git push --set-upstream origin update-staging-deployment-run-${{ github.run_id }} --force
gh pr create --repo=kkrt-labs/kakarot --base=main --head=update-staging-deployment-run-${{ github.run_id }} \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ services:
- MONGO_DATABASE_NAME=kakarot-local
# These values are unique to Sepolia Testnet
# They'll need to be manually changed in case the testnet is reset
# To add robustness: parse the `deployments/kakarot-sepolia` folder in `kkrt-labs/kakarot` repo
# To add robustness: parse the `deployments/sepolia` folder in `kkrt-labs/kakarot` repo
- KAKAROT_ADDRESS=0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359
- UNINITIALIZED_ACCOUNT_CLASS_HASH=0x7b2de5e73ff7eb338d76c967dd5aa3f3004574d326b8c1402bb819d4983b8b6
- ACCOUNT_CONTRACT_CLASS_HASH=0x25d4b4889979f3df8171991f6a0163b42b756daebf313bcd0dec74cacf903f9
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ services:
- MONGO_DATABASE_NAME=kakarot-local
# These values are unique to Sepolia Testnet
# They'll need to be manually changed in case the testnet is reset
# To add robustness: parse the `deployments/starknet-sepolia` folder in `kkrt-labs/kakarot` repo
# To add robustness: parse the `deployments/staging` folder in `kkrt-labs/kakarot` repo
- KAKAROT_ADDRESS=0x48fc2888aad166304e63af35a48e00e32da9831e49fe30a22148fdecdb7e66f
- UNINITIALIZED_ACCOUNT_CLASS_HASH=0x7b2de5e73ff7eb338d76c967dd5aa3f3004574d326b8c1402bb819d4983b8b6
- ACCOUNT_CONTRACT_CLASS_HASH=0x25d4b4889979f3df8171991f6a0163b42b756daebf313bcd0dec74cacf903f9
Expand Down
6 changes: 3 additions & 3 deletions scripts/e2e_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ fi
if ${run_test}; then
echo "Running tests for the ${ENV} environment. Skipping: ${SKIP}"

KAKAROT_ADDRESS=$(jq -r '.kakarot' ./deployments/starknet-"${ENV}"/deployments.json)
UNINITIALIZED_ACCOUNT_CLASS_HASH=$(jq -r '.uninitialized_account' ./deployments/starknet-"${ENV}"/declarations.json)
ACCOUNT_CONTRACT_CLASS_HASH=$(jq -r '.account_contract' ./deployments/starknet-"${ENV}"/declarations.json)
KAKAROT_ADDRESS=$(jq -r '.kakarot' ./deployments/"${ENV}"/deployments.json)
UNINITIALIZED_ACCOUNT_CLASS_HASH=$(jq -r '.uninitialized_account' ./deployments/"${ENV}"/declarations.json)
ACCOUNT_CONTRACT_CLASS_HASH=$(jq -r '.account_contract' ./deployments/"${ENV}"/declarations.json)

export KAKAROT_ADDRESS="${KAKAROT_ADDRESS}"
export UNINITIALIZED_ACCOUNT_CLASS_HASH="${UNINITIALIZED_ACCOUNT_CLASS_HASH}"
Expand Down

0 comments on commit d9082dc

Please sign in to comment.