File tree Expand file tree Collapse file tree 3 files changed +40
-3
lines changed
Expand file tree Collapse file tree 3 files changed +40
-3
lines changed Original file line number Diff line number Diff line change 218218 ],
219219 "type" : " object"
220220 },
221+ "sealEngine" : {
222+ "$ref" : " #/definitions/SealEngineType"
223+ },
221224 "Transaction" : {
222225 "additionalProperties" : true ,
223226 "not" : {
227230 },
228231 "properties" : {
229232 "data" : {
230- "$ref" : " #/definitions/HexDataOrEmpty "
233+ "$ref" : " #/definitions/TxData "
231234 },
232235 "gasLimit" : {
233236 "$ref" : " #/definitions/IntegerOrEmptyOrConfusedHex"
258261 ],
259262 "type" : " object"
260263 },
264+ "TxData" : {
265+ "anyOf" : [
266+ {
267+ "$ref" : " #/definitions/HexData"
268+ },
269+ {
270+ "$ref" : " #/definitions/EmptyString"
271+ },
272+ {
273+ "$ref" : " #/definitions/LLLCode"
274+ }
275+ ]
276+ },
261277 "TxSigR" : {
262278 "oneOf" : [
263279 {
318334 "description" : " prestate account address with 0x prefix"
319335 }
320336 }
321- }
337+ },
338+ "sealEngine" : {
339+ "$ref" : " #/definitions/SealEngineType"
340+ }
322341 },
323342 "required" : [
324343 " pre" ,
Original file line number Diff line number Diff line change 198198 ],
199199 "type" : " object"
200200 },
201+ "sealEngine" : {
202+ "$ref" : " #/definitions/SealEngineType"
203+ },
201204 "Transaction" : {
202205 "additionalProperties" : true ,
203206 "not" : {
301304 "description" : " prestate account address with 0x prefix"
302305 }
303306 }
304- }
307+ },
308+ "sealEngine" : {
309+ "$ref" : " #/definitions/SealEngineType"
310+ }
305311 },
306312 "required" : [
307313 " postState" ,
Original file line number Diff line number Diff line change 279279 }
280280 ]
281281 },
282+ "SealEngineType" : {
283+ "anyOf" : [
284+ {
285+ "pattern" : " NoProof" ,
286+ "type" : " string"
287+ },
288+ {
289+ "pattern" : " Ethash" ,
290+ "type" : " string"
291+ }
292+ ]
293+ },
282294 "TransactionResults" : {
283295 "items" : {
284296 "additionalProperties" : false ,
You can’t perform that action at this time.
0 commit comments