From f24cd6e0fd6b1a5f58f702df730e71cecc4e5f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michalina=20Ciencia=C5=82a?= Date: Thu, 11 Mar 2021 16:06:26 +0100 Subject: [PATCH] Change names of secrets Name of the secret storing private key for the account used for migration of contracts on Ethereum has been changed, so that we would have similar naming to that for Celo chain account. Also names of the ETH_HOSTNAME, ETH_NETWORK_ID and TRUFFLE_NETWORK secrets have been enhanced with `KEEP_TEST` / `KEEP_TEST_ETH` prefix. --- .github/workflows/contracts.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index 7c14a14f42..25f6242842 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -135,9 +135,9 @@ jobs: - name: Migrate contracts env: - TRUFFLE_NETWORK: ${{ secrets.TRUFFLE_NETWORK }} - ETH_HOSTNAME: ${{ secrets.ETH_HOSTNAME }} - CONTRACT_OWNER_ETH_ACCOUNT_PRIVATE_KEY: ${{ secrets.CONTRACT_OWNER_ETH_ACCOUNT_PRIVATE_KEY }} + TRUFFLE_NETWORK: ${{ secrets.KEEP_TEST_ETH_TRUFFLE_NETWORK }} + ETH_HOSTNAME: ${{ secrets.KEEP_TEST_ETH_HOSTNAME }} + CONTRACT_OWNER_ETH_ACCOUNT_PRIVATE_KEY: ${{ secrets.KEEP_TEST_ETH_CONTRACT_OWNER_PRIVATE_KEY }} run: npx truffle migrate --reset --network $TRUFFLE_NETWORK # writes artifacts to /home/runner/work/keep-core/keep-core/solidity/build/contracts - name: Push contracts to Tenderly @@ -148,7 +148,7 @@ jobs: working-directory: ./solidity tenderly-token: ${{ secrets.TENDERLY_TOKEN }} tenderly-project: thesis/keep-test - eth-network-id: ${{ secrets.ETH_NETWORK_ID }} # currently ='3' (ropsten) + eth-network-id: ${{ secrets.KEEP_TEST_ETH_NETWORK_ID }} # currently ='3' (ropsten) github-project-name: keep-core # version-tag: # TODO: resolve npm package version