From e9322c0e450e63a9b82fdb5c91820da1fcf234a1 Mon Sep 17 00:00:00 2001 From: bpolania Date: Thu, 12 Dec 2024 17:24:12 -0800 Subject: [PATCH 1/2] Update permission.test.ts --- packages/core-sdk/test/integration/permission.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core-sdk/test/integration/permission.test.ts b/packages/core-sdk/test/integration/permission.test.ts index 8b103e93..948f028a 100644 --- a/packages/core-sdk/test/integration/permission.test.ts +++ b/packages/core-sdk/test/integration/permission.test.ts @@ -56,7 +56,7 @@ describe("Permission Functions", () => { it("should not throw error when create set permission signature", async () => { const response = await client.permission.createSetPermissionSignature({ - ipId: "0xE54028E60070223a9b77097D9385933340D10691", + ipId: ipId, signer: process.env.TEST_WALLET_ADDRESS as Address, to: coreMetadataModule, func: "function setAll(address,string,bytes32,bytes32)", From 93579ce839037c16c95f46e30e67c598cee35662 Mon Sep 17 00:00:00 2001 From: bpolania Date: Thu, 12 Dec 2024 17:25:10 -0800 Subject: [PATCH 2/2] New github environment --- .github/workflows/pr-external.yaml | 2 +- .github/workflows/pr-internal.yml | 4 ++-- .github/workflows/publish-package.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-external.yaml b/.github/workflows/pr-external.yaml index 95446203..69d7e8a7 100644 --- a/.github/workflows/pr-external.yaml +++ b/.github/workflows/pr-external.yaml @@ -27,7 +27,7 @@ jobs: uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-unit-test-workflow.yml@main with: sha: ${{ github.event.pull_request.head.sha }} - ENVIRONMENT: "beta-sepolia" + ENVIRONMENT: "odyssey" secrets: WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }} TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }} diff --git a/.github/workflows/pr-internal.yml b/.github/workflows/pr-internal.yml index 3ce7a4ea..792ca0aa 100644 --- a/.github/workflows/pr-internal.yml +++ b/.github/workflows/pr-internal.yml @@ -20,7 +20,7 @@ jobs: uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-unit-test-workflow.yml@main with: sha: ${{ github.event.pull_request.head.sha }} - ENVIRONMENT: "beta-sepolia" + ENVIRONMENT: "odyssey" secrets: WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }} TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }} @@ -30,7 +30,7 @@ jobs: uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-integration-test-workflow.yml@main with: sha: ${{ github.sha }} - ENVIRONMENT: "beta-sepolia" + ENVIRONMENT: "odyssey" secrets: WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }} TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }} diff --git a/.github/workflows/publish-package.yaml b/.github/workflows/publish-package.yaml index 7cb92769..b424f62e 100644 --- a/.github/workflows/publish-package.yaml +++ b/.github/workflows/publish-package.yaml @@ -120,7 +120,7 @@ jobs: # and the event triggering the workflow is a push if: ${{ (needs.fail_if_version_is_same.outputs.is_publish_core_sdk == 'true' || needs.fail_if_version_is_same.outputs.is_publish_react_sdk == 'true') && github.event_name == 'push' }} runs-on: ubuntu-latest - environment: "beta-sepolia" + environment: "odyssey" env: WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }} TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }}