Skip to content

Commit b2a2d6b

Browse files
Merge pull request #417 from paritytech/chore/refresh-cdm-registry-v17
chore(cdm): refresh @w3s/playground-registry snapshot to v17
2 parents 5c1c37c + 6ae57ab commit b2a2d6b

2 files changed

Lines changed: 8 additions & 58 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"playground-cli": patch
3+
---
4+
5+
Refresh the `@w3s/playground-registry` snapshot in `cdm.json` to v17. The registry contract was redeployed at a new address (`0x4a32e0FB190112F169308Ebc8aC5A4e624263035`), so contract deploys and playground publishes now target the current contract. The v17 ABI drops the unused `rateApp`, `removeRating`, `getContextId`, and `refreshReputationReference` functions.

cdm.json

Lines changed: 3 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
},
66
"contracts": {
77
"@w3s/playground-registry": {
8-
"version": 15,
9-
"address": "0xd9894fA7A2D234A9ebF0AbD08b53360e620AEf62",
8+
"version": 17,
9+
"address": "0x4a32e0FB190112F169308Ebc8aC5A4e624263035",
1010
"abi": [
1111
{
1212
"type": "constructor",
@@ -138,42 +138,6 @@
138138
"outputs": [],
139139
"stateMutability": "nonpayable"
140140
},
141-
{
142-
"type": "function",
143-
"name": "rateApp",
144-
"inputs": [
145-
{
146-
"name": "domain",
147-
"type": "string"
148-
},
149-
{
150-
"name": "rating",
151-
"type": "uint8"
152-
},
153-
{
154-
"name": "comment_uri",
155-
"type": "string"
156-
}
157-
],
158-
"outputs": [],
159-
"stateMutability": "nonpayable"
160-
},
161-
{
162-
"type": "function",
163-
"name": "removeRating",
164-
"inputs": [
165-
{
166-
"name": "domain",
167-
"type": "string"
168-
},
169-
{
170-
"name": "reviewer",
171-
"type": "address"
172-
}
173-
],
174-
"outputs": [],
175-
"stateMutability": "nonpayable"
176-
},
177141
{
178142
"type": "function",
179143
"name": "star",
@@ -186,18 +150,6 @@
186150
"outputs": [],
187151
"stateMutability": "nonpayable"
188152
},
189-
{
190-
"type": "function",
191-
"name": "getContextId",
192-
"inputs": [],
193-
"outputs": [
194-
{
195-
"name": "",
196-
"type": "bytes32"
197-
}
198-
],
199-
"stateMutability": "view"
200-
},
201153
{
202154
"type": "function",
203155
"name": "getAppCount",
@@ -1016,13 +968,6 @@
1016968
],
1017969
"stateMutability": "view"
1018970
},
1019-
{
1020-
"type": "function",
1021-
"name": "refreshReputationReference",
1022-
"inputs": [],
1023-
"outputs": [],
1024-
"stateMutability": "nonpayable"
1025-
},
1026971
{
1027972
"type": "function",
1028973
"name": "importApp",
@@ -1297,7 +1242,7 @@
12971242
"stateMutability": "nonpayable"
12981243
}
12991244
],
1300-
"metadataCid": "bafk2bzacecmce7tevya3yoh4m2sefbbn4xmqtj4tnttiw7jg5oxrz6dptyoca"
1245+
"metadataCid": "bafk2bzaceajvnka7nooku6vuuwwizjttilvh7ygsa6knpi5yns52bz7fyjfkg"
13011246
}
13021247
}
13031248
}

0 commit comments

Comments
 (0)