Skip to content

Commit c0ed4b1

Browse files
update blockscout url (#384)
2 parents 310b56f + 48b6ddd commit c0ed4b1

File tree

5 files changed

+20
-8
lines changed

5 files changed

+20
-8
lines changed

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)