Skip to content

Commit

Permalink
When testing against a disconnected node use the credentials for Testnet
Browse files Browse the repository at this point in the history
instead of //Alice. ALICE & BOB don't have any funds on Testnet anymore!

Also see 1d0f238
  • Loading branch information
atodorov committed Jan 8, 2024
1 parent 7e4a6df commit fe5f85b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/runtime-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -516,10 +516,13 @@ jobs:
name: creditcoin_node_runtime.compact.compressed.wasm

- name: Upgrade WASM
if: env.LENDER_PRIVATE_KEY
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 //Alice 0
yarn --cwd ./scripts/js runtimeUpgrade ws://127.0.0.1:9944 ../../creditcoin_node_runtime.compact.compressed.wasm "${{ env.LENDER_PRIVATE_KEY }}" 0
sleep 10
env:
LENDER_PRIVATE_KEY: ${{ secrets.TESTNET_LENDER_PRIVATE_KEY }}

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

0 comments on commit fe5f85b

Please sign in to comment.