Skip to content

Commit 5e84267

Browse files
committed
ASN1 update
1 parent 5b8bd3b commit 5e84267

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

accumulate/accumulate.asn

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,29 @@ IMPORTS
77
Entropy, ReadyQueue, AccumulatedQueue, Privileges, AccumulateRoot, ServicesStatistics
88
FROM JamTypes;
99

10+
StorageMapEntry ::= SEQUENCE {
11+
-- Storage key (unhashed, as managed by the service code)
12+
key ByteSequence,
13+
-- Storage value
14+
value ByteSequence
15+
}
1016

1117
PreimagesMapEntry ::= SEQUENCE {
18+
-- Preimage blob full hash
1219
hash OpaqueHash,
20+
-- Preimage blob
1321
blob ByteSequence
1422
}
1523

1624
-- Service account information relevant for this STF.
1725
Account ::= SEQUENCE {
1826
-- [a_c, a_b, a_g, a_m, a_o, a_i] Service metadata.
1927
service ServiceInfo,
20-
--[a_p] Preimages blobs.
28+
-- [a_s] Service storage.
29+
storage SEQUENCE OF StorageMapEntry,
30+
-- [a_p] Preimages blobs.
31+
-- This is mostly provided to lookup code blob for accumulate procedure execution.
32+
-- It is not supposed to be altered by this STF (i.e. posterior matches prior).
2133
preimages SEQUENCE OF PreimagesMapEntry
2234
}
2335

0 commit comments

Comments
 (0)