Skip to content

Commit bf97f6f

Browse files
committed
Use gas alias consistently
1 parent 40589ba commit bf97f6f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jam-types-asn/jam-types.asn

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ WorkExecResult ::= CHOICE {
181181
}
182182

183183
RefineLoad ::= SEQUENCE {
184-
gas-used U64,
184+
gas-used Gas,
185185
imports U16,
186186
extrinsic-count U16,
187187
extrinsic-size U32,
@@ -220,7 +220,7 @@ WorkReport ::= SEQUENCE {
220220
auth-output ByteSequence,
221221
segment-root-lookup SegmentRootLookup,
222222
results SEQUENCE (SIZE(1..16)) OF WorkResult,
223-
auth-gas-used U64
223+
auth-gas-used Gas
224224
}
225225

226226
--------------------------------------------
@@ -267,7 +267,7 @@ ActivityRecords ::= SEQUENCE (SIZE(validators-count)) OF ActivityRecord
267267

268268
CoreActivityRecord ::= SEQUENCE {
269269
-- Total gas consumed by core for reported work. Includes all refinement and authorizations.
270-
gas-used U64,
270+
gas-used Gas,
271271
-- Number of segments imported from DA made by core for reported work.
272272
imports U16,
273273
-- Total number of extrinsics used by core for reported work.
@@ -296,7 +296,7 @@ ServiceActivityRecord ::= SEQUENCE {
296296
-- Number of work-items refined by service for reported work.
297297
refinement-count U32,
298298
-- Amount of gas used for refinement by service for reported work.
299-
refinement-gas-used U64,
299+
refinement-gas-used Gas,
300300
-- Number of segments imported from the DL by service for reported work.
301301
imports U32,
302302
-- Total number of extrinsics used by service for reported work.
@@ -308,11 +308,11 @@ ServiceActivityRecord ::= SEQUENCE {
308308
-- Number of work-items accumulated by service.
309309
accumulate-count U32,
310310
-- Amount of gas used for accumulation by service.
311-
accumulate-gas-used U64,
311+
accumulate-gas-used Gas,
312312
-- Number of transfers processed by service.
313313
on-transfers-count U32,
314314
-- Amount of gas used for processing transfers by service.
315-
on-transfers-gas-used U64
315+
on-transfers-gas-used Gas
316316
}
317317

318318
ServicesStatisticsMapEntry ::= SEQUENCE {

0 commit comments

Comments
 (0)