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:
parent
b1e313ed34
commit
5fd64dd276
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -60,8 +60,6 @@ jobs:
|
|||||||
working-directory: ${{ github.workspace }}/barge
|
working-directory: ${{ github.workspace }}/barge
|
||||||
run: |
|
run: |
|
||||||
bash -x start_ocean.sh --no-aquarius --no-elasticsearch --no-provider --no-dashboard 2>&1 > start_ocean.log &
|
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
|
- run: npm ci
|
||||||
- name: Wait for contracts deployment
|
- name: Wait for contracts deployment
|
||||||
working-directory: ${{ github.workspace }}/barge
|
working-directory: ${{ github.workspace }}/barge
|
||||||
@ -118,8 +116,6 @@ jobs:
|
|||||||
working-directory: ${{ github.workspace }}/barge
|
working-directory: ${{ github.workspace }}/barge
|
||||||
run: |
|
run: |
|
||||||
bash -x start_ocean.sh --with-provider2 --no-dashboard --with-c2d 2>&1 > start_ocean.log &
|
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 ci
|
||||||
- run: npm run build:metadata
|
- run: npm run build:metadata
|
||||||
|
@ -189,7 +189,7 @@ describe('Nft Factory test', () => {
|
|||||||
// txReceipt.events.DispenserAllowedSwapperChanged
|
// txReceipt.events.DispenserAllowedSwapperChanged
|
||||||
// )
|
// )
|
||||||
|
|
||||||
const allowedSwapper = txReceipt.events.DispenserCreated.returnValues[4]
|
const { allowedSwapper } = txReceipt.events.DispenserCreated.returnValues
|
||||||
console.log(`Allowed Swapper: ${allowedSwapper}`)
|
console.log(`Allowed Swapper: ${allowedSwapper}`)
|
||||||
assert(allowedSwapper === ZERO_ADDRESS, 'ZERO_ADDRESS is not set as allowedSwapper')
|
assert(allowedSwapper === ZERO_ADDRESS, 'ZERO_ADDRESS is not set as allowedSwapper')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user