Skip to content

Commit 5086efd

Browse files
authored
Merge pull request #71 from kleros/chore/migrate-subgraph
chore: migrate-subgraph
2 parents e487f56 + 4d1ae31 commit 5086efd

File tree

3 files changed

+65
-106
lines changed

3 files changed

+65
-106
lines changed

CHANGELOG.md

+61-102
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,45 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5-
## [2.0.0](https://github.com/kleros/archon/compare/v1.2.3...v2.0.0) (2021-07-13)
5+
## [2.4.0](https://github.com/kleros/archon/compare/v2.2.2...v2.4.0) (2024-05-20)
6+
7+
## [2.3.0](https://github.com/kleros/archon/compare/v2.2.2...v2.3.0) (2024-05-20)
68

9+
## [2.0.0](https://github.com/kleros/archon/compare/v1.2.3...v2.0.0) (2021-07-13)
710

811
### ⚠ BREAKING CHANGES
912

10-
* released version 2.0 ([91f93c9](https://github.com/kleros/archon/commit/91f93c9009a56f4cbf64671d8181e6534dfad203))
13+
- released version 2.0 ([91f93c9](https://github.com/kleros/archon/commit/91f93c9009a56f4cbf64671d8181e6534dfad203))
1114

1215
### [1.2.4](https://github.com/kleros/archon/compare/v1.2.1...v1.2.4) (2021-05-21)
1316

14-
* Bumped `web3` version to `1.3.6`
17+
- Bumped `web3` version to `1.3.6`
1518

1619
### [1.2.2](https://github.com/kleros/archon/compare/v1.2.1...v1.2.2) (2021-02-10)
1720

18-
1921
### Bug Fixes
2022

21-
* invalid URI throwing whole evidence request ([42317d5](https://github.com/kleros/archon/commit/42317d50d1e19a86d82db6d5f3c4e49c9b439637))
23+
- invalid URI throwing whole evidence request ([42317d5](https://github.com/kleros/archon/commit/42317d50d1e19a86d82db6d5f3c4e49c9b439637))
2224

2325
### [1.2.1](https://github.com/kleros/archon/compare/v1.2.0...v1.2.1) (2021-02-01)
2426

2527
## [1.2.0](https://github.com/kleros/archon/compare/v1.1.1...v1.2.0) (2020-12-22)
2628

27-
2829
### Features
2930

30-
* ff fix ([5585d5a](https://github.com/kleros/archon/commit/5585d5a71defbf0934a66a03da86d8b0ba8a4bec))
31+
- ff fix ([5585d5a](https://github.com/kleros/archon/commit/5585d5a71defbf0934a66a03da86d8b0ba8a4bec))
3132

3233
### [1.1.1](https://github.com/kleros/archon/compare/v1.1.0...v1.1.1) (2020-12-21)
3334

3435
## [1.1.0](https://github.com/kleros/archon/compare/v0.11.2...v1.1.0) (2020-10-28)
3536

36-
3737
### Features
3838

39-
* archon 1.x ([8dfe037](https://github.com/kleros/archon/commit/8dfe03746426578fa3d553b05492110ccced1692))
40-
39+
- archon 1.x ([8dfe037](https://github.com/kleros/archon/commit/8dfe03746426578fa3d553b05492110ccced1692))
4140

4241
### Bug Fixes
4342

44-
* switch abi to js files ([a9538b2](https://github.com/kleros/archon/commit/a9538b2685c09e032f715ac413b16b621394894c))
43+
- switch abi to js files ([a9538b2](https://github.com/kleros/archon/commit/a9538b2685c09e032f715ac413b16b621394894c))
4544

4645
### [0.11.2](https://github.com/kleros/archon/compare/v0.11.1...v0.11.2) (2020-10-21)
4746

@@ -54,218 +53,178 @@ All notable changes to this project will be documented in this file. See [standa
5453
### [0.10.3](https://github.com/kleros/archon/compare/v0.10.2...v0.10.3) (2020-08-10)
5554

5655
<a name="0.10.2"></a>
57-
## [0.10.2](https://github.com/kleros/archon/compare/v0.10.1...v0.10.2) (2020-07-20)
5856

57+
## [0.10.2](https://github.com/kleros/archon/compare/v0.10.1...v0.10.2) (2020-07-20)
5958

6059
### Bug Fixes
6160

62-
* add special circumstance for ff users ([489770b](https://github.com/kleros/archon/commit/489770b))
63-
64-
61+
- add special circumstance for ff users ([489770b](https://github.com/kleros/archon/commit/489770b))
6562

6663
<a name="0.10.1"></a>
67-
## [0.10.1](https://github.com/kleros/archon/compare/v0.10.0...v0.10.1) (2019-05-28)
6864

65+
## [0.10.1](https://github.com/kleros/archon/compare/v0.10.0...v0.10.1) (2019-05-28)
6966

7067
### Bug Fixes
7168

72-
* **dynamicScript:** remove display from iframe ([2350dbd](https://github.com/kleros/archon/commit/2350dbd))
73-
74-
69+
- **dynamicScript:** remove display from iframe ([2350dbd](https://github.com/kleros/archon/commit/2350dbd))
7570

7671
<a name="0.10.0"></a>
77-
# [0.10.0](https://github.com/kleros/archon/compare/v0.9.0...v0.10.0) (2019-05-14)
7872

73+
# [0.10.0](https://github.com/kleros/archon/compare/v0.9.0...v0.10.0) (2019-05-14)
7974

8075
### Features
8176

82-
* **sanitize:** default to single-select ([029c550](https://github.com/kleros/archon/commit/029c550))
83-
84-
77+
- **sanitize:** default to single-select ([029c550](https://github.com/kleros/archon/commit/029c550))
8578

8679
<a name="0.9.0"></a>
87-
# [0.9.0](https://github.com/kleros/archon/compare/v0.8.0...v0.9.0) (2019-05-01)
8880

81+
# [0.9.0](https://github.com/kleros/archon/compare/v0.8.0...v0.9.0) (2019-05-01)
8982

9083
### Features
9184

92-
* **frame-loader:** use getMetaEvidence ([10b5ebe](https://github.com/kleros/archon/commit/10b5ebe))
93-
94-
85+
- **frame-loader:** use getMetaEvidence ([10b5ebe](https://github.com/kleros/archon/commit/10b5ebe))
9586

9687
<a name="0.8.0"></a>
97-
# [0.8.0](https://github.com/kleros/archon/compare/v0.7.0...v0.8.0) (2019-04-09)
9888

89+
# [0.8.0](https://github.com/kleros/archon/compare/v0.7.0...v0.8.0) (2019-04-09)
9990

10091
### Features
10192

102-
* sanitize metaEvidence to add support for legacy standard ([7d526c0](https://github.com/kleros/archon/commit/7d526c0))
103-
104-
93+
- sanitize metaEvidence to add support for legacy standard ([7d526c0](https://github.com/kleros/archon/commit/7d526c0))
10594

10695
<a name="0.7.0"></a>
107-
# [0.7.0](https://github.com/kleros/archon/compare/v0.5.7...v0.7.0) (2019-04-09)
10896

97+
# [0.7.0](https://github.com/kleros/archon/compare/v0.5.7...v0.7.0) (2019-04-09)
10998

11099
### Bug Fixes
111100

112-
* version badge ([452873c](https://github.com/kleros/archon/commit/452873c))
113-
101+
- version badge ([452873c](https://github.com/kleros/archon/commit/452873c))
114102

115103
### Features
116104

117-
* evidence groups ([aec7052](https://github.com/kleros/archon/commit/aec7052))
118-
119-
105+
- evidence groups ([aec7052](https://github.com/kleros/archon/commit/aec7052))
120106

121107
<a name="0.6.0"></a>
122-
# [0.6.0](https://github.com/kleros/archon/compare/v0.5.7...v0.6.0) (2019-02-19)
123108

109+
# [0.6.0](https://github.com/kleros/archon/compare/v0.5.7...v0.6.0) (2019-02-19)
124110

125111
### Features
126112

127-
* evidence groups ([f83cf08](https://github.com/kleros/archon/commit/f83cf08))
128-
129-
113+
- evidence groups ([f83cf08](https://github.com/kleros/archon/commit/f83cf08))
130114

131115
<a name="0.5.7"></a>
132-
## [0.5.7](https://github.com/kleros/archon/compare/v0.5.6...v0.5.7) (2019-02-14)
133-
134116

117+
## [0.5.7](https://github.com/kleros/archon/compare/v0.5.6...v0.5.7) (2019-02-14)
135118

136119
<a name="0.5.6"></a>
137-
## [0.5.6](https://github.com/kleros/archon/compare/v0.5.5...v0.5.6) (2019-02-06)
138120

121+
## [0.5.6](https://github.com/kleros/archon/compare/v0.5.5...v0.5.6) (2019-02-06)
139122

140123
### Bug Fixes
141124

142-
* pin to specific web3 version to avoid breaking changes ([208cf1f](https://github.com/kleros/archon/commit/208cf1f))
143-
144-
125+
- pin to specific web3 version to avoid breaking changes ([208cf1f](https://github.com/kleros/archon/commit/208cf1f))
145126

146127
<a name="0.5.5"></a>
147-
## [0.5.5](https://github.com/kleros/archon/compare/v0.5.4...v0.5.5) (2019-02-06)
148128

129+
## [0.5.5](https://github.com/kleros/archon/compare/v0.5.4...v0.5.5) (2019-02-06)
149130

150131
### Bug Fixes
151132

152-
* never use ints for event logs as 0 is interpreted as null ([d7dfb2b](https://github.com/kleros/archon/commit/d7dfb2b))
153-
154-
133+
- never use ints for event logs as 0 is interpreted as null ([d7dfb2b](https://github.com/kleros/archon/commit/d7dfb2b))
155134

156135
<a name="0.5.4"></a>
157-
## [0.5.4](https://github.com/kleros/archon/compare/v0.5.3...v0.5.4) (2018-12-31)
158-
159136

137+
## [0.5.4](https://github.com/kleros/archon/compare/v0.5.3...v0.5.4) (2018-12-31)
160138

161139
<a name="0.5.3"></a>
162-
## [0.5.3](https://github.com/kleros/archon/compare/v0.5.2...v0.5.3) (2018-12-19)
163-
164140

141+
## [0.5.3](https://github.com/kleros/archon/compare/v0.5.2...v0.5.3) (2018-12-19)
165142

166143
<a name="0.5.2"></a>
167-
## [0.5.2](https://github.com/kleros/archon/compare/v0.5.1...v0.5.2) (2018-12-18)
168-
169144

145+
## [0.5.2](https://github.com/kleros/archon/compare/v0.5.1...v0.5.2) (2018-12-18)
170146

171147
<a name="0.5.1"></a>
172-
## [0.5.1](https://github.com/kleros/archon/compare/v0.5.0...v0.5.1) (2018-12-18)
173148

149+
## [0.5.1](https://github.com/kleros/archon/compare/v0.5.0...v0.5.1) (2018-12-18)
174150

175151
### Bug Fixes
176152

177-
* static methods and class methods for utils etc ([359a6bc](https://github.com/kleros/archon/commit/359a6bc))
178-
179-
153+
- static methods and class methods for utils etc ([359a6bc](https://github.com/kleros/archon/commit/359a6bc))
180154

181155
<a name="0.5.0"></a>
182-
# [0.5.0](https://github.com/kleros/archon/compare/v0.4.3...v0.5.0) (2018-12-07)
183156

157+
# [0.5.0](https://github.com/kleros/archon/compare/v0.4.3...v0.5.0) (2018-12-07)
184158

185159
### Features
186160

187-
* add uri utils ([6f20756](https://github.com/kleros/archon/commit/6f20756))
188-
189-
161+
- add uri utils ([6f20756](https://github.com/kleros/archon/commit/6f20756))
190162

191163
<a name="0.4.3"></a>
192-
## [0.4.3](https://github.com/kleros/archon/compare/v0.4.2...v0.4.3) (2018-12-05)
193164

165+
## [0.4.3](https://github.com/kleros/archon/compare/v0.4.2...v0.4.3) (2018-12-05)
194166

195167
### Bug Fixes
196168

197-
* update tests ([f90ec80](https://github.com/kleros/archon/commit/f90ec80))
198-
199-
169+
- update tests ([f90ec80](https://github.com/kleros/archon/commit/f90ec80))
200170

201171
<a name="0.4.2"></a>
202-
## [0.4.2](https://github.com/kleros/archon/compare/v0.4.0...v0.4.2) (2018-12-05)
203172

173+
## [0.4.2](https://github.com/kleros/archon/compare/v0.4.0...v0.4.2) (2018-12-05)
204174

205175
### Bug Fixes
206176

207-
* remove extra / in ipfs uris ([210638c](https://github.com/kleros/archon/commit/210638c))
208-
209-
177+
- remove extra / in ipfs uris ([210638c](https://github.com/kleros/archon/commit/210638c))
210178

211179
<a name="0.4.0"></a>
212-
# [0.4.0](https://github.com/kleros/archon/compare/v0.2.0...v0.4.0) (2018-11-28)
213180

181+
# [0.4.0](https://github.com/kleros/archon/compare/v0.2.0...v0.4.0) (2018-11-28)
214182

215183
### Features
216184

217-
* bubble up errors to top level calls to handle ([52b2278](https://github.com/kleros/archon/commit/52b2278))
218-
* pass ipfsGateway as param to standards instead of env var ([4a90a65](https://github.com/kleros/archon/commit/4a90a65))
219-
220-
185+
- bubble up errors to top level calls to handle ([52b2278](https://github.com/kleros/archon/commit/52b2278))
186+
- pass ipfsGateway as param to standards instead of env var ([4a90a65](https://github.com/kleros/archon/commit/4a90a65))
221187

222188
<a name="0.3.0"></a>
223-
# [0.3.0](https://github.com/kleros/archon/compare/v0.2.0...v0.3.0) (2018-10-25)
224189

190+
# [0.3.0](https://github.com/kleros/archon/compare/v0.2.0...v0.3.0) (2018-10-25)
225191

226192
### Features
227193

228-
* bubble up errors to top level calls to handle ([7e4e5f9](https://github.com/kleros/archon/commit/7e4e5f9))
229-
230-
194+
- bubble up errors to top level calls to handle ([7e4e5f9](https://github.com/kleros/archon/commit/7e4e5f9))
231195

232196
<a name="0.2.0"></a>
233-
# [0.2.0](https://github.com/kleros/archon/compare/v0.1.1...v0.2.0) (2018-10-17)
234197

198+
# [0.2.0](https://github.com/kleros/archon/compare/v0.1.1...v0.2.0) (2018-10-17)
235199

236200
### Features
237201

238-
* arbitrable getDispute + doc updates ([6f48f40](https://github.com/kleros/archon/commit/6f48f40))
239-
* support accepted ipfs uris ([d90473c](https://github.com/kleros/archon/commit/d90473c))
240-
241-
202+
- arbitrable getDispute + doc updates ([6f48f40](https://github.com/kleros/archon/commit/6f48f40))
203+
- support accepted ipfs uris ([d90473c](https://github.com/kleros/archon/commit/d90473c))
242204

243205
<a name="0.1.1"></a>
244-
## [0.1.1](https://github.com/kleros/archon/compare/v0.1.0...v0.1.1) (2018-10-08)
245206

207+
## [0.1.1](https://github.com/kleros/archon/compare/v0.1.0...v0.1.1) (2018-10-08)
246208

247209
### Bug Fixes
248210

249-
* remove appened /ipfs/ from default uri ([f9422c3](https://github.com/kleros/archon/commit/f9422c3))
250-
251-
211+
- remove appened /ipfs/ from default uri ([f9422c3](https://github.com/kleros/archon/commit/f9422c3))
252212

253213
<a name="0.1.0"></a>
254-
# 0.1.0 (2018-10-08)
255214

215+
# 0.1.0 (2018-10-08)
256216

257217
### Bug Fixes
258218

259-
* default ipfs gateway ([8ddf46e](https://github.com/kleros/archon/commit/8ddf46e))
260-
* errors and lints ([aef891b](https://github.com/kleros/archon/commit/aef891b))
261-
* styling ([802be78](https://github.com/kleros/archon/commit/802be78))
262-
219+
- default ipfs gateway ([8ddf46e](https://github.com/kleros/archon/commit/8ddf46e))
220+
- errors and lints ([aef891b](https://github.com/kleros/archon/commit/aef891b))
221+
- styling ([802be78](https://github.com/kleros/archon/commit/802be78))
263222

264223
### Features
265224

266-
* dry out validation ([3586b54](https://github.com/kleros/archon/commit/3586b54))
267-
* **arbitrable:** get ruling ([ee28edd](https://github.com/kleros/archon/commit/ee28edd))
268-
* **arbitrator:** imlpement stardard arbitrator methods ([0d2c44e](https://github.com/kleros/archon/commit/0d2c44e))
269-
* setIpfsGateway ([6ace0c4](https://github.com/kleros/archon/commit/6ace0c4))
270-
* support more hashing algorithms and add hashFile() ([2939d99](https://github.com/kleros/archon/commit/2939d99))
271-
* validation util ([a67d7f6](https://github.com/kleros/archon/commit/a67d7f6))
225+
- dry out validation ([3586b54](https://github.com/kleros/archon/commit/3586b54))
226+
- **arbitrable:** get ruling ([ee28edd](https://github.com/kleros/archon/commit/ee28edd))
227+
- **arbitrator:** imlpement stardard arbitrator methods ([0d2c44e](https://github.com/kleros/archon/commit/0d2c44e))
228+
- setIpfsGateway ([6ace0c4](https://github.com/kleros/archon/commit/6ace0c4))
229+
- support more hashing algorithms and add hashFile() ([2939d99](https://github.com/kleros/archon/commit/2939d99))
230+
- validation util ([a67d7f6](https://github.com/kleros/archon/commit/a67d7f6))

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kleros/archon",
3-
"version": "2.2.2",
3+
"version": "2.4.0",
44
"description": "A javascript library for Ethereum dispute resolution. Provides the ability to interface with Arbitrable and Arbitrator Ethereum smart contracts, as defined in ERC 792.",
55
"license": "MIT",
66
"keywords": [

src/standards/Arbitrable.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ class Arbitrable extends StandardContract {
137137
getSubgraph = (chainID) => {
138138
switch (chainID) {
139139
case 1:
140-
return "https://api.thegraph.com/subgraphs/name/andreimvp/kleros-display-mainnet";
140+
return "https://api.studio.thegraph.com/query/61738/kleros-display-mainnet/version/latest";
141141
case 100:
142-
return "https://api.thegraph.com/subgraphs/name/andreimvp/kleros-display";
142+
return "https://api.studio.thegraph.com/query/61738/kleros-display-gnosis/version/latest";
143143
case 11155111:
144-
return "https://api.studio.thegraph.com/query/50849/kleros-sepolia-ss/version/latest";
144+
return "https://api.studio.thegraph.com/query/61738/kleros-display-sepolia/version/latest";
145145
default:
146146
return null;
147147
}

0 commit comments

Comments
 (0)