1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

remove hardcoded contracts versions in test runs

This commit is contained in:
Matthias Kretschmann 2022-10-04 16:30:51 +01:00
parent b1e313ed34
commit 5fd64dd276
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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')