Skip to content

Commit

Permalink
chore: updated lender seed to match sudo for runtime upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
beqaabu committed Aug 12, 2024
1 parent 3679419 commit 6e6e23c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/runtime-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -508,13 +508,13 @@ jobs:
name: creditcoin_node_runtime.compact.compressed.wasm

- name: Upgrade WASM
if: env.LENDER_PRIVATE_KEY
if: env.LENDER_SEED
run: |
yarn --cwd ./scripts/js upgrade 'creditcoin-js'
yarn --cwd ./scripts/js runtimeUpgrade ws://127.0.0.1:9944 ../../creditcoin_node_runtime.compact.compressed.wasm "${{ env.LENDER_PRIVATE_KEY }}" 0
yarn --cwd ./scripts/js runtimeUpgrade ws://127.0.0.1:9944 ../../creditcoin_node_runtime.compact.compressed.wasm "${{ env.LENDER_SEED }}" 0
sleep 10
env:
LENDER_PRIVATE_KEY: ${{ secrets.TESTNET_LENDER_PRIVATE_KEY }}
LENDER_SEED: "${{ secrets.TESTNET_LENDER_SEED }}"

# TODO: wait & confirm wasm upgrade has finished, incl. migrations
- name: Execute integration tests
Expand Down

0 comments on commit 6e6e23c

Please sign in to comment.