From 3acf31e789f41fa080d1880a259305dfae02bf18 Mon Sep 17 00:00:00 2001 From: Maksim Date: Thu, 28 Mar 2024 19:20:38 +0100 Subject: [PATCH] change the name of account id variable --- .github/workflows/push.yml | 2 +- .github/workflows/push_main.yml | 2 +- .github/workflows/release.yml | 2 +- test/vault.test.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 5db7458..b06a5b7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,7 +14,7 @@ jobs: env: RPC_URL: ${{ secrets.RPC_URL }} PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} - ACCOUNT_ID: ${{ vars.ACCOUNT_ID }} + ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/push_main.yml b/.github/workflows/push_main.yml index 84ca5c9..1769a55 100644 --- a/.github/workflows/push_main.yml +++ b/.github/workflows/push_main.yml @@ -17,7 +17,7 @@ jobs: env: RPC_URL: ${{ secrets.RPC_URL }} PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} - ACCOUNT_ID: ${{ vars.ACCOUNT_ID }} + ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a914ae..e036824 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: env: RPC_URL: ${{ secrets.RPC_URL }} PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} - ACCOUNT_ID: ${{ vars.ACCOUNT_ID }} + ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }} steps: - uses: actions/checkout@v4 diff --git a/test/vault.test.ts b/test/vault.test.ts index afcf2a0..96a2953 100644 --- a/test/vault.test.ts +++ b/test/vault.test.ts @@ -21,7 +21,7 @@ describe("Vault", function () { let client = Client.forTestnet(); const operatorPrKey = PrivateKey.fromStringECDSA(process.env.PRIVATE_KEY || ''); - const operatorAccountId = AccountId.fromString(process.env.OPERATOR_ID || ''); + const operatorAccountId = AccountId.fromString(process.env.ACCOUNT_ID || ''); client.setOperator( operatorAccountId,