Skip to content

Commit 34b2eda

Browse files
authored
Merge branch 'develop' into patch-1
2 parents a0a424f + c0ed4b1 commit 34b2eda

File tree

6 files changed

+24
-13
lines changed

6 files changed

+24
-13
lines changed

.drone.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -646,19 +646,18 @@ steps:
646646
target:
647647
- subgraph-deployer-docker-dev
648648

649-
- name: docker-dry-run
649+
- name: docker-publish
650650
image: plugins/docker
651651
pull: always
652652
settings:
653653
context: .
654654
dockerfile: packages/subgraph/deployer.Dockerfile
655-
registry: docker-regis.iex.ec
656-
repo: docker-regis.iex.ec/product/dataprotector-subgraph-deployer
655+
repo: iexechub/dataprotector-subgraph-deployer
657656
pull_image: true
658657
username:
659-
from_secret: nexus-user
658+
from_secret: dockerhub-user
660659
password:
661-
from_secret: nexus-password
660+
from_secret: dockerhub-password
662661

663662
---
664663
kind: pipeline

packages/sharing-smart-contract/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## Next
6+
7+
### Changed
8+
9+
- update blockscout url
10+
511
## [2.0.0]
612

713
### Changed

packages/sharing-smart-contract/hardhat.config.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ module.exports = {
6464
network: 'bellecour',
6565
chainId: 134,
6666
urls: {
67-
apiURL: 'https://blockscout-v6.bellecour.iex.ec/api',
68-
browserURL: 'https://blockscout-v6.bellecour.iex.ec',
67+
apiURL: 'https://blockscout.bellecour.iex.ec/api',
68+
browserURL: 'https://blockscout.bellecour.iex.ec',
6969
},
7070
},
7171
],

packages/sharing-smart-contract/test/e2e/consumeProtectedData.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ describe('ConsumeProtectedData', () => {
101101
value: ethers.parseUnits(subscriptionParams.price.toString(), 'gwei'),
102102
}); // value sent should be in wei
103103
await dataProtectorSharingContract.connect(addr2).subscribeToCollection(collectionTokenId, subscriptionParams);
104-
// advance time by one hour and mine a new block
105-
await time.increase(subscriptionParams.duration);
104+
// advance time to reach end of subscription and mine a new block
105+
await time.increase(subscriptionParams.duration + 1);
106106

107107
await expect(
108108
dataProtectorSharingContract
@@ -127,8 +127,8 @@ describe('ConsumeProtectedData', () => {
127127
value: ethers.parseUnits(rentingParams.price.toString(), 'gwei'),
128128
}); // value sent should be in wei
129129
await dataProtectorSharingContract.connect(addr2).rentProtectedData(protectedDataAddress, rentingParams);
130-
// advance time by one hour and mine a new block
131-
await time.increase(rentingParams.duration);
130+
// advance time to reach end of renting and mine a new block
131+
await time.increase(rentingParams.duration + 1);
132132

133133
await expect(
134134
dataProtectorSharingContract

packages/smart-contract/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## Next
6+
7+
### Changed
8+
9+
- update blockscout url
10+
511
## [0.1.0] Initial release

packages/smart-contract/hardhat.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ const config: HardhatUserConfig = {
3434
network: 'bellecour',
3535
chainId: 134,
3636
urls: {
37-
apiURL: 'https://blockscout-bellecour.iex.ec/api',
38-
browserURL: 'https://blockscout-bellecour.iex.ec',
37+
apiURL: 'https://blockscout.bellecour.iex.ec/api',
38+
browserURL: 'https://blockscout.bellecour.iex.ec',
3939
},
4040
},
4141
],

0 commit comments

Comments
 (0)