Skip to content

Commit 8a25e10

Browse files
authored
Merge pull request #20 from kleros/chore/sepolia-support
chore(testnet): sepolia support
2 parents 97b0966 + 833bc5f commit 8a25e10

File tree

3 files changed

+16
-35
lines changed

3 files changed

+16
-35
lines changed

networks.json

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
{
22
"LightGTCRFactory": {
3-
"42": {
4-
"address": "0x74A69142027357B605302925D7f5c01362627566",
5-
"transactionHash": "0x258e9a5a3e435dfca887a9f885e81430717822c43df5391ac1c5e3f6ddac9f00",
6-
"startBlock": 28781082
7-
},
8-
"4": {
9-
"address": "0xcd104ac86cebe541eb8285610002a4e28fe58735",
10-
"transactionHash": "0x7d3483f932e033edcaa64080d34b511565128754d3f30bfd8818d738ca94d831",
11-
"startBlock": 9819372
12-
},
133
"100": {
144
"address": "0x08e58Bc26CFB0d346bABD253A1799866F269805a",
155
"transactionHash": "0xbf70441b0ceaa8830a9633fa72fc3c9405290ce3d1f6784827584de1f895fbe3",
166
"startBlock": 19592773
177
},
8+
"11155111": {
9+
"address": "0x3FB8314C628E9afE7677946D3E23443Ce748Ac17",
10+
"transactionHash": "0xaa9df8a9f63b53e3b707960984fbfbdd17919f471eacf8aa3a866ee02e66acf1",
11+
"startBlock": 4048287
12+
},
1813
"1": {
1914
"address": "0xb9dDC813AcAF3fD7aBC4C16735A09Bc1C0EE0054",
2015
"transactionHash": "0xfdb1fbfbc004f077fd070b180f3841e83281151d4f9b74530c7a62c03e9ede50",
@@ -23,12 +18,7 @@
2318
"5": {
2419
"address": "0x55a3d9bd99f286f1817cafaab124ddddfcb0f314",
2520
"transactionHash": "0xeff31e50d75e078ab2e9d5f7de8130c2f1f5799f8ff0c9a6cf6c26c696e7f95e",
26-
"startBlock": 7487304
27-
},
28-
"421611": {
29-
"address": "0xBf429eA497b295Ecb26c5dbfF396C90df82F4b44",
30-
"transactionHash": "0x47fea9e4b104052732a577acd727343b0bcc6314f66a92f4b0ebbe973a40388c",
31-
"startBlock": 15701950
21+
"startBlock": 7487305
3222
}
3323
},
3424
"GTCRFactory": {
@@ -37,15 +27,10 @@
3727
"transactionHash": "0xe31665d2ecefec363cc6ee16353ac1ddaa36fe1561c04fe535c6afd8cad088c2",
3828
"startBlock": 10247117
3929
},
40-
"42": {
41-
"address": "0x4296b39059b8591d4f22a0fc4ee49508279b8fc6",
42-
"transactionHash": "0x3a16b4df1e10db8a962d0a74ec4acdfe4bbf38f620f4cc25b51d588dcc6e6446",
43-
"startBlock": 18495616
44-
},
45-
"4": {
46-
"address": "0x6cc238531c535e91f0621a172c3a07da93b299b3",
47-
"transactionHash": "0xf6160e8033c9c0b8845898f120b7a3a89905402f00ed1cf1741b927db99e3646",
48-
"startBlock": 9291862
30+
"11155111": {
31+
"address": "0xcB4B48d2A7a44247A00048963F169d2b4Ab045a6",
32+
"transactionHash": "0x7af3cb0a0e25caabd63ec9b2857205c9a9ee804231087dc679eb49bca4218cc0",
33+
"startBlock": 4048282
4934
},
5035
"100": {
5136
"address": "0x794Cee5a6e1501b633eC13b8c1e327d9860FE039",
@@ -55,12 +40,7 @@
5540
"5": {
5641
"address": "0x9aad77bab5f18165f9ca81da9c3d392d9e382c23",
5742
"transactionHash": "0xffda41f565723cc75aa957019640779aa3c641c335398fc23c1445f67dab9ca4",
58-
"startBlock": 7486798
59-
},
60-
"421611": {
61-
"address": "0x65b966068F7cce87526C15D143daDf79476BD0A9",
62-
"transactionHash": "0x027601028468d76caaab3574116e815e135622219b913bec753cb92bfbe1b6ac",
63-
"startBlock": 15701911
43+
"startBlock": 7486799
6444
}
6545
}
6646
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"codegen:goerli": "node render-templates.js goerli && graph codegen && yarn fix-schema.ts",
1414
"build:goerli": "yarn codegen:goerli && graph build",
1515
"publish:goerli": "yarn build:goerli && graph deploy --product hosted-service kleros/curate",
16+
"codegen:sepolia": "node render-templates.js sepolia && graph codegen && yarn fix-schema.ts",
17+
"build:sepolia": "yarn codegen:sepolia && graph build",
18+
"publish:sepolia": "yarn build:goerli && graph deploy --studio kleros/curate",
1619
"lint:eslint": "eslint . --ext .ts,.tsx",
1720
"lint:prettier": "prettier --config .prettierrc 'src/**/*.ts' --check",
1821
"lint": "yarn lint:eslint && yarn lint:prettier && yarn lint:secrets",
@@ -33,7 +36,7 @@
3336
"@assemblyscript/loader": "^0.14.11",
3437
"@assemblyscript/node": "github:AssemblyScript/node",
3538
"@gnosis.pm/truffle-nice-tools": "^1.3.1",
36-
"@graphprotocol/graph-cli": "^0.51.0",
39+
"@graphprotocol/graph-cli": "^0.54.0",
3740
"@graphprotocol/graph-ts": "^0.31.0",
3841
"@kleros/erc-792": "3.0.0",
3942
"@kleros/gtcr-encoder": "^1.1.3",

render-templates.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ const mustache = require('mustache');
44
const chainNameToChainId = {
55
xdai: 100,
66
mainnet: 1,
7-
kovan: 42,
8-
rinkeby: 4,
97
goerli: 5,
10-
"arbitrum-rinkeby": 421611
8+
sepolia: 11155111,
119
};
1210

1311
async function main() {

0 commit comments

Comments
 (0)