@@ -4,7 +4,7 @@ AccumulateModule DEFINITIONS ::= BEGIN
44
55IMPORTS
66 TimeSlot, ServiceId, ServiceInfo, WorkReport, OpaqueHash, ByteSequence,
7- Entropy, ReadyQueue, AccumulatedQueue, Privileges, ServicesStatistics
7+ Entropy, ReadyQueue, AccumulatedQueue, Privileges, ServicesStatistics, U32
88 FROM JamTypes;
99
1010StorageMapEntry ::= SEQUENCE {
@@ -14,35 +14,42 @@ StorageMapEntry ::= SEQUENCE {
1414 value ByteSequence
1515}
1616
17- PreimagesMapEntry ::= SEQUENCE {
17+ PreimagesBlobMapEntry ::= SEQUENCE {
1818 -- Preimage blob full hash
1919 hash OpaqueHash,
2020 -- Preimage blob
2121 blob ByteSequence
2222}
2323
24- PreimagesStatusMapEntry ::= SEQUENCE {
25- -- Preimage blob full hash
24+ PreimagesRequestsMapKey ::= SEQUENCE {
25+ -- Preimage blob hash
2626 hash OpaqueHash,
27+ -- Preimage blob length
28+ length U32
29+ }
30+
31+ PreimagesRequestsMapEntry ::= SEQUENCE {
32+ -- Preimage request key
33+ key PreimagesRequestsMapKey,
2734 -- Preimage request status
28- status SEQUENCE (SIZE (0 .. 3 )) OF TimeSlot
35+ value SEQUENCE (SIZE (0 .. 3 )) OF TimeSlot
2936}
3037
3138-- Service account information relevant for this STF.
32- Account ::= SEQUENCE {
39+ ServiceAccount ::= SEQUENCE {
3340 -- [a_c, a_b, a_g, a_m, a_o, a_i] Service metadata.
3441 service ServiceInfo,
3542 -- [a_s] Service storage.
3643 storage SEQUENCE OF StorageMapEntry,
3744 -- [a_p] Preimages blobs.
38- preimages-blob SEQUENCE OF PreimagesMapEntry ,
39- -- [a_l] Preimages status .
40- preimages-status SEQUENCE OF PreimagesStatusMapEntry
45+ preimage-blobs SEQUENCE OF PreimagesBlobMapEntry ,
46+ -- [a_l] Preimages requests .
47+ preimage-requests SEQUENCE OF PreimagesRequestsMapEntry
4148}
4249
4350AccountsMapEntry ::= SEQUENCE {
4451 id ServiceId,
45- data Account
52+ data ServiceAccount
4653}
4754
4855State ::= SEQUENCE {
0 commit comments