Skip to content

Commit c19e139

Browse files
authored
Merge pull request w3f#35 from davxy/fix-stats-order
Fix stats intems order according to GP 0.6.4
2 parents 6db01a5 + a8696a8 commit c19e139

File tree

108 files changed

+141070
-141070
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+141070
-141070
lines changed

jam-types-asn/jam-types.asn

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -266,24 +266,24 @@ ActivityRecord ::= SEQUENCE {
266266
ActivityRecords ::= SEQUENCE (SIZE(validators-count)) OF ActivityRecord
267267

268268
CoreActivityRecord ::= SEQUENCE {
269-
-- Total gas consumed by core for reported work. Includes all refinement and authorizations.
270-
gas-used Gas,
269+
-- Amount of bytes which are placed into either Audits or Segments DA.
270+
-- This includes the work-bundle (including all extrinsics and imports) as well as all
271+
-- (exported) segments.
272+
da-load U32,
273+
-- Number of validators which formed super-majority for assurance.
274+
popularity U16,
271275
-- Number of segments imported from DA made by core for reported work.
272276
imports U16,
273-
-- Total number of extrinsics used by core for reported work.
274-
extrinsic-count U16,
275-
-- Total size of extrinsics used by core for reported work.
276-
extrinsic-size U32,
277277
-- Number of segments exported into DA made by core for reported work.
278278
exports U16,
279+
-- Total size of extrinsics used by core for reported work.
280+
extrinsic-size U32,
281+
-- Total number of extrinsics used by core for reported work.
282+
extrinsic-count U16,
279283
-- The work-bundle size. This is the size of data being placed into Audits DA by the core.
280284
bundle-size U32,
281-
-- Amount of bytes which are placed into either Audits or Segments DA.
282-
-- This includes the work-bundle (including all extrinsics and imports) as well as all
283-
-- (exported) segments.
284-
da-load U32,
285-
-- Number of validators which formed super-majority for assurance.
286-
popularity U16
285+
-- Total gas consumed by core for reported work. Includes all refinement and authorizations.
286+
gas-used Gas
287287
}
288288

289289
CoresStatistics ::= SEQUENCE (SIZE(cores-count)) OF CoreActivityRecord
@@ -299,12 +299,12 @@ ServiceActivityRecord ::= SEQUENCE {
299299
refinement-gas-used Gas,
300300
-- Number of segments imported from the DL by service for reported work.
301301
imports U32,
302-
-- Total number of extrinsics used by service for reported work.
303-
extrinsic-count U32,
304-
-- Total size of extrinsics used by service for reported work.
305-
extrinsic-size U32,
306302
-- Number of segments exported into the DL by service for reported work.
307303
exports U32,
304+
-- Total size of extrinsics used by service for reported work.
305+
extrinsic-size U32,
306+
-- Total number of extrinsics used by service for reported work.
307+
extrinsic-count U32,
308308
-- Number of work-items accumulated by service.
309309
accumulate-count U32,
310310
-- Amount of gas used for accumulation by service.

0 commit comments

Comments
 (0)