Skip to content

Commit 4963c6a

Browse files
authored
Merge pull request #1386 from kleros/dev
Release testnet-3
2 parents d53f5ff + 2b6d97a commit 4963c6a

File tree

325 files changed

+68387
-16876
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+68387
-16876
lines changed

.codeclimate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ engines:
66
enabled: false
77
exclude_paths:
88
- "web/src/graphql/generated.ts"
9+
- "contracts/deployments/"

.github/workflows/deploy-subgraph.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,20 @@ on:
66
network:
77
description: The network to deploy the subgraph to
88
required: true
9-
default: 'arbitrum-goerli'
9+
default: 'arbitrum-sepolia'
1010
type: choice
1111
options:
12-
- arbitrum-goerli-devnet
13-
- arbitrum-goerli
12+
- arbitrum-sepolia-devnet
13+
- arbitrum-sepolia
1414
- arbitrum
15+
subgraph:
16+
description: The name of the subgraph to deploy
17+
required: true
18+
default: 'core'
19+
type: choice
20+
options:
21+
- core
22+
- drt
1523
update:
1624
description: Whether to update the subgraph with the current artifacts for the selected network.
1725
required: true
@@ -58,19 +66,19 @@ jobs:
5866
if: ${{ inputs.update }}
5967
run: |
6068
export PATH=$PWD/../bin:$PATH
61-
yarn update:${{ inputs.network }}
69+
yarn update:${{ inputs.subgraph }}:${{ inputs.network }}
6270
working-directory: subgraph
6371

6472
- name: Build the subgraph
6573
run: |
66-
yarn codegen
67-
yarn build
74+
yarn codegen:${{ inputs.subgraph }}
75+
yarn build:${{ inputs.subgraph }}
6876
working-directory: subgraph
6977

7078
- name: Authenticate with TheGraph
7179
run: yarn graph auth "${{ secrets.SUBGRAPH_AUTH_TOKEN }}" --product hosted-service
7280
working-directory: subgraph
7381

7482
- name: Deploy the subgraph
75-
run: yarn deploy:${{ inputs.network }}
83+
run: yarn deploy:${{ inputs.subgraph }}:${{ inputs.network }}
7684
working-directory: subgraph

.github/workflows/sonarcloud.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- dev
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
10+
jobs:
11+
sonarcloud:
12+
name: SonarCloud
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
18+
19+
- name: SonarCloud Scan
20+
uses: SonarSource/sonarcloud-github-action@master
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
23+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.yarn/releases/yarn-3.3.1.cjs

Lines changed: 0 additions & 823 deletions
This file was deleted.

.yarn/releases/yarn-3.7.0.cjs

Lines changed: 875 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ plugins:
1010
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
1111
spec: "@yarnpkg/plugin-workspace-tools"
1212

13-
yarnPath: .yarn/releases/yarn-3.3.1.cjs
13+
yarnPath: .yarn/releases/yarn-3.7.0.cjs

bot-pinner/docker-compose-dappnode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
volumes:
1010
- "data:/var/lib/data/"
1111
environment:
12-
RPC: "https://rinkeby.arbitrum.io/rpc"
12+
RPC: "https://sepolia-rollup.arbitrum.io/rpc"
1313
IPFS: "http://ipfs-cluster.dappnode:9094"
1414
INTERVAL: 60
1515
RETRY: 2

bot-pinner/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
"description": "Pinning of the court data to decentralized storage.",
55
"author": "Kleros",
66
"license": "MIT",
7-
"packageManager": "yarn@3.3.1",
7+
"packageManager": "yarn@3.7.0",
88
"volta": {
9-
"node": "16.20.1"
9+
"node": "16.20.2",
10+
"yarn": "3.7.0"
1011
},
1112
"scripts": {
1213
"build:local": "docker compose build",

contracts/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,8 @@ tags
179179
# .pnp.*
180180

181181
# End of https://www.toptal.com/developers/gitignore/api/vim,node,visualstudiocode,yarn
182+
183+
.env*
184+
.flaskenv*
185+
!.env.project
186+
!.env.vault

contracts/.mocharc.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)