Skip to content

Commit b1f62dc

Browse files
authored
Merge branch 'dev' into feat(web)/Extra-path-to-the-open-Notifications-and-Onboarding-miniguide
2 parents 39a5466 + 6e3a6a3 commit b1f62dc

File tree

106 files changed

+2839
-2363
lines changed

Some content is hidden

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

106 files changed

+2839
-2363
lines changed

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ web_modules/
8383
.env.test
8484
.env.production
8585

86-
# parcel-bundler cache (https://parceljs.org/)
87-
.cache
88-
.parcel-cache
89-
9086
# Next.js build output
9187
.next
9288
out

contracts/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ typings/
9696
.env
9797
.env.test
9898

99-
# parcel-bundler cache (https://parceljs.org/)
100-
.cache
101-
10299
# Next.js build output
103100
.next
104101

contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"@types/chai": "^4.3.11",
7171
"@types/mocha": "^10.0.6",
7272
"@types/node": "^20.11.3",
73-
"@wagmi/cli": "^1.5.2",
73+
"@wagmi/cli": "^2.0.3",
7474
"abitype": "^0.10.3",
7575
"chai": "^4.4.1",
7676
"dotenv": "^16.3.1",

kleros-sdk/src/dataMappings/actions/fetchIpfsJsonAction.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import fetch from "node-fetch";
21
import { FetchIpfsJsonMapping } from "src/dataMappings/utils/actionTypes";
32
import { createResultObject } from "src/dataMappings/utils/createResultObject";
43
import { MAX_BYTE_SIZE } from "src/consts";

kleros-sdk/src/dataMappings/actions/subgraphAction.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import fetch from "node-fetch";
21
import { SubgraphMapping } from "../utils/actionTypes";
32
import { createResultObject } from "src/dataMappings/utils/createResultObject";
43

kleros-sdk/src/sdk.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
import { createPublicClient, webSocket } from "viem";
22
import { arbitrumSepolia } from "viem/chains";
3-
import dotenv from "dotenv";
43

5-
dotenv.config();
6-
let ALCHEMY_API_KEY: string | undefined = process.env.ALCHEMY_API_KEY;
7-
let transport;
84
let publicClient;
95

106
export const configureSDK = (config: { apiKey?: string }) => {
117
if (config.apiKey) {
12-
ALCHEMY_API_KEY = config.apiKey;
13-
transport = webSocket(`wss://arb-sepolia.g.alchemy.com/v2/${ALCHEMY_API_KEY}`);
8+
const ALCHEMY_API_KEY = config.apiKey;
9+
const transport = webSocket(`wss://arb-sepolia.g.alchemy.com/v2/${ALCHEMY_API_KEY}`);
1410
publicClient = createPublicClient({
1511
chain: arbitrumSepolia,
1612
transport,

web/.env.devnet-neo.public

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ export REACT_APP_CORE_SUBGRAPH=https://api.studio.thegraph.com/query/61738/klero
44
export REACT_APP_DRT_ARBSEPOLIA_SUBGRAPH=https://api.studio.thegraph.com/query/61738/kleros-v2-drt-arbisep-devnet/version/latest
55
export REACT_APP_STATUS_URL=https://kleros-v2-devnet.betteruptime.com/badge
66
export REACT_APP_GENESIS_BLOCK_ARBSEPOLIA=3084598
7-
export REACT_APP_ARBITRATOR_TYPE=neo
7+
export REACT_APP_ARBITRATOR_TYPE=neo
8+
export WALLETCONNECT_PROJECT_ID=
9+
export ALCHEMY_API_KEY=
10+
export NODE_OPTIONS='--max-old-space-size=7680'

web/.env.devnet-university.public

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ export REACT_APP_DRT_ARBSEPOLIA_SUBGRAPH=https://api.studio.thegraph.com/query/6
55
export REACT_APP_STATUS_URL=https://kleros-v2-devnet.betteruptime.com/badge
66
export REACT_APP_GENESIS_BLOCK_ARBSEPOLIA=3084598
77
export REACT_APP_ARBITRATOR_TYPE=university
8+
export WALLETCONNECT_PROJECT_ID=
9+
export ALCHEMY_API_KEY=
10+
export NODE_OPTIONS='--max-old-space-size=7680'

web/.env.devnet.public

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ export REACT_APP_CORE_SUBGRAPH=https://api.studio.thegraph.com/query/61738/klero
44
export REACT_APP_DRT_ARBSEPOLIA_SUBGRAPH=https://api.studio.thegraph.com/query/61738/kleros-v2-drt-arbisep-devnet/version/latest
55
export REACT_APP_STATUS_URL=https://kleros-v2-devnet.betteruptime.com/badge
66
export REACT_APP_GENESIS_BLOCK_ARBSEPOLIA=3084598
7+
export WALLETCONNECT_PROJECT_ID=
8+
export ALCHEMY_API_KEY=
9+
export NODE_OPTIONS='--max-old-space-size=7680'

web/.env.local.public

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
export REACT_APP_DEPLOYMENT=devnet
33
export REACT_APP_CORE_SUBGRAPH=http://localhost:8000/subgraphs/name/kleros/kleros-v2-core-local
44
export REACT_APP_DRT_ARBSEPOLIA_SUBGRAPH=https://api.thegraph.com/subgraphs/name/alcercu/templateregistrydevnet
5+
export WALLETCONNECT_PROJECT_ID=
6+
export ALCHEMY_API_KEY=
7+
export NODE_OPTIONS='--max-old-space-size=7680'

0 commit comments

Comments
 (0)