diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7f1126b..9db9c739 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,8 +60,6 @@ jobs: working-directory: ${{ github.workspace }}/barge run: | bash -x start_ocean.sh --no-aquarius --no-elasticsearch --no-provider --no-dashboard 2>&1 > start_ocean.log & - env: - CONTRACTS_VERSION: v1.1.4 - run: npm ci - name: Wait for contracts deployment working-directory: ${{ github.workspace }}/barge @@ -118,8 +116,6 @@ jobs: working-directory: ${{ github.workspace }}/barge run: | bash -x start_ocean.sh --with-provider2 --no-dashboard --with-c2d 2>&1 > start_ocean.log & - env: - CONTRACTS_VERSION: v1.1.3 - run: npm ci - run: npm run build:metadata diff --git a/test/unit/NftFactory.test.ts b/test/unit/NftFactory.test.ts index 9e8ed402..0163c56e 100644 --- a/test/unit/NftFactory.test.ts +++ b/test/unit/NftFactory.test.ts @@ -189,7 +189,7 @@ describe('Nft Factory test', () => { // txReceipt.events.DispenserAllowedSwapperChanged // ) - const allowedSwapper = txReceipt.events.DispenserCreated.returnValues[4] + const { allowedSwapper } = txReceipt.events.DispenserCreated.returnValues console.log(`Allowed Swapper: ${allowedSwapper}`) assert(allowedSwapper === ZERO_ADDRESS, 'ZERO_ADDRESS is not set as allowedSwapper')