@@ -180,7 +180,7 @@ export const schemas = new Map<SchemaName, Deploy>([
180
180
model : publicKey ,
181
181
modelType : "AvroBinary" ,
182
182
payloadLocation : "Itemized" ,
183
- settings : [ "AppendOnly" , " SignatureRequired"] ,
183
+ settings : [ "SignatureRequired" ] ,
184
184
dsnpVersion : "1.3" ,
185
185
} ,
186
186
] ,
@@ -212,20 +212,19 @@ chainMapping[GENESIS_HASH_TESTNET_PASEO] = {
212
212
broadcast : { "1.2" : 2 } ,
213
213
reply : { "1.2" : 3 } ,
214
214
reaction : { "1.1" : 4 } ,
215
- update : { "1.2" : 5 } ,
215
+ update : { "1.2" : 6 } ,
216
216
"public-key-key-agreement" : { "1.2" : 7 } ,
217
217
"public-follows" : { "1.2" : 8 } ,
218
218
"private-follows" : { "1.2" : 9 } ,
219
219
"private-connections" : { "1.2" : 10 } ,
220
220
"public-key-assertion-method" : { "1.3" : 11 } ,
221
- // "profile-resources": { "1.3": TBD },
221
+ "profile-resources" : { "1.3" : 570 } ,
222
222
} ;
223
223
chainMapping [ GENESIS_HASH_MAINNET ] = {
224
224
tombstone : { "1.2" : 1 } ,
225
225
broadcast : { "1.2" : 2 } ,
226
226
reply : { "1.2" : 3 } ,
227
227
reaction : { "1.1" : 4 } ,
228
- profile : { "1.2" : 6 } ,
229
228
update : { "1.2" : 5 } ,
230
229
"public-key-key-agreement" : { "1.2" : 7 } ,
231
230
"public-follows" : { "1.2" : 8 } ,
@@ -235,25 +234,12 @@ chainMapping[GENESIS_HASH_MAINNET] = {
235
234
// "profile-resources": { "1.3": TBD },
236
235
} ;
237
236
/*
238
- * Schema in "default" deployments (e.g. to a clean local chain ) are
239
- * numbered according to the `schemas` array (beginning with 1). If
240
- * you have a non-standard deployment, call `setSchemaMapping()`
241
- * manually .
237
+ * Schemas in "default" deployments (e.g. to a clean local node ) are
238
+ * generally the same as mainnet. As schemas are approved on mainnet
239
+ * they will be added to the Frequency source code in
240
+ * https://github.com/frequency-chain/frequency/blob/main/resources/genesis-schemas.json .
242
241
*/
243
- chainMapping [ "default" ] = {
244
- tombstone : { "1.2" : 1 } ,
245
- broadcast : { "1.2" : 2 } ,
246
- reply : { "1.2" : 3 } ,
247
- reaction : { "1.1" : 4 } ,
248
- profile : { "1.2" : 5 } ,
249
- update : { "1.2" : 6 } ,
250
- "public-key-key-agreement" : { "1.2" : 7 } ,
251
- "public-follows" : { "1.2" : 8 } ,
252
- "private-follows" : { "1.2" : 9 } ,
253
- "private-connections" : { "1.2" : 10 } ,
254
- "public-key-assertion-method" : { "1.3" : 11 } ,
255
- "profile-resources" : { "1.3" : 12 } ,
256
- } ;
242
+ chainMapping [ "default" ] = JSON . parse ( JSON . stringify ( chainMapping [ GENESIS_HASH_MAINNET ] ) ) ;
257
243
258
244
/**
259
245
* Gets the schemaId from the Frequency instance configured for
0 commit comments