File tree 3 files changed +40
-3
lines changed
3 files changed +40
-3
lines changed Original file line number Diff line number Diff line change 218
218
],
219
219
"type" : " object"
220
220
},
221
+ "sealEngine" : {
222
+ "$ref" : " #/definitions/SealEngineType"
223
+ },
221
224
"Transaction" : {
222
225
"additionalProperties" : true ,
223
226
"not" : {
227
230
},
228
231
"properties" : {
229
232
"data" : {
230
- "$ref" : " #/definitions/HexDataOrEmpty "
233
+ "$ref" : " #/definitions/TxData "
231
234
},
232
235
"gasLimit" : {
233
236
"$ref" : " #/definitions/IntegerOrEmptyOrConfusedHex"
258
261
],
259
262
"type" : " object"
260
263
},
264
+ "TxData" : {
265
+ "anyOf" : [
266
+ {
267
+ "$ref" : " #/definitions/HexData"
268
+ },
269
+ {
270
+ "$ref" : " #/definitions/EmptyString"
271
+ },
272
+ {
273
+ "$ref" : " #/definitions/LLLCode"
274
+ }
275
+ ]
276
+ },
261
277
"TxSigR" : {
262
278
"oneOf" : [
263
279
{
318
334
"description" : " prestate account address with 0x prefix"
319
335
}
320
336
}
321
- }
337
+ },
338
+ "sealEngine" : {
339
+ "$ref" : " #/definitions/SealEngineType"
340
+ }
322
341
},
323
342
"required" : [
324
343
" pre" ,
Original file line number Diff line number Diff line change 198
198
],
199
199
"type" : " object"
200
200
},
201
+ "sealEngine" : {
202
+ "$ref" : " #/definitions/SealEngineType"
203
+ },
201
204
"Transaction" : {
202
205
"additionalProperties" : true ,
203
206
"not" : {
301
304
"description" : " prestate account address with 0x prefix"
302
305
}
303
306
}
304
- }
307
+ },
308
+ "sealEngine" : {
309
+ "$ref" : " #/definitions/SealEngineType"
310
+ }
305
311
},
306
312
"required" : [
307
313
" postState" ,
Original file line number Diff line number Diff line change 279
279
}
280
280
]
281
281
},
282
+ "SealEngineType" : {
283
+ "anyOf" : [
284
+ {
285
+ "pattern" : " NoProof" ,
286
+ "type" : " string"
287
+ },
288
+ {
289
+ "pattern" : " Ethash" ,
290
+ "type" : " string"
291
+ }
292
+ ]
293
+ },
282
294
"TransactionResults" : {
283
295
"items" : {
284
296
"additionalProperties" : false ,
You can’t perform that action at this time.
0 commit comments