Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate-subgraph #71

Merged
merged 2 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 61 additions & 102 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,45 @@

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.

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

## [2.3.0](https://github.com/kleros/archon/compare/v2.2.2...v2.3.0) (2024-05-20)

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

### ⚠ BREAKING CHANGES

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

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

* Bumped `web3` version to `1.3.6`
- Bumped `web3` version to `1.3.6`

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


### Bug Fixes

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

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

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


### Features

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

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

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


### Features

* archon 1.x ([8dfe037](https://github.com/kleros/archon/commit/8dfe03746426578fa3d553b05492110ccced1692))

- archon 1.x ([8dfe037](https://github.com/kleros/archon/commit/8dfe03746426578fa3d553b05492110ccced1692))

### Bug Fixes

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

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

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

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

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

### Bug Fixes

* add special circumstance for ff users ([489770b](https://github.com/kleros/archon/commit/489770b))


- add special circumstance for ff users ([489770b](https://github.com/kleros/archon/commit/489770b))

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

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

### Bug Fixes

* **dynamicScript:** remove display from iframe ([2350dbd](https://github.com/kleros/archon/commit/2350dbd))


- **dynamicScript:** remove display from iframe ([2350dbd](https://github.com/kleros/archon/commit/2350dbd))

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

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

### Features

* **sanitize:** default to single-select ([029c550](https://github.com/kleros/archon/commit/029c550))


- **sanitize:** default to single-select ([029c550](https://github.com/kleros/archon/commit/029c550))

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

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

### Features

* **frame-loader:** use getMetaEvidence ([10b5ebe](https://github.com/kleros/archon/commit/10b5ebe))


- **frame-loader:** use getMetaEvidence ([10b5ebe](https://github.com/kleros/archon/commit/10b5ebe))

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

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

### Features

* sanitize metaEvidence to add support for legacy standard ([7d526c0](https://github.com/kleros/archon/commit/7d526c0))


- sanitize metaEvidence to add support for legacy standard ([7d526c0](https://github.com/kleros/archon/commit/7d526c0))

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

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

### Bug Fixes

* version badge ([452873c](https://github.com/kleros/archon/commit/452873c))

- version badge ([452873c](https://github.com/kleros/archon/commit/452873c))

### Features

* evidence groups ([aec7052](https://github.com/kleros/archon/commit/aec7052))


- evidence groups ([aec7052](https://github.com/kleros/archon/commit/aec7052))

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

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

### Features

* evidence groups ([f83cf08](https://github.com/kleros/archon/commit/f83cf08))


- evidence groups ([f83cf08](https://github.com/kleros/archon/commit/f83cf08))

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


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

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

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

### Bug Fixes

* pin to specific web3 version to avoid breaking changes ([208cf1f](https://github.com/kleros/archon/commit/208cf1f))


- pin to specific web3 version to avoid breaking changes ([208cf1f](https://github.com/kleros/archon/commit/208cf1f))

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

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

### Bug Fixes

* never use ints for event logs as 0 is interpreted as null ([d7dfb2b](https://github.com/kleros/archon/commit/d7dfb2b))


- never use ints for event logs as 0 is interpreted as null ([d7dfb2b](https://github.com/kleros/archon/commit/d7dfb2b))

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


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

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


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

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


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

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

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

### Bug Fixes

* static methods and class methods for utils etc ([359a6bc](https://github.com/kleros/archon/commit/359a6bc))


- static methods and class methods for utils etc ([359a6bc](https://github.com/kleros/archon/commit/359a6bc))

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

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

### Features

* add uri utils ([6f20756](https://github.com/kleros/archon/commit/6f20756))


- add uri utils ([6f20756](https://github.com/kleros/archon/commit/6f20756))

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

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

### Bug Fixes

* update tests ([f90ec80](https://github.com/kleros/archon/commit/f90ec80))


- update tests ([f90ec80](https://github.com/kleros/archon/commit/f90ec80))

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

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

### Bug Fixes

* remove extra / in ipfs uris ([210638c](https://github.com/kleros/archon/commit/210638c))


- remove extra / in ipfs uris ([210638c](https://github.com/kleros/archon/commit/210638c))

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

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

### Features

* bubble up errors to top level calls to handle ([52b2278](https://github.com/kleros/archon/commit/52b2278))
* pass ipfsGateway as param to standards instead of env var ([4a90a65](https://github.com/kleros/archon/commit/4a90a65))


- bubble up errors to top level calls to handle ([52b2278](https://github.com/kleros/archon/commit/52b2278))
- pass ipfsGateway as param to standards instead of env var ([4a90a65](https://github.com/kleros/archon/commit/4a90a65))

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

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

### Features

* bubble up errors to top level calls to handle ([7e4e5f9](https://github.com/kleros/archon/commit/7e4e5f9))


- bubble up errors to top level calls to handle ([7e4e5f9](https://github.com/kleros/archon/commit/7e4e5f9))

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

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

### Features

* arbitrable getDispute + doc updates ([6f48f40](https://github.com/kleros/archon/commit/6f48f40))
* support accepted ipfs uris ([d90473c](https://github.com/kleros/archon/commit/d90473c))


- arbitrable getDispute + doc updates ([6f48f40](https://github.com/kleros/archon/commit/6f48f40))
- support accepted ipfs uris ([d90473c](https://github.com/kleros/archon/commit/d90473c))

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

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

### Bug Fixes

* remove appened /ipfs/ from default uri ([f9422c3](https://github.com/kleros/archon/commit/f9422c3))


- remove appened /ipfs/ from default uri ([f9422c3](https://github.com/kleros/archon/commit/f9422c3))

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

# 0.1.0 (2018-10-08)

### Bug Fixes

* default ipfs gateway ([8ddf46e](https://github.com/kleros/archon/commit/8ddf46e))
* errors and lints ([aef891b](https://github.com/kleros/archon/commit/aef891b))
* styling ([802be78](https://github.com/kleros/archon/commit/802be78))

- default ipfs gateway ([8ddf46e](https://github.com/kleros/archon/commit/8ddf46e))
- errors and lints ([aef891b](https://github.com/kleros/archon/commit/aef891b))
- styling ([802be78](https://github.com/kleros/archon/commit/802be78))

### Features

* dry out validation ([3586b54](https://github.com/kleros/archon/commit/3586b54))
* **arbitrable:** get ruling ([ee28edd](https://github.com/kleros/archon/commit/ee28edd))
* **arbitrator:** imlpement stardard arbitrator methods ([0d2c44e](https://github.com/kleros/archon/commit/0d2c44e))
* setIpfsGateway ([6ace0c4](https://github.com/kleros/archon/commit/6ace0c4))
* support more hashing algorithms and add hashFile() ([2939d99](https://github.com/kleros/archon/commit/2939d99))
* validation util ([a67d7f6](https://github.com/kleros/archon/commit/a67d7f6))
- dry out validation ([3586b54](https://github.com/kleros/archon/commit/3586b54))
- **arbitrable:** get ruling ([ee28edd](https://github.com/kleros/archon/commit/ee28edd))
- **arbitrator:** imlpement stardard arbitrator methods ([0d2c44e](https://github.com/kleros/archon/commit/0d2c44e))
- setIpfsGateway ([6ace0c4](https://github.com/kleros/archon/commit/6ace0c4))
- support more hashing algorithms and add hashFile() ([2939d99](https://github.com/kleros/archon/commit/2939d99))
- validation util ([a67d7f6](https://github.com/kleros/archon/commit/a67d7f6))
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kleros/archon",
"version": "2.2.2",
"version": "2.4.0",
"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.",
"license": "MIT",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions src/standards/Arbitrable.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ class Arbitrable extends StandardContract {
getSubgraph = (chainID) => {
switch (chainID) {
case 1:
return "https://api.thegraph.com/subgraphs/name/andreimvp/kleros-display-mainnet";
return "https://api.studio.thegraph.com/query/61738/kleros-display-mainnet/version/latest";
case 100:
return "https://api.thegraph.com/subgraphs/name/andreimvp/kleros-display";
return "https://api.studio.thegraph.com/query/61738/kleros-display-gnosis/version/latest";
case 11155111:
return "https://api.studio.thegraph.com/query/50849/kleros-sepolia-ss/version/latest";
return "https://api.studio.thegraph.com/query/61738/kleros-display-sepolia/version/latest";
default:
return null;
}
Expand Down
Loading